Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sudo

0 views
Skip to first unread message

magd...@my-dejanews.com

unread,
May 25, 1999, 3:00:00 AM5/25/99
to
Sudo on my machine is set up and it's working the way we want to. My
question is how can I tell if somebody is logging in as sudo when I
type "who" command.
I'd like by typing "WHO" command recognize sudo users.

Is this possible?

Regards,
...Magda


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

Anami Purush

unread,
May 26, 1999, 3:00:00 AM5/26/99
to
someone doesn't log in as sudo (unless you happen to have an account called
"sudo") but that's a different story altogether.

when you (or whomever) built sudo, there would have been a setting you can
specify for logging sudo commands in the config.h file.

you can review this log to see who executed what - where - when.

btw, you will want to be cautious what you allow a given user to do using
sudo. for example, do not let a user run something with sudo from which you
can start a shell, because that shell will be a root shell (e.g. emacs).
consider what a user needs to do as root, and give him permissions to run
only that as root.

anami

<magd...@my-dejanews.com> wrote in message
news:7iej22$2kk$1...@nnrp1.deja.com...

0 new messages