LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-26-2003, 06:20 PM   #1
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Rep: Reputation: 15
Root vs. User


I've heard that you shouldn't normally login as root, but why? What exactly is the difference, and what is so dangerous about logging in as root?
 
Old 10-26-2003, 06:25 PM   #2
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
System files and directories generally belong to root. When logged in as root it is easy to mistakenly delete or modify them in such a way as to require a complete reinstallation of the system.

When logged in as a user that user can only modify files he owns so he can't trash the system.

Tim
 
Old 10-26-2003, 07:12 PM   #3
classon
LQ Newbie
 
Registered: Oct 2003
Location: Sweden
Distribution: Mandrake 9.1
Posts: 11

Rep: Reputation: 0
An other tip is to log out almost directly after you done your root-thing. Otherwise you will end up with lots of files and directories that you cannot delete o write to when you are logged in as a normal user.

I understand that one might think that is would be handy to always be root. But believe me. Some guys really regret that mistake when they have to install everything from the beginning again.
 
  


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


All times are GMT -5. The time now is 03:10 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