(02-16-2014, 04:02 PM)riser date Wrote: In 1.0.6 you have to use the command line to add users. The command is "adduser", and it will interactively ask you for the user details.
Where as it is possible to use useradd command, it's important to note some defaults do not carry over. They may need to be explicitly set. Copy the following editing the username to which ever you want the username of the newly created account to be.
Code:
useradd --shell=/bin/bash -m -G users,adm,cdrom,dip,plugdev,lpadmin,sambashare -p username
It's also important to note using the above command will not allow a user to access sudo commands. To do so you merely add sudo like so:
Code:
useradd --shell=/bin/bash -m -G users,adm,cdrom,dip,plugdev,lpadmin,sambashare,sudo -p username
With all this said, it is still much preferred to use the graphical tool provided in the link in my previous post for creating new users, specially if your a new users to Linux. If anyone has any questions do not be hesitate to ask.
In case a password was not properly set you can use the following to set a password for a user account:
Code:
sudo passwd username