Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Steps for adding users on Debian 6 32bit
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Steps for adding users on Debian 6 32bit

rahulksrahulks Member
edited March 2013 in General

is it similar to other os ?

Comments

  • Haven't used many os'es but it is useradd and passwd So decided by yourself.

  • you can use adduser command as well

    adduser username

  • xBytezxBytez Member
    edited March 2013

    useradd is the actual linux command.

    adduser is actually just a script which makes it all easier.

  • @xBytez said: adduser is actually just a script which makes it all easier.

    i remember useradd from Unix days. thanks for the detail.

  • The default behaviour of useradd differs slightly between distro. On CentOS, useradd testuser will add the user and create the user's home directory. On Debian, the home directory is not created unless you use: useradd -m testuser.

  • rahulksrahulks Member
    edited March 2013

    Whats the cmd to list users ? and when i typed passwd lolok it said "passwd: user 'lolok' does not exist"

  • NickMNickM Member

    @rahulks said: Whats the cmd to list users ?

    cut -d: -f1 /etc/passwd will give you a list of the users on your system. Most will be system accounts like "mysql" and "daemon".

  • on debian i prefer using adduser

  • ^ agree

Sign In or Register to comment.