LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding users
#4
(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
The Truth is out there.
Be sure to check the Manual out and always report Bugs or feature requests.
[Image: psCXIcR.png]
Reply


Messages In This Thread
Adding users - by sanjito - 02-16-2014, 06:36 AM
Re: Adding users - by shaggytwodope - 02-16-2014, 07:28 AM
Re: Adding users - by riser - 02-16-2014, 04:02 PM
Re: Adding users - by shaggytwodope - 02-16-2014, 04:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)