Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-03-2007, 07:07 PM
|
#1
|
LQ Newbie
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28
Rep:
|
how to make other user accounts
does anyone know how to make other user accounts?
THANK YOU!!
|
|
|
11-03-2007, 07:11 PM
|
#2
|
Member
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324
Rep:
|
1- useradd username
2-groupmod -G groupname username
3-then make a home directory for them
4-chown to give user permission over directory.
|
|
|
11-03-2007, 07:35 PM
|
#3
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Or even adduser and follow the prompts 
|
|
|
11-03-2007, 09:20 PM
|
#4
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
icedlightblue, many distros carry graphical tools for user administration. The command line tools are more or less ubiquitous, and it's easier to give instructions for the command-line tools in these forums. Which distro are you asking about, and what desktop environment are you using?
|
|
|
11-04-2007, 11:31 AM
|
#5
|
LQ Newbie
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28
Original Poster
Rep:
|
um,this might be a stupid question but,
if you add a new account,will this wipe out my existing account?
|
|
|
11-04-2007, 11:35 AM
|
#6
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
Quote:
Originally Posted by icedlightblue
um,this might be a stupid question but,
if you add a new account,will this wipe out my existing account?
|
No, you can have as many user accounts as you like.
|
|
|
11-05-2007, 01:34 AM
|
#7
|
LQ Newbie
Registered: Nov 2007
Location: Harare Zimbabwe
Distribution: Red Hat 9
Posts: 17
Rep:
|
to add a user account
useradd username enter
passwd username enter
New password: userpassword enter
cd /home/ to go to home dir
ls to list users added
|
|
|
11-06-2007, 01:52 PM
|
#8
|
LQ Newbie
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28
Original Poster
Rep:
|
Is it better to run other user accounts than root?why?(you don't have to tell why if you don't want to).
|
|
|
11-06-2007, 02:49 PM
|
#9
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
Yes it is better to create an ordinary user account for your day to day activities. There are several reasons for this. Since the root account has no restrictions, any mistakes you make won't be stopped by permissions (the common example is deleting a directory by accident). Also, any malicious events (dodgy web scripts, etc.) run as the user you're logged in as so your system could be affected by them.
If you create an account for your day to day stuff, the main risk is to your data. So make sure you have an automated backup process (cron can help you there).
There's plenty of stuff on google about root accounts in Linux. Some people will point out that the likelihood of some risks is very small and it's their box so they'll run however it's convenient for them. As long as you make an informed decision, the choice is yours, but I always recommend the conservative approach because I don't like re-building boxes (except when a new Slackware comes out  )
|
|
|
All times are GMT -5. The time now is 06:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|