LinuxQuestions.org
Review your favorite Linux distribution.
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 02-21-2002, 09:01 PM   #1
nh_mark
LQ Newbie
 
Registered: Feb 2002
Distribution: Slackware 8.0
Posts: 2

Rep: Reputation: 0
Root vs User


Hello everybody,

I am a Linux newbie, I have been using it for about a week now. I am using Slackware 8.0 and KDE. My question is about regular users versus root. I have read in MANY places that you should not use the root account for your regular everyday use. I should explain that I am using Linux at home on my PC, nobody else uses it so I'm not really concerned about file security or anything like that but I did want to "do the right thing". So when I did my install I set up a user account for myself and I logged on with that account. Now I start KDE and I want to get my sound card working. I do some research and figure out how to get it working, I have to log in as root to make the changes so I use the 'su' command and make the changes. I then log in as my user account and no sound. More research and I find out that I have to change permissions on a file that my sound card uses (sorry I'm not sure what file but it's not important). Now I want to change the background color in KDE...again only root can do that so I 'su' and make the change. I log in as my user account and the changes are gone...I log in as root and the changes are there. So, I am now using root as my regular login but I would really like to know if there is a way that regular users can make changes to things like desktop color and not have to be logged in as root? Sorry for the long post but I wanted to explain myself, and vent a little.

Thanks in advance,
Mark

:smash:

Last edited by nh_mark; 02-21-2002 at 09:03 PM.
 
Old 02-21-2002, 09:44 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
there really isn't no problem with using root if your just learning, don't really have anything important on your system... etc etc..

one reason i would suggest not to use root on a system like that is you can accidently mess up your entire system with root.. one mistake, and its all gone..

root on a major system, corporate.. etc, yeah.. security reasons follow this too, as root can do everything and its not a good habit to use root for everyday use.. there are ways around it.. like su for example or sudo..
 
Old 02-21-2002, 09:47 PM   #3
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
just read up on file permissions, users, and groups. that's the best way to explain it.

and i wouldn't worry about using the root account for your everyday stuff. they say the same thing about windows NT/2k/xp and administrator, and i never had a user account in 2k for the 2 years i used it, never had a problem.

i log in as root for every box on my network except one (which i need to log in as a regular user, because of some daemons i have running... long story). but i've never messed anything up, and if i did... i'd fix it. ::shrugs:: but i'm the only one using my pcs, so it's not a big deal.
 
Old 02-22-2002, 05:52 AM   #4
nh_mark
LQ Newbie
 
Registered: Feb 2002
Distribution: Slackware 8.0
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the quick responses. I am using root right now and I'm not too concerned about it, like Syncrm said if I screw something up I'll fix it. I was just wondering about how this would be worked around in a "real world" setting. Let's say I am in a corporate environment, would I have to create a group of users and set permissions on all of the configuration files so that they could use them? Is there already a group that has permission (other than root) to use these files but not permission to destroy the entire system, something like an advanced user group?

Thanks again.
Mark
 
  


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
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 08:51 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM


All times are GMT -5. The time now is 11:36 PM.

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