Find the answer to your Linux question:
Results 1 to 5 of 5
i am using Debian Sarge...........can any body tell me how to create a new user....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006

    Creating a new user

    i am using Debian Sarge...........can any body tell me how to create a new user.

  2. #2
    oz is offline
    Join Date
    May 2004
    arch linux
    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".

  3. #3
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Montreal, Canada
    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 :

    useradd -d /home/username -s /bin/bash -c "Name FamilyName" username
    And then :
    mkdir /home/username && chown username /home/username && passwd 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.

    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

  4. $spacer_open
  5. #4
    Just Joined! SweetLou's Avatar
    Join Date
    Nov 2004
    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.

  6. #5
    Just Joined!
    Join Date
    Aug 2008

    Smile 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..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts