LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-23-2007, 03:49 AM   #1
jrkraj
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.

thanks
 
Old 07-23-2007, 04:13 AM   #2
puntjuh
Member
 
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.

Code:
adduser
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, 04:40 AM   #3
jrkraj
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, 04:43 AM   #4
b0uncer
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, 01:23 AM   #5
jrkraj
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
Code:
chfn =change full name
 
Old 07-24-2007, 02:45 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

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


Reply



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 01:14 PM
samba - add user script - User account does not exist itzamecwp Linux - Server 2 01-18-2007 10:52 PM
How to automatically add smb user when unix user added Winanjaya Linux - Newbie 3 01-07-2007 11:17 AM
add header information to outgoing e-mails - postfix paul_mat Linux - Networking 1 05-16-2006 05:39 AM
clamd ERROR:Can't get information about user <USER> sailu_mvn Linux - Software 0 12-21-2005 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:17 AM.

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