Re: Best way to log sudo group

[email protected]
Newsgroups gmane.linux.redhat.general
Message-ID <[email protected]>
Prashant Singh wrote:
> Dear All,
>
> What is the best way to give root priviliges and also log thier activity
> logs. What I did was I have created a user added to group assigned admin
> rights to the group using entry:-
>
> %group_name ALL = ALL       ALL

We have it as
User_Alias ADMIN = <list of users>
ADMIN ALL=(ALL) ALL

After that, you need your password, UNLESS you sudo again in a short time,
like within a minute or two. And all such commands issued should be in
/var/log/secure.

And I hope you've updated to CentOS 6.4 from 6.0....

      mark

-- 
redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.