[OT] sudo, why not su? (Johann Spies)

Dennis Kaarsemaker dennis at kaarsemaker.net
Mon Aug 8 15:06:50 UTC 2005


On ma, 2005-08-08 at 15:47 +0100, Joao Pedro Clemente wrote:

> Uou... I hadn't seen this yet... is this by default? Where do I find
> the logs? If I use two shells with "sudo su -"  at the same time will
> the logs be overwritten (as it would happen with user "history"? )

All invocations are logged in auth.log If you create a root shell with
sudo su p (sudo -i is shorter and does the samw by the way), all
commands executed in that shell are nog logged there.
-- 
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/20050808/a5a400d4/attachment.sig>


More information about the ubuntu-users mailing list