Linux Lite Forums
Adding users - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: Adding users (/showthread.php?tid=33)



Adding users - sanjito - 02-16-2014

I am running 1.0.6 32-bit PAE and cannot for the life of me find a user manager. I found the directions on where it should be (click on Menu, Settings, User Manager) but see nothing there. Hoping someone might have some more info for me.


Re: Adding users - shaggytwodope - 02-16-2014

User Manager was a feature included in the 1.0.8 release. If you want you can download the .deb package from here.


Re: Adding users - riser - 02-16-2014

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.


Re: Adding users - shaggytwodope - 02-16-2014

(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