On Tue, 11 Nov 2014, rolf wrote:
> Hi Karl
> 
> > > > why do you do it all as root ?
> > >
> > > It should become a system wide installation. I allways compile programs
> > > everybody should use on this computer as admin.
> > >
> > > Rolf
> >
> > Salut Rolf,
> >
> > sudo/su make install does that
> 
> First of all I use Debian not Ubuntu so I sudo is not configured out of the 
> box.
> 
> And what is the difference between working as root - especially if root is 
> requiered for installing the needed program packets - and do it with sudo?
> 

The differences between sudo and su is nothing of interest here. The point
is that you should not compile as root at all (no matter how you prefer to
become root). It's for the same reason as "why shouldn't I run my browser
as root" or "why shouldn't I run my calculator as root": because having a
process do things with root privileges is per se dangerous and you can
perfectly do it without root privileges. Configure and compile Gambas as a
regular user and just install as root to the proper (system-wide) places.

I myself wouldn't risk a scenario like the one which this guy[0] describes
and you can't deny that those configure scripts, if you take a look at them,
do some really peculiar stuff... Same goes for the Makefiles generated.

Regards,
Tobi

[0] 
http://cboard.cprogramming.com/linux-programming/42383-never-compile-root.html

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to