Re: Sudo instead of SU
-----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 of gksu? Do,
>>>>
>>>> gconftool-2 --type bool --set /apps/gksu/sudo-mode true
>>>>
>>>> Or the same action with gconf-editor.
>>> This has never worked too well for me, just a note. Last time I tried
>>> it a lot of applications didn't want to work. Do it at your own risk.
>> You do need to configure sudo first of course. I have been running with
>> gksu in sudo mode for quite a long time, and haven't had any problems.
>
> 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.
>
>
In that case, you can do a sudo -i and gain a root prompt.
Personally I only have sudo set up to do some things, and getting a root
prompt is definitely not one of them. But then again, I didn't set up
sudoers to do ALL:ALL like some people do. (uh, ubuntu comes to mind)
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.
Joe
- --
Registerd Linux user #443289 at http://counter.li.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGJMIQiXBCVWpc5J4RAom8AKCLuRBqxoCeYEkPOstHwQ/gbXuZtgCfZ4OS
VcK7bbspI/jBcHPfRqpVGpc=
=pfEo
-----END PGP SIGNATURE-----
Reply to: