passwd 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .TH PASSWD 1
  2. .SH NAME
  3. passwd, netkey, iam \- change user password
  4. .SH SYNOPSIS
  5. .B passwd
  6. [
  7. .I username\fR[@\fPdomain\fR]\fP
  8. ]
  9. .PP
  10. .B netkey
  11. .SH DESCRIPTION
  12. .I Passwd
  13. changes the invoker's Plan 9 password and/or APOP secret.
  14. The Plan 9 password is used to login to a terminal while
  15. the APOP secret is used for a number of external services:
  16. POP3, IMAP, and VPN access. The optional argument specifies
  17. the user name and authentication domain to use if different
  18. than the one associated with the machine
  19. .I passwd
  20. is run on.
  21. .PP
  22. The program first prompts for the old Plan 9 password in the specified
  23. domain to establish
  24. identity.
  25. It then prompts for changes to the password and the
  26. secret.
  27. New passwords and secrets must be typed twice, to forestall mistakes.
  28. New passwords must be sufficiently hard to guess.
  29. They may be of any length greater than seven characters.
  30. .PP
  31. .I Netkey
  32. prompts for a password to encrypt network challenges.
  33. It is a substitute for a SecureNet box.
  34. .PP
  35. These commands may be run only on a terminal, to avoid
  36. transmitting clear text passwords over the network.
  37. .SH FILES
  38. .B /dev/key
  39. .SH SOURCE
  40. .B /sys/src/cmd/auth/passwd.c
  41. .br
  42. .B /sys/src/cmd/auth/netkey.c
  43. .SH "SEE ALSO"
  44. .IR encrypt (2),
  45. .IR cons (3),
  46. .IR securenet (8)
  47. .PP
  48. Robert Morris and Ken Thompson,
  49. ``UNIX Password Security,''
  50. .I AT&T Bell Laboratories Technical Journal
  51. Vol 63 (1984), pp. 1649-1672