LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   useradd command (https://www.linuxquestions.org/questions/linux-general-1/useradd-command-19504/)

allancondino 04-26-2002 04:32 AM

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?

Mik 04-26-2002 06:12 AM

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.

allancondino 04-26-2002 08:02 PM

thanks a lot Mik

taz.devil 04-27-2002 11:46 AM

Or you can use 'adduser' which has more options AND has a field for what you are looking for.

acid_kewpie 04-27-2002 11:56 AM

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.

taz.devil 04-27-2002 12:01 PM

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 03:59 PM.