|
Lines 46-51
Link Here
|
| 46 |
exits non-zero. |
46 |
exits non-zero. |
| 47 |
It is intended as a replacement shell field for accounts that |
47 |
It is intended as a replacement shell field for accounts that |
| 48 |
have been disabled. |
48 |
have been disabled. |
|
|
49 |
.Pp |
| 50 |
.Nm Nologin |
| 51 |
first looks in the user's home directory for |
| 52 |
.Pa ~/.nologin |
| 53 |
and displays its contents before exiting. If that file does |
| 54 |
not exist or is not readable, |
| 55 |
.Nm |
| 56 |
will look in |
| 57 |
.Pa /etc/nologin |
| 58 |
for the message. Finally, if no suitable message is found, the |
| 59 |
text "This account is currently not available." is displayed. |
| 60 |
.Sh FILES |
| 61 |
.Bl -tag -width /etc/nologin -compact |
| 62 |
.It Pa ~/.nologin |
| 63 |
User specific warning message |
| 64 |
.It Pa /etc/nologin |
| 65 |
System wide warning message |
| 49 |
.Sh SEE ALSO |
66 |
.Sh SEE ALSO |
| 50 |
.Xr login 1 , |
67 |
.Xr login 1 , |
| 51 |
.Xr nologin 5 . |
68 |
.Xr nologin 5 . |