LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-01-2006, 10:54 PM   #1
curos
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
startx as root


So I've heard that you should never startx as root, because it changes various things that make stuff unsecure or dangerous.

But I accidentally did it today. So I was wondering what it exactly did and how to reverse any bad changes.

Or maybe I'm misinformed. Maybe it's bad to be running X while as root and not just starting X as root. Anyway, some information would be nice
 
Old 02-01-2006, 11:14 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
If you care about security, then you should try not to run as root, because root has access to all stuff on the system, so a bad program could do what it wants if you run it as that user.
You did nothing wrong by starting X as root, it won't break anything, don't worry
 
Old 02-02-2006, 02:11 AM   #3
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
Quote:
Originally Posted by gbonvehi
If you care about security, then you should try not to run as root, because root has access to all stuff on the system, so a bad program could do what it wants if you run it as that user.
You did nothing wrong by starting X as root, it won't break anything, don't worry
Starting/running x as root does not do any damage. Logging in as root does not do any damage.

Messing around while logged in as root DOES cause damage....lol

The prob w/logging in as root is that the entire system is changeable then. Try not to do this, unless you have to.

Remember, you're the most dangerous virus that is on your computer! (Talking thru experience here. I can configure Slackware until it's as useful as Windows XP SP2. In other words, til it doesn't work anymore...lol)
 
Old 02-02-2006, 04:16 PM   #4
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
I agree with the previous posters. While some people run as root with no ill effect, doing so means anything you run can make major changes to your system. So just be careful where you go on the internet and what programs and scripts you run.
 
  


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
Cannot startx as non-root user paul.nel Linux - General 1 04-07-2005 02:51 PM
Can startx as root, not as User Swampy Debian 4 03-19-2005 05:04 AM
Cannot startx except as root dieb Slackware - Installation 6 03-08-2005 06:22 PM
Only root can startx lamedavis Linux - Software 3 02-23-2004 11:46 PM
startx only works as root rbrasil Debian 3 12-10-2003 07:45 PM


All times are GMT -5. The time now is 10:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration