LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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: 387

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: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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