Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

Alphabetical Summary of Commands > chfn - Pg. 63

chfn = Assign attributes (removing unspecified attributes). Attributes A Don't update access time on modify. a Append only for writing. Can be set or cleared only by a privileged user. c Compressed. d No dump. i Immutable. Can be set or cleared only by a privileged user. s Secure deletion; the contents are zeroed on deletion. u Undeletable. S Synchronous updates. Linux Commands Examples chattr +a myfile As superuser chfn chfn [options] [username] Description Change the information that is stored in /etc/passwd and displayed when a user is fingered. Without options, chfn enters interactive mode and prompts for changes. To make a field blank, enter the keyword none. Only a privileged user can change information for another user. For regular users, chfn prompts for the user's password before making the change. Options -f, --full-name Specify new full name. -h, --home-phone Specify new home phone number. Chapter 3:Linux Commands | 63