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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-26-2002, 04:32 AM
|
#1
|
LQ Newbie
Registered: Apr 2002
Posts: 7
Rep:
|
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?
|
|
|
04-26-2002, 06:12 AM
|
#2
|
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316
Rep:
|
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.
|
|
|
04-26-2002, 08:02 PM
|
#3
|
LQ Newbie
Registered: Apr 2002
Posts: 7
Original Poster
Rep:
|
thanks a lot Mik
|
|
|
04-27-2002, 11:46 AM
|
#4
|
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Rep:
|
Or you can use 'adduser' which has more options AND has a field for what you are looking for.
|
|
|
04-27-2002, 11:56 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
04-27-2002, 12:01 PM
|
#6
|
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|