Deleted Added
full compact
login.1 (1591) login.1 (2224)
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.

--- 74 unchanged lines hidden (view full) ---

83.Pa /etc/nologin
84exists,
85.Nm login
86dislays its contents to the user and exits.
87This is used by
88.Xr shutdown 8
89to prevent users from logging in when the system is about to go down.
90.Pp
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.

--- 74 unchanged lines hidden (view full) ---

83.Pa /etc/nologin
84exists,
85.Nm login
86dislays its contents to the user and exits.
87This is used by
88.Xr shutdown 8
89to prevent users from logging in when the system is about to go down.
90.Pp
91If the file
92.Pa /etc/fbtab
93exists,
94.Nm login
95changes the protection and ownership of certain devices specified in this
96file.
97.Pp
91Immediately after logging a user in,
92.Nm login
93displays the system copyright notice, the date and time the user last
94logged in, the message of the day as well as other information.
95If the file
96.Dq Pa .hushlogin
97exists in the user's home directory, all of these messages are suppressed.
98This is to simplify logins for non-human users, such as

--- 15 unchanged lines hidden (view full) ---

114.Xr csh 1
115and
116.Xr sh 1 ,
117do not fork before executing the
118.Nm login
119utility.
120.Sh FILES
121.Bl -tag -width /var/mail/userXXX -compact
98Immediately after logging a user in,
99.Nm login
100displays the system copyright notice, the date and time the user last
101logged in, the message of the day as well as other information.
102If the file
103.Dq Pa .hushlogin
104exists in the user's home directory, all of these messages are suppressed.
105This is to simplify logins for non-human users, such as

--- 15 unchanged lines hidden (view full) ---

121.Xr csh 1
122and
123.Xr sh 1 ,
124do not fork before executing the
125.Nm login
126utility.
127.Sh FILES
128.Bl -tag -width /var/mail/userXXX -compact
129.It Pa /etc/fbtab
130changes device protections
122.It Pa /etc/motd
123message-of-the-day
124.It Pa /etc/nologin
125disallows logins
126.It Pa /var/run/utmp
127current logins
128.It Pa /var/log/wtmp
129login account records
130.It Pa /var/mail/user
131system mailboxes
132.It Pa \&.hushlogin
133makes login quieter
134.El
135.Sh SEE ALSO
136.Xr chpass 1 ,
137.Xr passwd 1 ,
138.Xr rlogin 1 ,
139.Xr getpass 3 ,
131.It Pa /etc/motd
132message-of-the-day
133.It Pa /etc/nologin
134disallows logins
135.It Pa /var/run/utmp
136current logins
137.It Pa /var/log/wtmp
138login account records
139.It Pa /var/mail/user
140system mailboxes
141.It Pa \&.hushlogin
142makes login quieter
143.El
144.Sh SEE ALSO
145.Xr chpass 1 ,
146.Xr passwd 1 ,
147.Xr rlogin 1 ,
148.Xr getpass 3 ,
149.Xr fbtab 5 ,
140.Xr utmp 5 ,
150.Xr utmp 5 ,
141.Xr environ 7 ,
151.Xr environ 7
142.Sh HISTORY
143A
144.Nm login
145appeared in
146.At v6 .
152.Sh HISTORY
153A
154.Nm login
155appeared in
156.At v6 .