summaryrefslogtreecommitdiff
path: root/usr.bin/login
AgeCommit message (Collapse)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-16man page bits for mail; it was ok millert@Martynas Venckus
2009-09-05- properly free fqdn if it gets reassigned due to multiple -h optionsTobias Stoeckmann
- fixed comment typos with input by and ok millert, otto
2009-08-31also, like ssh, set up MAIL to the location we've just checkedMartynas Venckus
so that ksh could take advantage of it. ok millert@
2009-08-03properly pass SHELL from password file; not a login configurationMartynas Venckus
variable (restores behavior pre-rev. 1.30). ok millert@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-02tweak the -LR options, after similar changes to tcpdrop(8); ok deraadtJason McIntyre
2007-03-26tidy up SYNOPSIS, options description, FILES, and usage();Jason McIntyre
from Igor Sobrado
2005-06-02remove references to telnetd(8);Jason McIntyre
ok deraadt@
2004-08-30For username foo.bar, don't treat "bar" as a kerberos instance,Todd C. Miller
that was a kerb4'ism. OK deraadt@
2004-08-09Mention "setenv" login.conf capability so people can find it.Todd C. Miller
2004-01-23Move a closefrom(2) into the block that execs su(1) where it can do theTodd C. Miller
most good. There is already another closefrom(2) for the normal code path. Also remove a bogus comment. Discussed with deraadt@
2004-01-23Use closefrom(); ok millert teduTheo de Raadt
2003-11-09Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>Otto Moerbeek
2003-08-12Clean up obsolete kerberos 4 stuffHans Insulander
ok millert@
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-03-11files with dead .Xr's;Jason McIntyre
left .Xr, but removed man page number as suggested by mpech@ more help and ok millert@
2002-10-16Remove the setuid bit from /usr/bin/login. If login is run by a userTodd C. Miller
with a non-zero euid, it will now exec "su -L -l". The only things that need to do this are shells with a "login" builtin and the emulation that su(1) now does is good enough for this purpose.
2002-07-02Kill setjmp/longjmp from a signal handler. All we really need isTodd C. Miller
to use sigaction() w/o SA_RESTART to allow ^C to interrupt motd(). deraadt@ OK.
2002-07-02KNF and signal race fixes; millert okTheo de Raadt
2002-05-06Kill/adjust r(login|exec)d? references now that those are no longer inTodd C. Miller
the tree.
2002-03-30 warn -> warnx, because we put the strerror() manually.Vincent Labrecque
ok millert
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-24fix the history refsMichael Shalayeff
2002-01-06Do not allow root to login via an insecure tty even if the auth methodTodd C. Miller
does not use plaintext passwords due to the possibility of connection hijacking. This restores the pre-3.0 behavior and closes PR 2299.
2001-08-20Powered by @mantoya.Mike Pechkin
o) fix bogus .Xr usage; millert@ ok.
2001-08-12Sync usage message to man pageTodd C. Miller
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-06missing prototypes; ok millertPeter Valchev
2001-06-28'/' can also be an instance separator (e.g. kerb5)Todd C. Miller
2001-06-28No longer used now that we do BSD authTodd C. Miller
2001-06-25Add a "login" option to allow differentiation between authenticationTodd C. Miller
that creates a login session vs. a simple identity check. Gets passed as a -v option to the login scripts. To be used by kerberos to know when to create new tickets.
2001-06-25The need to to statically link this on alpha seemed to beArtur Grabowski
some kind of transient problem.
2001-06-24When setting uid, set to 0 if rootlogin flag is set, regardless ofTodd C. Miller
pw_uid. Fixes problem with user.root instances not haveing uid 0 in kerberos.
2001-06-19If we timeout during login and the user tried to login call badlogin()Todd C. Miller
before exit. SUggested by <vii@users.sourceforge.net> Add some new login.conf variables: o login-timeout - login prompt timeout o login-tries - max login tries o login-backoff - number of attempts before backing off (and sleeping)
2001-06-13Link login(1) static for now until a dynamic linking bug is fixed.Todd C. Miller
2001-05-29Don't want -WallTodd C. Miller
2001-05-29BSD auth support. k5login.c and klogin.c are no longer used but willTodd C. Miller
remain for the time being until Kerberos support is up to snuff.
2001-05-25Correct and comment out krb5. This is not working at the moment, but we wantHans Insulander
to use bsd_auth instead.
2000-12-02Check for symlinks before overwriting kerberos ticket files.Hans Insulander
While i'm at it, make sure not to use Kerberos at all if there is no local srvtab. Based on patch from Todd Miller. Reported by <jouko@solutions.fi>.
2000-11-29document -u flag and environment variablesTodd C. Miller
2000-10-14Make empty passwords work again when login is compiled with kerberos support.Miod Vallat
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-09-04Check for account expiration before password expiration;Todd C. Miller
sigh@kuzirabekon.econ.nagasaki-u.ac.jp
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-08-24Last change inadvertantly broke non-kerberos logins. It's not clearTodd C. Miller
that the authok flag is really meaningful but keep it for now.
2000-08-24Fix non-root kerberos logins broken after rev 1.29. That change wasTodd C. Miller
correct but it uncovered a bug that had thusfar stayed hidden due more to serendipity than anything else. Problem found by danh@openbsd.org