LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   new user accounts (https://www.linuxquestions.org/questions/linux-newbie-8/new-user-accounts-645979/)

rudy1094 05-30-2008 10:05 PM

new user accounts
 
How do I create additional user accounts on my machine? The only one I have setup right now is root, which I'm sure is a no-no. If I create additional accounts at the command prompt do I also have to recreate it in x-windows?

GrapefruiTgirl 05-30-2008 11:08 PM

If you use the console command(s) 'adduser' and/or 'addgroup' then no, you do not need to do it again within X; the additions are system-wide.

If you mentioned what desktop environment you are using (and for that matter, what Linux you use) we might be able to suggest a GUI that can do the same thing for you. An example is KDEs "KUser" tool.

Adding your Linux distro to your profile can help others more easily answer your questions :)

Sasha

seraphim172 05-31-2008 04:08 AM

Usually 'useradd' is the way to go. For some reason some distributions have it available under the slightly different name of 'adduser'. On a Fedora system requesting a man page for either useradd or adduser will lead to the useradd man page.

Have a look at the man page if you need special things like non-standard locations for home directories or making a user belong to an existing group.

The default behaviour should create a new user named <username> with a home directory in /home/<username> with a new group called <username>.

Linux Archive


All times are GMT -5. The time now is 04:46 PM.