Results 1 to 7 of 7
Hello Linux is new for me i am trying to add users to my system.
I would like to know how to create users in console and graphic interface.
Who ...
- 01-21-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 3
How to create user in console and graphic interface
Hello Linux is new for me i am trying to add users to my system.
I would like to know how to create users in console and graphic interface.
Who can help me ?
I have suse 10.1
- 01-21-2008 #2
In the command line you can use the "useradd" command. As for a GUI, you can run YAST -> Security & Users -> User Management.
- 01-21-2008 #3Just Joined!
- Join Date
- Jan 2008
- Posts
- 3
- 01-21-2008 #4
Well, you need to read the manual in order to find out how to use the command correctly. You can read manuals by doing "man command" e.g. "man useradd". On a simple level, you do
userName will be the user name of the user you want to create. After creating the user, you need to give the user a password, so you would doCode:useradd userName
Code:passwd userName
- 01-21-2008 #5Just Joined!
- Join Date
- Jan 2008
- Posts
- 3
Thanks for the information
I have lerned how to make user in YAST en in console but i have more questions about making user.
How can give the full name of the user on the console.
I have ever heared that you can make user vim.
How can i create user in vim ? and how can i give the users a homedirectory (in vim, console and yast)
- 01-21-2008 #6
To add the name of the user you would do
In order to create a user using vim, you need to use vim to open /etc/passwd and then add something likeCode:useradd -c "FirstName SecondName" userName
You will then have to run the passwd command like above in order to give them a passwd.Code:userName:x:1000:100:FirstName LastName:/home/userName:/bin/bash
I suggest you look at RUTE because it contains a lot of info on Unix basics.
- 01-21-2008 #7forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,095
You can also try the adduser command, which is basically the same thing as the useradd command, but it works a bit differently.
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.


Reply With Quote
