Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-23-2007, 04:49 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
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.

Old 07-23-2007, 05:13 AM   #2
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
You can use useradd to make a new user. But this won't ask for full names and such.

This command will give you a step-by-step question form too make a user, which WILL ask for full name and such.
Old 07-23-2007, 05:40 AM   #3
LQ Newbie
Registered: Jul 2007
Posts: 3

Original Poster
Rep: Reputation: 0
i know about this command but i want to add users information.
Old 07-23-2007, 05:43 AM   #4
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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..)
Old 07-24-2007, 02:23 AM   #5
LQ Newbie
Registered: Jul 2007
Posts: 3

Original Poster
Rep: Reputation: 0
thank you very much for the information. i got the command which i looking for the command is
chfn =change full name
Old 07-24-2007, 03:45 AM   #6
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You could also have used "usermod -c" for an existing user.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 02:14 PM
samba - add user script - User account does not exist itzamecwp Linux - Server 2 01-18-2007 11:52 PM
How to automatically add smb user when unix user added Winanjaya Linux - Newbie 3 01-07-2007 12:17 PM
add header information to outgoing e-mails - postfix paul_mat Linux - Networking 1 05-16-2006 06:39 AM
clamd ERROR:Can't get information about user <USER> sailu_mvn Linux - Software 0 12-21-2005 01:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration