Bruce Marshall < bmarsh at bmarsh.com >
Andy Harrison
aharrison at gmail.com
Mon Jun 4 19:29:36 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/4/07, Greg Booth wrote:
>
> > 1. Get the facts about sudo.
>
>
>
> That's why I was asking this question. It seems to me there's no benefit to using sudo versus su. You get the same functionality, plus it almost seems that your password gets cached somehow. If you run a number of sudo commands one after the other it only prompts you the first time, that caching functionality to me seems strange as I don't understand it or what it's doing.
>
It is not the same functionality. su is all-or-nothing. On the other
hand, sudo can be used in a very granular fashion, allowing specific
commands to be run by specific users or groups.
Also, to reduce the number of times you're prompted for a password
while using sudo, you can change the default timeout value. Edit the
/etc/sudoers file and modify the Defaults line and add a
passwd_timeout param. Example:
Defaults !lecture,tty_tickets,!fqdn,passwd_timeout=999
- --
Andy Harrison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org
iD8DBQFGZGg5NTm8fWdRgmIRAtvlAJ4im5FGvSWKNZeGf/Wlfg1TrEF2ZQCg4/Tb
M8IslcIoZJkvHQ8RsSv+cRo=
=J0m5
-----END PGP SIGNATURE-----
More information about the kubuntu-users
mailing list