View Single Post
  #2 (permalink)  
Old 02-02-2007, 11:17 PM
asong26   is offline
PS3Hax Senior Hacker
 
Join Date: Jan 2007
Posts: 44
Default Re: creating new user?!

useradd -m -G users,wheel,audio -s /bin/bash xxxx

replace the xxxx with the user name. This command will create the user, and create the user home directory, and assign the user to users, wheel, audio group. You may add more.

After that, you'll need to create the password for that user:

passwd xxxx, then press enter. It will ask you for a password. Type in the desire password for that user. That's it. You can now either log out , or reboot and re-login as the newly created user.

This command is for general linux, regardless of what distro you use. To learn more, search google:

How to create a new user in linux


You'll find tons of examples. Search and thy shall find.
Reply With Quote