Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ passwd(1) — SunOS 0.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

login(1)

passwd(5)

crypt(3)

PASSWD(1)  —  User’s Manual — Commands

NAME

passwd − change login password

SYNOPSIS

passwd [ name ]

DESCRIPTION

This command changes (or installs) a password associated with the user name (your own name by default). 

The program prompts for the old password and then for the new one.  The caller must supply both.  The new password must be typed twice, to forestall mistakes. 

New passwords must be at least four characters long if they use a sufficiently rich alphabet and at least six characters long if monocase.  These rules are relaxed if you are insistent enough. 

Only the owner of the name or the super-user may change a password; the owner must prove he knows the old password. 

FILES

/etc/passwd

SEE ALSO

login(1), passwd(5), crypt(3)
Robert Morris and Ken Thompson, UNIX password security

BUGS

The password file information should be kept in a different data structure allowing indexed access; dbm(3) would probably be suitable.

Sun System Release 0.3  —  18 January 1983

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026