LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-03-2007, 08:07 PM   #1
icedlightblue
LQ Newbie
 
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28

Rep: Reputation: 15
Smile how to make other user accounts


does anyone know how to make other user accounts?

THANK YOU!!
 
Old 11-03-2007, 08:11 PM   #2
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
1- useradd username
2-groupmod -G groupname username

3-then make a home directory for them
4-chown to give user permission over directory.
 
Old 11-03-2007, 08:35 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Or even adduser and follow the prompts
 
Old 11-03-2007, 10:20 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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?
 
Old 11-04-2007, 12:31 PM   #5
icedlightblue
LQ Newbie
 
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28

Original Poster
Rep: Reputation: 15
um,this might be a stupid question but,

if you add a new account,will this wipe out my existing account?
 
Old 11-04-2007, 12:35 PM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Quote:
Originally Posted by icedlightblue View Post
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.
 
Old 11-05-2007, 02:34 AM   #7
zebias
LQ Newbie
 
Registered: Nov 2007
Location: Harare Zimbabwe
Distribution: Red Hat 9
Posts: 17

Rep: Reputation: 0
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
 
Old 11-06-2007, 02:52 PM   #8
icedlightblue
LQ Newbie
 
Registered: Oct 2007
Distribution: kwort 2.2(slackware)
Posts: 28

Original Poster
Rep: Reputation: 15
Is it better to run other user accounts than root?why?(you don't have to tell why if you don't want to).
 
Old 11-06-2007, 03:49 PM   #9
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
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 )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user accounts rmorgan Linux - Server 0 10-31-2006 11:40 AM
LXer: Linux 101: Manage user accounts in a multi-user Linux environment ... LXer Syndicated Linux News 0 06-27-2006 08:03 AM
User Accounts kaplan71 Linux - General 1 07-08-2004 02:19 PM
User Accounts MrJoshua Linux - General 3 01-10-2003 09:30 AM
User Accounts afair Linux - Newbie 3 09-19-2002 01:57 PM


All times are GMT -5. The time now is 02:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration