Re: Sudo instead of SU

2007-04-21 Thread Thilo Six
Joe Hart wrote the following on 21.04.2007 21:02: > 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 password

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 (

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

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 usua

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

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-

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

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 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

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 w

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, > > gcon

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 actio

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 y

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] Novell

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 pgpqkfEDrJe07.pgp Description: PGP signature