Commit | Line | Data |
---|---|---|
c1c71274 DR |
1 | .th LOGIN I 3/15/72 |
2 | .sh NAME | |
3 | login \*- sign onto UNIX | |
4 | .sh SYNOPSIS | |
5 | .bd login | |
6 | [ username ] | |
7 | .sh DESCRIPTION | |
8 | The | |
9 | .it login | |
10 | 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 `How to Get Started' for how to dial up initially. | |
17 | .s3 | |
18 | If | |
19 | .it login | |
20 | is invoked without an argument, | |
21 | it will ask for a user name, and, if | |
22 | appropriate, a password. | |
23 | Echoing is turned off (if possible) during the typing of the password, | |
24 | so it will not appear on the written record of the | |
25 | session. | |
26 | .s3 | |
27 | After a successful login, | |
28 | accounting files are updated and | |
29 | the user is informed of the | |
30 | existence of | |
31 | .it mailbox | |
32 | and message-of-the-day files. | |
33 | .s3 | |
34 | Login is recognized by the Shell | |
35 | and executed directly (without forking). | |
36 | .sh FILES | |
37 | /tmp/utmp accounting | |
38 | .br | |
39 | /tmp/wtmp accounting | |
40 | .br | |
41 | mailbox mail | |
42 | .br | |
43 | /etc/motd message-of-the-day | |
44 | .br | |
45 | /etc/passwd password file | |
46 | .sh "SEE ALSO" | |
47 | init(VII), getty(VII), mail(I) | |
48 | .sh DIAGNOSTICS | |
49 | `login incorrect,' | |
50 | if the name or the password is bad. | |
51 | `No Shell,', `cannot open password file,' `no directory': | |
52 | consult a UNIX programming councilor. | |
53 | .sh BUGS | |
54 | If the first login is unsuccessful, | |
55 | it tends to go into a state where it won't accept | |
56 | a correct login. | |
57 | Hit EOT and try again. |