Re: Sudo instead of SU

2007-04-21 Thread Thilo Six
Kamaraju S Kusumanchi wrote the following on 21.04.2007 02:02: Masatran, R. Deepak wrote: How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? I will mention this since sooner or later (I think) you will hit this. su - gives you a root shell so you can execute

Re: Sudo instead of SU

2007-04-21 Thread Joe Hart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thilo Six wrote: Kamaraju S Kusumanchi wrote the following on 21.04.2007 02:02: Masatran, R. Deepak wrote: How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? I will mention this since sooner or later (I think) you

Re: Sudo instead of SU

2007-04-21 Thread Thilo Six
Joe Hart wrote the following on 21.04.2007 21:02: snip Note that doing things with sudo the way Ubuntu does it is dangerous because if someone hacks into your computer (not likely if you have good security set up) or someone happens to come by your computer while sudo still keeps the

Re: Sudo instead of SU

2007-04-20 Thread Kamaraju S Kusumanchi
Masatran, R. Deepak wrote: How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? I will mention this since sooner or later (I think) you will hit this. su - gives you a root shell so you can execute multiple commands (one after another) as being root. sudo is

Re: Sudo instead of SU

2007-04-17 Thread Chris Lale
Greg Folkert wrote: On Tue, 2007-04-17 at 05:15 +0530, Masatran, R. Deepak wrote: How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? apt-get install sudo Then read the docs (man sudo) or goto the sudo website. http://www.gratisoft.us/sudo/ If you find the

Re: Sudo instead of SU

2007-04-17 Thread Sven Arvidsson
On Tue, 2007-04-17 at 05:15 +0530, Masatran, R. Deepak wrote: How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? I guess you want to change the behaviour of gksu? Do, gconftool-2 --type bool --set /apps/gksu/sudo-mode true Or the same action

Re: Sudo instead of SU

2007-04-17 Thread Michael Pobega
On Tue, Apr 17, 2007 at 12:42:48PM +0200, Sven Arvidsson wrote: On Tue, 2007-04-17 at 05:15 +0530, Masatran, R. Deepak wrote: How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? I guess you want to change the behaviour of gksu? Do, gconftool-2

Re: Sudo instead of SU

2007-04-17 Thread Sven Arvidsson
On Tue, 2007-04-17 at 06:49 -0400, Michael Pobega wrote: On Tue, Apr 17, 2007 at 12:42:48PM +0200, Sven Arvidsson wrote: I guess you want to change the behaviour of gksu? Do, gconftool-2 --type bool --set /apps/gksu/sudo-mode true Or the same action with

Re: Sudo instead of SU

2007-04-17 Thread Michael Pobega
On Tue, Apr 17, 2007 at 12:56:13PM +0200, Sven Arvidsson wrote: On Tue, 2007-04-17 at 06:49 -0400, Michael Pobega wrote: On Tue, Apr 17, 2007 at 12:42:48PM +0200, Sven Arvidsson wrote: I guess you want to change the behaviour of gksu? Do, gconftool-2 --type bool --set

Re: Sudo instead of SU

2007-04-17 Thread Atis
On 4/17/07, Michael Pobega [EMAIL PROTECTED] wrote: I have sudo configured (I always use it in preference to su), but like I said last time I tried to use only sudo it didn't want to work. Some of the programs just wouldn't start, and complained that I need to be root to use them. maybe `sudo

Re: Sudo instead of SU

2007-04-17 Thread Joe Hart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Pobega wrote: On Tue, Apr 17, 2007 at 12:56:13PM +0200, Sven Arvidsson wrote: On Tue, 2007-04-17 at 06:49 -0400, Michael Pobega wrote: On Tue, Apr 17, 2007 at 12:42:48PM +0200, Sven Arvidsson wrote: I guess you want to change the behaviour

Re: Sudo instead of SU

2007-04-17 Thread Joey Hess
Sven Arvidsson wrote: On Tue, 2007-04-17 at 05:15 +0530, Masatran, R. Deepak wrote: How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? I guess you want to change the behaviour of gksu? Do, gconftool-2 --type bool --set /apps/gksu/sudo-mode

Re: Sudo instead of SU

2007-04-17 Thread Chris Lale
Joe Hart wrote: [...] Cris Lale's site: http://newbiedoc.berlios.de/wiki/How_to_configure_Sudo_to_run_programs_as_a_different_user explains well how to do a good setup. He already mentioned that link in this thread, but since it's such a good tutorial, I mention it again. Thanks for the

Sudo instead of SU

2007-04-16 Thread Masatran, R. Deepak
How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? -- Masatran, R. Deepak http://research.iiit.ac.in/~masatran/ pgpqkfEDrJe07.pgp Description: PGP signature

Re: Sudo instead of SU

2007-04-16 Thread Greg Folkert
On Tue, 2007-04-17 at 05:15 +0530, Masatran, R. Deepak wrote: How can I replace SU with Sudo (like Ubuntu), in Gnome and other applications? apt-get install sudo Then read the docs (man sudo) or goto the sudo website. http://www.gratisoft.us/sudo/ Cheers. -- greg, [EMAIL PROTECTED]