Security when compiling App - when do u compile as root or a User
Hi All When compiling Apps, under which user do you compile the App for security, that does not mess up your system. When do have to compile an App as root? Thanks in advance Steven
Steven Thompson wrote:
Hi All
When compiling Apps, under which user do you compile the App for security, that does not mess up your system. When do have to compile an App as root?
never imho. i do all the compile as user .. only the 'make install' is done as root. -- Mit freundlichen Gruessen / best regards, Sven Michels Network Operating Center / Infrastucture ----------------------------------------- intraDAT AG Wilhelm Leuschner Strasse 7 u. 9-11 60329 Frankfurt / Germany Tel: +49 69 256 29 - 0 Fax: +49 69 256 29 - 256 http://www.intradat.com ----------------------------------------- Besuchen Sie uns vom 22.03.01-28.03.01 auf der CeBIT in Hannover, Halle 3 Stand E45 -----------------------------------------
-----Original Message----- From: sven@intradat.com [mailto:sven@intradat.com]On Behalf Of Sven Michels Sent: Friday, March 16, 2001 10:17 AM To: Steven Thompson Cc: suse-security@suse.com Subject: Re: [suse-security] Security when compiling App - when do u compile as root or a User
Steven Thompson wrote:
Hi All
When compiling Apps, under which user do you compile the App
for security,
that does not mess up your system. When do have to compile an App as root? never imho. i do all the compile as user .. only the 'make install' is done as root.
I don't even do the make install as root ... I setup a certain prefix, as root I give my user permissions for the specified prefix and then I can do a make install as a user. Finally you just have to link the binaries and stuff to the bin and lib dirs ... -- Henning Eiben eiben@busitec.de busitec GmbH business information technology http://www.busitec.de --> Besuchen Sie uns auf der CeBIT 2001. Halle 5 Stand G26.
participants (3)
-
Henning Eiben
-
Steven Thompson
-
Sven Michels