summaryrefslogtreecommitdiffstats
path: root/usr.bin/login
Commit message (Collapse)AuthorAgeFilesLines
* Mention S/key and the skey /etc files.obrien1998-01-071-3/+18
|
* Fix a fatal typo.joerg1997-10-191-2/+2
| | | | | PR: bin/4801 Submitted by: mishania@demos.su (Mikhail A. Sokolov)
* Changes for KTH KerberosIV.markm1997-09-285-16/+13
| | | | Also quieten -Wall a bit.
* "lmd" -> "-lmd"nate1997-09-051-2/+2
| | | | Submitted by: Vincent Poy <vince@venus.gaianet.net>
* If building elf, don't link in libmd.a just for libskey.so to use. Underpeter1997-09-051-3/+9
| | | | elf, libskey.so will not expose it's implementation on it's caller.
* = -> ==, strcpy -> strncpy from OpenBSD.charnier1997-07-224-28/+41
| | | | | update man page. Add usage(). Obtained from: OpenBSD
* Fix the man page's title (.Dt).max1997-06-021-1/+1
| | | | (It has been ``SKEY.ACCESS''.)
* Restore backwards compatible default behavior for requirehomepst1997-05-231-1/+1
|
* login_getclass() -> login_getpwclass().davidn1997-05-101-2/+2
| | | | auth_rmfiles() was being called in error without LOGIN_CAP_AUTH defined.
* Use isdialuptty() rather than hard-coded heuristic.davidn1997-04-131-1/+1
|
* Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>davidn1997-04-011-2/+1
| | | | Fix incorrect bracket nesting. Closes PR#3144.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Fix for logic in no-password accounts.davidn1997-03-271-1/+1
|
* Don't bypass password prompt for root logins on insecure tty ifdavidn1997-03-251-3/+5
| | | | the root password is empty.
* strdup() value of term to correctly preserve contents.davidn1997-03-241-11/+9
| | | | | Rearrange validation logic so that it works correctly when compiled with kerberos support. Closes PR#3056.
* Submitted by: Paul Traina <root@shockwave.com> (partially)davidn1997-03-181-153/+243
| | | | | | | | | | | | | | | | | | Cleanup of #ifdef's for LOGIN_CAP. Fixed bug in empty shell (closes PR#2550). Refused root logins now displays standard "Login incorrect" and exhibits identical backoff behaviour to a failed login. Cleaned up logging of refused logins. Use #defines for login retries and backoff. Also implemented definable variables if LOGIN_CAP is defined, with "login-retries" and "login-backoff" as capabilities in the default class (closes PR#2805). TERM from previous environment is no longer truncated.
* Include copyright message from <sys/copyright.h>wosch1997-03-011-5/+4
|
* Back out "shell" / pw_shell change, I was confused by the sameache1997-02-271-4/+7
| | | | variable name (with different functionality)
* Fix few bogons with pw_shell / shell variables values mismatchache1997-02-271-7/+4
| | | | introduced by LOGIN_CAP
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Cruft cleanup to eliminate useless warningspst1997-02-021-3/+6
|
* Don't dereference NULL pwd on non-existant username (I wonder how longjkh1997-01-221-1/+2
| | | | THAT has been in here!).
* Fix handling of empty shell field in passwd file (use /bin/sh); problemdavidn1997-01-222-1/+15
| | | | | was caused by introduction of login classes. Closes PR bin/2550. Added references to login.conf to manpage, crossreference to login.conf(5).
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Makes login login_cap-savvy.davidn1997-01-112-155/+371
| | | | | | | | | | Note that LOGIN_CAP_AUTH code (login authentication) is not (yet) enabled and requires /usr/libexec/login_<style> authentication program support to be added at a later date. The Makefile contains a macro LC_AUTH to turn it on and prevent unnecessarily linking against skey/krb libs and the addition of klogin.c module. All other aspects of login_cap support are fully functional.
* comma typoswosch1996-12-231-2/+3
|
* Fix some compilation warnings.pst1996-09-211-5/+7
|
* Document login's use of /etc/login.access.mpp1996-07-031-0/+11
| | | | Submitted by: David E. O'Brien
* Write numerical address instead of hostname for hostnames > UT_HOSTSIZEache1996-06-171-7/+21
| | | | to keep valid information in utmp and lastlog
* #include <kerberosIV/des.h> -> #include <des.h>markm1996-02-111-1/+1
|
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-1/+1
|
* recording cvs-1.6 file deathpeter1995-12-301-105/+0
|
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-3/+2
| | | | which is no longer bogusly installed in /usr/include.
* Remove trailing whitespace.rgrimes1995-05-304-6/+6
|
* Set copyright so we can actually distribute and use it.guido1995-05-191-0/+15
| | | | | | Reviewed by: David Greenman Submitted by: Wietse Venema Obtained from:
* Fix spelling error that keeps this from compiling with KERBEROS & SKEYrgrimes1995-04-161-1/+1
| | | | | | defined. Submitted by: Mark Murray <mark@grondar.za>
* Disallow Kerberos when S/Key is required. Fixes PR #339.wollman1995-04-131-0/+11
| | | | Submitted by: Paul Traina <pst@Shockwave.com>
* Change the library order so libcrypt is the last library in the list.nate1995-03-181-3/+3
| | | | | | libskey contains references to _crypt and can't resolve it unless -lcrypt occurs after it in the link command. This only occurs when linking statically.
* In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.cwollman1995-01-201-0/+1
| | | | doesn't complain.
* Modify klogin to:wollman1995-01-144-4/+29
| | | | | | | | | | 1) Don't spit out an error message if Kerberos is installed but not yet set up. 2) Don't attempt to verify the ticket you got back, as workstations are not intended to have srvtab files of their own. Both behaviors can be re-enabled with KLOGIN_PARANOID.
* Sorry..forgot something for yesterdays login patch..ugen1994-12-011-0/+1
| | | | (Umm..i hope nobody "make world" this time:)
* Patch of password expired bug.ugen1994-11-301-26/+11
| | | | | | Now password changed for right user and no longer possible to skip password change. I hope it will be ok....
* Add distribution=krb for P-HKwollman1994-11-201-1/+2
|
* Include most of the logdaemon v4.4 S/key changespst1994-10-192-9/+14
|
* Undo damage done between revisions 1.6 and 1.7csgr1994-09-301-6/+12
| | | | (Guys, please don't DAMAGE commits that have just gone in.)
* Install support for skey and login.accesspst1994-09-292-21/+65
|
* First level of changes for bringing in eBones (kerberos).csgr1994-09-291-6/+12
| | | | | | | | - Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile, and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions, and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY DEFINE ONE OF THESE. - Make Makefiles kerberos-aware.
* Problem:jkh1994-09-071-1/+27
| | | | | | | | | | | | | | | Accounts that have "pw_change" set, are supposed to change their passwords by the date specified in "pw_change". If they have not changed their passwords by that date, currently they get "LOCKED OUT" of the system. This is not the correct behavior, the user should be prompt (forced?) to change their password at this time. If the behavior of "pw_change" was meant to be a LOCKOUT, then you should use "pw_expire". Solution: Instead of locking out the user, prompt them to change their password. Reviewed by: jkh Submitted by: rls
* Implemnet fbtab ala SunOS (thanks to WZV, see login_fbtab.c)guido1994-08-225-5/+163
| | | | | Reviewed by: Submitted by: guido
* Add skey supprotguido1994-08-216-3/+409
| | | | | Reviewed by: Submitted by: guido
OpenPOWER on IntegriCloud