LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-19-2004, 04:25 PM   #1
Balkman
Member
 
Registered: Jan 2004
Location: USA, Pa
Distribution: Slackware 10
Posts: 65

Rep: Reputation: 15
How to make new users


As of now, I run everything as root. Im not really intrested in security issues, but is there any other benefit to using regular users instead of root all the time?

And is root user and reg. user the differnce between the root and home directory? Right now I install everything under root and it's getting sloppy.

As you can tell im confused cause i dont think im making much sense.

thanks if you can help.
 
Old 07-19-2004, 04:39 PM   #2
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
it's not just security, but running as a regular user protects you from accidentally trashing your system with a rm command. just save yourself some possible trouble by running as a regular user.
to add a user, you could run the adduser command. or if you use kde, you can use the KUser program.
 
Old 07-19-2004, 09:22 PM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Very true. The first time I tried using Linux I thought the same thing (that there's no point in using two users if it's your own computer and "security isn't a problem"). The fact is, a normal user can do most things (except for system configuration, installing programs, etc.), and it pays off in the long run to do most normal tasks as someone other than root. Especially if you use the command line and get into the habit of using "rm -rf" to remove folders, it is extremely easy to miss a key and delete everything on your system in one stroke. Even if you do everything in KDE or Gnome, using a normal user instead of root still protects you from accidentally messing things up.
 
Old 07-20-2004, 12:08 AM   #4
Balkman
Member
 
Registered: Jan 2004
Location: USA, Pa
Distribution: Slackware 10
Posts: 65

Original Poster
Rep: Reputation: 15
Cool thanks, and thats a good point. To tell you the truth when i very first started Linux, I read someone's signature that had something like "if all else fails type rm -rf *" (i forget the actual command) and it deleted every file off my computer. So i guess it would be a good idea to start using normal users.

But initally my question was how to make users. Im using slackware 9.1 with fluxbox 0.9.9 (development version). Do I make them before I startx or can I do it while im running inside fluxbox?

Last edited by Balkman; 07-20-2004 at 12:10 AM.
 
Old 07-20-2004, 12:29 AM   #5
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
you can run adduser anytime.
about the signature "if all else fails type rm -rf /" i've seen that, too. but the one i saw immediately warns that it is only a signature and that one shouldn't do it if one doesn't know what it does.
 
Old 07-20-2004, 02:17 PM   #6
Balkman
Member
 
Registered: Jan 2004
Location: USA, Pa
Distribution: Slackware 10
Posts: 65

Original Poster
Rep: Reputation: 15
Making the new user(s) was easy, but now i have a quick question. Do I have to reinstall everything under that user account like firefox, winex, and aterm etc? Cause none of it seems to work under that account.
 
Old 07-20-2004, 02:27 PM   #7
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
can you be more specific? say, what happens when you run the command firefox? but my guess is that you installed firefox in a directory that's not included in the PATH variable of the user you're running. so, try this:
Code:
export PATH=$PATH:<path to firefox directory>
 
Old 07-20-2004, 08:01 PM   #8
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Or let us know what "echo $PATH" gives you as that user. Generally though, no--you shouldn't have to reinstall programs for each user except for a few programs (OpenOffice.org, for example).
 
  


Reply



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
Make opera available to all users: How? TSynergy Linux - Newbie 12 07-28-2005 09:04 PM
how to make su command available to all users zchoyt Linux - Software 7 04-14-2005 03:35 AM
How to make diskette available to all users Owen_Townsend Red Hat 2 12-19-2004 01:11 PM
How to make floppy available to all users? shan Linux - Newbie 1 01-28-2002 10:28 AM
How to make menu available to other users? concoran Linux - General 1 11-23-2001 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:03 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
Open Source Consulting | Domain Registration