deraadt
f5de122969
Add _PATH_AUTHPROGDIR = "/usr/libexec/auth", this path will be used
to unveil. Unfortunately the auth subsystem uses _PATH_AUTHPROG =
"/usr/libexec/auth/login_", which it auth-program is appended to -- a
rather gross idea which now shows lack of wisdom.
6 years ago
tedu
a5c612c089
change prototype for crypt_newhash. the login_cap_t is a holdover from its
pwd_gensalt origins, but a string argument works equally work and is more
friendly to consumers beyond local user accounts.
ok deraadt
10 years ago
tedu
302efc61c4
prototype for crypt_newhash(). adding it here because this is where
login_cap_t lives and i don't want to forward declare it in unistd.h
10 years ago
millert
cab5b7c7b6
LOGIN_SETALL did not include LOGIN_SETENV as it should.
20 years ago
millert
fb70473f0a
Support the "setenv" capability in login.conf ala FreeBSD. Following
FreeBSD's example, a '~' in an environment variable is replaced
with the user's homedir. A '$' is replaced by the user's login
name. Both can be escaped with a backslash to get the literal char.
OK deraadt@
20 years ago
millert
afc874115c
Define BI_FDPASS for the BSD auth fd passing changes.
20 years ago
espie
2ccf9e8a28
Remove unnecessary typedef usage.
u_char -> unsigned char
u_short -> unsigned short
u_long -> unsigned long
u_int -> unsigned int
okay millert@
21 years ago
millert
73f8e3c654
Change value of LOGIN_DEFSTYLE from "krb4-or-pwd" to just "passwd".
If there is no login.conf or it is corrupt we don't want to make
any assumptions about kerberos. By request of deraadt@
22 years ago
deraadt
080024652a
compatiblity -> compatibility
decriptor -> descriptor
authentciated -> authenticated
transmition -> transmission
22 years ago
millert
b68c09e067
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
23 years ago
millert
6abe47407d
Give login_cap_t a struct name so we can use forward declarations.
23 years ago
millert
f73465dedd
Default login style is now krb4-or-pwd, not krb-or-pwd.
23 years ago
millert
41df7a09a4
Guard against multiple inclusion
24 years ago
millert
21581886d8
BSD authentication routines from BSDI. Presently this is not used but
the login_* helper programs and other support will be committed in the
near future.
24 years ago
millert
106e557ee3
Remove prototypes for old BSD auth functions. New ones will live in
bsd_auth.h when BSD authentication is committed.
24 years ago
millert
c24c30dbae
login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.
24 years ago