LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-30-2006, 01:57 PM   #1
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 385

Rep: Reputation: 33
Question Why is compiling as root a bad idea?


Same question as above.


Thanks for your time,
vxc
 
Old 10-30-2006, 02:03 PM   #2
pierre-luc
LQ Newbie
 
Registered: Oct 2004
Location: Montreal
Distribution: Ubuntu
Posts: 25

Rep: Reputation: 15
One of the reason is that it may mess up the permissions on the resulting object code. Then, when you want to work back on, it will fail everywhere...
 
Old 10-30-2006, 02:22 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
And more generally, unless there is no other choice, doing anything as root is a bad idea.
 
Old 10-30-2006, 04:47 PM   #4
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
exactly its a "if it doesn't requuire to be root then never be" kind of thing
user can compile and experiment and run source code they are working on all day long without being root because its what non root computer users do.
 
  


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
Good idea/bad idea: interface colors introuble General 5 10-30-2006 01:33 PM
[SOLVED] LINUX newbie: Was using root password in this case a bad idea? MBA Whore Linux - Security 4 05-20-2006 03:52 PM
Bad Idea dudeman41465 Linux - Software 1 10-10-2005 02:37 AM
Is this a good or bad idea? kemplej Linux - Software 2 10-26-2004 09:34 AM
Running KPPP as Root = Bad Idea? Hawklad Debian 8 09-23-2004 06:57 PM


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

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