Results 1 to 7 of 7
I was looking through the useradd, adduser, and usermod man pages. I was trying to find a way to add the users name but I did not see the option ...
- 02-06-2010 #1
adding user names
I was looking through the useradd, adduser, and usermod man pages. I was trying to find a way to add the users name but I did not see the option for doing so. Any ideas how?
- 02-06-2010 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,946
Are you just trying to add another user? If so, open a terminal and type adduser and you should be prompted for the name of the user and then for a password. I'm not using Ubuntu but this should work or are you trying to add a user to a group?
- 02-07-2010 #3
In Ubuntu you use
you will be prompted for all other information. You can use command line switches to specify home directory, user group and so on.Code:adduser TheNewUserName
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 02-07-2010 #4
I prefer adduser because its more interactive than useradd. Ubuntu also has graphical tools for managing users that are located somewhere in the System menu.
- 02-07-2010 #5forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 02-18-2010 #6
By user names I mean their first names. The account was already created but I needed to modify it so that we know who they were but not what their login name was.
- 02-18-2010 #7
In that case you can use the usermod command e.g.
Another option would be to use the chfn command e.g.Code:usermod -c "FirstName LastName" someuser
To find our more about chfn look at its manual as well as that for the "finger" command.Code:chfn -f Full Name


Reply With Quote
