htadm Manual

Password file can be maintained by htadm program which is a part ot CERN daemon distribution.

Command Line Options

htadm -adduser passwordfile [username [password [realname]]]
adds a user into the password file (fails if there is already a user by that name).

htadm -deluser passwordfile [username]
deletes a user from the password file (fails if there is no user by that name).

htadm -passwd passwordfile [username [password]]
changes user's password (fails if there is no such user).

htadm -check passwordfile [username [password]]
checks user's password (fails if there is no such user). Writes either Correct or Incorrect to standard output. Also indicates password correctness by a zero return value.

If password or even username is missing in either of the previous cases they are prompted interactively. passwordfile must be always specified. Missing real name is also prompted when adding a new user.

WARNING

Do NOT use htadm to add new users to the actual Unix password file /etc/passwd, entries written by htadm are missing some necessary fields to Unix.

Note

htadm destroys the password from command line as soon as possible so that it is very unlikely to see somebody's password by looking at the process listing on the machine (with ps, for example).

AL 10 January 1994