Thursday, December 18, 2008

Changing a User's Name

You can change the name associated with a user account, by using the chfn command:
chfn -f name userid

where name specifies the new name and userid specifies the account to be modified. If the name contains spaces or other special characters, it should be enclosed in double quotes ("). For example, to change the name associated with the account newbie to Dewbie Newbie, you would enter the following command:

chfn -f "Dewbie Newbie" newbie

No comments:

Post a Comment