summaryrefslogtreecommitdiff
path: root/usr.bin/su
AgeCommit message (Collapse)Author
1997-06-29new location of des.hNiels Provos
1997-06-27fix up KRBTKFILE confusion; dm@ and traister@gate.netTheo de Raadt
1997-06-23long != intTheo de Raadt
1997-06-22%u for uidTheo de Raadt
1997-06-21push KRBTKFILE only if new ticket; dm@openbsd.org and traister@gate.netTheo de Raadt
1997-06-20worry about #ifdef KERBEROSTheo de Raadt
1997-06-20when building new environment, do not destroy KRBTKFILE; traister@gate.netTheo de Raadt
1997-06-20do not conflict with realloc() in setenv(); traister@gate.netTheo de Raadt
1997-04-19Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''Todd C. Miller
Same change doen for SKEY, YP, and KERBEROS5. This allows people to override those setting in /etc/mk.conf.
1997-03-26no libcrypt, fix DPADDTheo de Raadt
1997-02-18Undo last changes; it makes it impossible to suspect su in Kerberos mode,Thorsten Lockert
and also interferes with multiple sessions by removing tickets potentially in use by those other sessions.
1997-02-11Fix for non-kerberos.Todd C. Miller
1997-02-11Handle tickets the same way as login(1) does; remove when session endsThorsten Lockert
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesThorsten Lockert
1996-10-27Don't use "user" arg verbatim from argv, use the sanitized one inTodd C. Miller
struct passwd just to be safe.
1996-10-26Now sets $LOGNAME as per POSIX.Todd C. Miller
1996-10-23skey_authenticate() now fakes up a challenge if user does notTodd C. Miller
have an entry in the keys file. Don't want to give info to information gathering attack.
1996-10-21compileTheo de Raadt
1996-10-21Test first, then commit, eh?Todd C. Miller
1996-10-21save a cycle on strncpy() -- pointed out by TheoTodd C. Miller
1996-10-21sheer raging paranoia -- possible buf olfow. Does not look exploitable.Todd C. Miller
1996-10-16Check ret val of strdup(3) -- may be NULL.Todd C. Miller
1996-10-12su.c: minor cleanup, some from FreeBSDTodd C. Miller
su.1: Examples from FreeBSD + minor nits fixed.
1996-10-12Fix suage string to match man page. NetBSD PR #2837Todd C. Miller
1996-10-08export $TERM only if passed in; joerg@freebsd.orgTheo de Raadt
1996-07-22seteuid for chdirTheo de Raadt
1996-06-26rcsidTheo de Raadt
1996-02-15libcrypt no longer a link dependancy.etheisen
1996-01-07more traditional semantics. if wheel group has no listed users, anyoneTheo de Raadt
can su to root. default wheel group lists "root" as a user, thus defaulting to a secure envirment. from arnej@pvv.unit.no; netbsd pr#1894
1995-12-16Make it possible to build without SKEY supportThorsten Lockert
Add support for building with kerberosIV
1995-10-18initial import of NetBSD treeTheo de Raadt