c

chfn(1)

chfn(1)

WARNINGS

The encoding of of®ce and extension information is installation-dependent.

For historical reasons, the user's name, etc., are stored in the /etc/passwd ®le. This is an inappropriate place to store the information.

Because two users may try to write the passwd ®le at once, a synchronization method was developed. On rare occasions, chfn prints a message that the password ®le is busy. When this occurs, chfn sleeps for a short time, then tries to write to the passwd ®le again.

AUTHOR

chfn was developed by the University of California, Berkeley.

FILES

/etc/passwd

/etc/ptmp

NOTES

The chfn command is a hard link to passwd command. When chfn is executed, actually the passwd command gets executed with appropriate arguments to change the user gecos information in the repository speci®ed in command line. If no repository is speci®ed the gecos information is changed in /etc/passwd ®le.

SEE ALSO

chsh(1), ®nger(1), passwd(1), passwd(4).

Section 182

− 2 −

HP-UX Release 11i: December 2000