=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/login/login.1,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/login/login.1 1999/04/20 23:05:41 1.8 --- src/usr.bin/login/login.1 1999/06/05 01:21:32 1.9 *************** *** 1,4 **** ! .\" $OpenBSD: login.1,v 1.8 1999/04/20 23:05:41 pjanzen Exp $ .\" $NetBSD: login.1,v 1.7 1995/08/31 22:52:33 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 --- 1,4 ---- ! .\" $OpenBSD: login.1,v 1.9 1999/06/05 01:21:32 aaron Exp $ .\" $NetBSD: login.1,v 1.7 1995/08/31 22:52:33 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 *************** *** 36,42 **** .\" .Dd May 5, 1994 .Dt LOGIN 1 ! .Os BSD 4 .Sh NAME .Nm login .Nd log into the computer --- 36,42 ---- .\" .Dd May 5, 1994 .Dt LOGIN 1 ! .Os .Sh NAME .Nm login .Nd log into the computer *************** *** 47,58 **** .Op Ar user .Sh DESCRIPTION The ! .Nm login utility logs users (and pseudo-users) into the computer system. .Pp If no user is specified, or if a user is specified and authentication of the user fails, ! .Nm login prompts for a user name. Authentication of users is done via passwords. Alternately, the user can enter the password "s/key", in which case --- 47,58 ---- .Op Ar user .Sh DESCRIPTION The ! .Nm utility logs users (and pseudo-users) into the computer system. .Pp If no user is specified, or if a user is specified and authentication of the user fails, ! .Nm prompts for a user name. Authentication of users is done via passwords. Alternately, the user can enter the password "s/key", in which case *************** *** 79,85 **** This option may only be used by the super-user. .It Fl p By default, ! .Nm login discards any previous environment. The .Fl p --- 79,85 ---- This option may only be used by the super-user. .It Fl p By default, ! .Nm discards any previous environment. The .Fl p *************** *** 89,95 **** If the file .Pa /etc/nologin exists, ! .Nm login displays its contents to the user and exits. This is used by .Xr shutdown 8 --- 89,95 ---- If the file .Pa /etc/nologin exists, ! .Nm displays its contents to the user and exits. This is used by .Xr shutdown 8 *************** *** 98,115 **** If the file .Pa /etc/fbtab exists, ! .Nm login changes the protection and ownership of certain devices specified in this file. .Pp If the file .Pa /var/log/failedlogin exists, ! .Nm login will record failed login attempts in this file. .Pp Immediately after logging a user in, ! .Nm login displays the system copyright notice, the date and time the user last logged in, the date and time of the last unsuccessful login (if the file .Pa /var/log/failedlogin --- 98,115 ---- If the file .Pa /etc/fbtab exists, ! .Nm changes the protection and ownership of certain devices specified in this file. .Pp If the file .Pa /var/log/failedlogin exists, ! .Nm will record failed login attempts in this file. .Pp Immediately after logging a user in, ! .Nm displays the system copyright notice, the date and time the user last logged in, the date and time of the last unsuccessful login (if the file .Pa /var/log/failedlogin *************** *** 119,132 **** exists in the user's home directory, all of these messages are suppressed. This is to simplify logins for non-human users, such as .Xr uucp 1 . ! .Nm login then records an entry in the .Xr wtmp 5 and .Xr utmp 5 files and executes the user's command interpreter. .Pp ! .Nm login enters information into the environment (see .Xr environ 7 ) specifying the user's home directory --- 119,132 ---- exists in the user's home directory, all of these messages are suppressed. This is to simplify logins for non-human users, such as .Xr uucp 1 . ! .Nm then records an entry in the .Xr wtmp 5 and .Xr utmp 5 files and executes the user's command interpreter. .Pp ! .Nm enters information into the environment (see .Xr environ 7 ) specifying the user's home directory *************** *** 146,152 **** and .Xr sh 1 , do not fork before executing the ! .Nm login utility. .Sh FILES .Bl -tag -width /var/log/failedlogin -compact --- 146,152 ---- and .Xr sh 1 , do not fork before executing the ! .Nm utility. .Sh FILES .Bl -tag -width /var/log/failedlogin -compact *************** *** 180,185 **** .Xr environ 7 .Sh HISTORY A ! .Nm login utility appeared in .At v6 . --- 180,185 ---- .Xr environ 7 .Sh HISTORY A ! .Nm utility appeared in .At v6 .