LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-26-2002, 04:32 AM   #1
allancondino
LQ Newbie
 
Registered: Apr 2002
Posts: 7

Rep: Reputation: 0
useradd command


Hi,

I have been trying this command in RH 6.2:

useradd -u [uid] -g [group] -p [password] -r [loginname] -m

Does anyone know what parameters should i add to include user Full Name in adding new user using this command?
 
Old 04-26-2002, 06:12 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
There is no field specifically for a full name. But most people use the comment field for this. Use the -c switch to set the comment.
 
Old 04-26-2002, 08:02 PM   #3
allancondino
LQ Newbie
 
Registered: Apr 2002
Posts: 7

Original Poster
Rep: Reputation: 0
thanks a lot Mik
 
Old 04-27-2002, 11:46 AM   #4
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Or you can use 'adduser' which has more options AND has a field for what you are looking for.
 
Old 04-27-2002, 11:56 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,390

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Quote:
Originally posted by taz.devil
Or you can use 'adduser' which has more options AND has a field for what you are looking for.
no necessarily true. adduser is frequently just a symlink to useradd.
 
Old 04-27-2002, 12:01 PM   #6
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Originally posted by acid_kewpie
no necessarily true. adduser is frequently just a symlink to useradd.
I guess that's possible in RH and MDK. It's seperate in Slack I must say then.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
useradd command Wolvastur Linux - Newbie 9 01-25-2005 10:01 AM
useradd command question hct224 Linux - Newbie 2 06-14-2004 04:47 PM
Useradd command not found. keysorsoze Red Hat 8 05-01-2004 03:17 PM
useradd command johnpayback Linux - General 4 08-13-2002 05:24 PM
useradd command johnpayback Linux - Newbie 5 08-13-2002 10:22 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration