Commit | Line | Data |
---|---|---|
368cc7a8 DR |
1 | .pa 1 |
2 | .he 'LOGIN (I)'3/15/72'LOGIN (I)' | |
3 | .ti 0 | |
4 | NAME login -- sign onto UNIX | |
5 | .sp | |
6 | .ti 0 | |
7 | SYNOPSIS login\b\b\b\b\b_____ [ username [ password ] ] | |
8 | .sp | |
9 | .ti 0 | |
10 | DESCRIPTION The login\b\b\b\b\b_____ command | |
11 | is used when a user initially | |
12 | signs onto UNIX, or it may be used at any time to change | |
13 | from one user to another. | |
14 | The latter case is the one summarized above and | |
15 | described here. | |
16 | See login\b\b\b\b\b_____ (VII) for how to dial up initially. | |
17 | ||
18 | If login\b\b\b\b\b_____ is invoked without an argument, | |
19 | it will ask for a user name, and, if | |
20 | appropriate, a password. | |
21 | Echoing is turned off (if possible) during the typing of the password, | |
22 | so it will not appear on the written record of the | |
23 | session. | |
24 | .sp | |
25 | After a successful login, | |
26 | accounting files are updated and | |
27 | the user is informed of the | |
28 | existence of mailbox | |
29 | and message-of-the-day files. | |
30 | ||
31 | Login is recognized by the Shell | |
32 | and executed directly (without forking). | |
33 | .sp | |
34 | .ti 0 | |
35 | FILES /tmp/utmp accounting | |
36 | .br | |
37 | /tmp/wtmp accounting | |
38 | .br | |
39 | mailbox mail | |
40 | .br | |
41 | /etc/motd message-of-the-day | |
42 | /etc/passwd password file | |
43 | .sp | |
44 | .ti 0 | |
45 | SEE ALSO login(VII), init(VII), getty(VII), mail(I) | |
46 | .sp | |
47 | .ti 0 | |
48 | DIAGNOSTICS "login incorrect", | |
49 | if the name or the password is bad. | |
50 | "No Shell,", "cannot open password file," "no directory:" | |
51 | consult a UNIX programming councilor. | |
52 | .sp | |
53 | .ti 0 | |
54 | BUGS -- |