how to add user information
i am the student of linux. i want to know what is command to add user info. like fullname,phone,email etc. in terminal window.
thanks |
You can use useradd to make a new user. But this won't ask for full names and such.
Code:
adduser |
i know about this command but i want to add users information.
|
If I'm right, you can just run 'adduser' for an existing user to update the information about that user (the username/id must match). Note that any information that exists that you don't specify (again) is probably lost. For example if the user belonged to groups Group1 and Group2, and you re-ran adduser and told the user's groups were Group2 and Group3, the user might not belong to Group1 anymore. (note: it's been a long time since I last ran this command, and that group-"example" is just off the top of my head..)
|
thank you very much for the information. i got the command which i looking for the command is
Code:
chfn =change full name |
You could also have used "usermod -c" for an existing user.
|
All times are GMT -5. The time now is 09:18 AM. |