Results 1 to 5 of 5
i am using Debian Sarge...........can any body tell me how to create a new user....
- 06-04-2006 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 2
Creating a new user
i am using Debian Sarge...........can any body tell me how to create a new user.
- 06-04-2006 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 17,784
Just run useradd or adduser from command line as root. That should do it. You can read up on the commands with "man adduser" or "man useradd".
oz
→ new users: read this first
→ no private messages requesting computer support - post them on the forums!
- 06-04-2006 #3
Exactly like Ozar said.
More precisely, if you want to create a user with "username" as username for "Name FamilyName", you can do it in 2 commands :
And then :Code:useradd -d /home/username -s /bin/bash -c "Name FamilyName" username
Be sure to replace every occurance of "username" with the desired username and "Name FamilyName" with the real name. Of course those 2 commands must be typed as root.Code:mkdir /home/username && chown username /home/username && passwd username
Then you'll have to use the "adduser" command to make that new user part of the necessary groups (for example : floppy, cdrom, audio, etc.)."To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 06-04-2006 #4
command line is easy but if you are more comfortable with a gui, you could use the app in the menu. Desktop/Administration/Users and Groups at least in Gnome it is like that. It is also under the Debian menu, Debian/Apps/System/User Accounts Admin.
- 08-27-2008 #5Just Joined!
- Join Date
- Aug 2008
- Posts
- 1
adduser
i am very new to Linux. even i tired to add new user to Linux machine using terminal command. this is how i did.. thinking it might help other im showin the command used by me to create an account..
somu@deer-desktop:~$ sudo adduser divya
Adding user `divya' ...
Adding new group `divya' (1002) ...
Adding new user `divya' (1004) with group `divya' ...
Creating home directory `/home/divya' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for divya
Enter the new value, or press ENTER for the default
Full Name []: divya
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
This is how i was able to create new account... hope it might help others..



