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