home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man1 / login.1 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.4 KB  |  60 lines

  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 asks 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 .mail
  32. and message-of-the-day files.
  33. .it Login
  34. initializes the user and group IDs and the working directory,
  35. then executes a command interpreter (usually
  36. .it sh
  37. (I)) according to specifications found in a password file.
  38. .s3
  39. Login is recognized by the Shell
  40. and executed directly (without forking).
  41. .sh FILES
  42. /etc/utmp    accounting
  43. .br
  44. /usr/adm/wtmp    accounting
  45. .br
  46. .li
  47. .mail        mail
  48. .br
  49. /etc/motd    message-of-the-day
  50. .br
  51. /etc/passwd    password file
  52. .sh "SEE ALSO"
  53. init (VIII), getty (VIII), mail (I), passwd (I), passwd (V)
  54. .sh DIAGNOSTICS
  55. `login incorrect,'
  56. if the name or the password is bad.
  57. `No Shell,', `cannot open password file,' `no directory':
  58. consult a UNIX programming counselor.
  59. .sh BUGS
  60.