[OT] sudo, why not su?

Dennis Kaarsemaker dennis at kaarsemaker.net
Fri Aug 5 18:51:01 UTC 2005


On vr, 2005-08-05 at 19:10 +0100, Magnus Therning wrote:

> Is there any way of configuring pam in such a way that su behaves like
> sudo, i.e. asks for the user's password before executing something as
> root?

mv /bin/su /bin/su-old
ln -s /usr/bin/sudo /bin/su

(It's not pam, but it works)
-- 
Dennis K.
  - Linux for human beings: http://www.ubuntulinux.org
  - Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050805/b39b4dbb/attachment.sig>


More information about the ubuntu-users mailing list