login.1 (82956) | login.1 (95124) |
---|---|
1.\" Copyright (c) 1980, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)login.1 8.2 (Berkeley) 5/5/94 | 1.\" Copyright (c) 1980, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)login.1 8.2 (Berkeley) 5/5/94 |
33.\" $FreeBSD: head/usr.bin/login/login.1 82956 2001-09-04 10:24:52Z ru $ | 33.\" $FreeBSD: head/usr.bin/login/login.1 95124 2002-04-20 12:18:28Z charnier $ |
34.\" 35.Dd May 5, 1994 36.Dt LOGIN 1 37.Os 38.Sh NAME 39.Nm login 40.Nd log into the computer 41.Sh SYNOPSIS --- 58 unchanged lines hidden (view full) --- 100.Nm 101displays the system copyright notice, the date and time the user last 102logged in, the message of the day as well as other information. 103If the file 104.Dq Pa .hushlogin 105exists in the user's home directory, all of these messages are suppressed. 106This is to simplify logins for non-human users, such as 107.Xr uucp 1 . | 34.\" 35.Dd May 5, 1994 36.Dt LOGIN 1 37.Os 38.Sh NAME 39.Nm login 40.Nd log into the computer 41.Sh SYNOPSIS --- 58 unchanged lines hidden (view full) --- 100.Nm 101displays the system copyright notice, the date and time the user last 102logged in, the message of the day as well as other information. 103If the file 104.Dq Pa .hushlogin 105exists in the user's home directory, all of these messages are suppressed. 106This is to simplify logins for non-human users, such as 107.Xr uucp 1 . |
108.Nm Login 109then records an entry in the | 108The 109.Nm 110utility then records an entry in the |
110.Xr wtmp 5 111and 112.Xr utmp 5 113files and executes the user's command interpreter. 114.Pp | 111.Xr wtmp 5 112and 113.Xr utmp 5 114files and executes the user's command interpreter. 115.Pp |
115.Nm Login 116enters information into the environment (see | 116The 117.Nm 118utility enters information into the environment (see |
117.Xr environ 7 ) 118specifying the user's home directory (HOME), command interpreter (SHELL), 119search path (PATH), terminal type (TERM) and user name (both LOGNAME and 120USER). 121Other environment variables may be set due to entries in the login 122class capabilities database, for the login class assigned in the 123user's system passwd record. 124The login class also controls the maximum and current process resource --- 56 unchanged lines hidden --- | 119.Xr environ 7 ) 120specifying the user's home directory (HOME), command interpreter (SHELL), 121search path (PATH), terminal type (TERM) and user name (both LOGNAME and 122USER). 123Other environment variables may be set due to entries in the login 124class capabilities database, for the login class assigned in the 125user's system passwd record. 126The login class also controls the maximum and current process resource --- 56 unchanged lines hidden --- |