Pages

Wednesday, June 1, 2011

C o n f i g u r e S u d o

Configure sudo to separate users' duty if some people share privileges.
1). Install sudo
root@dlp:~#  aptitude  -y   install   sudo

2). Transfer root privilege to user all.
root@dlp:~#  visudo


2). In addition to the setting [1], set that some commands are not allowed.


3). Transfer some commands with root privilege to users in a group.

4). Transfer a command with root privilege to a user


5). The logs for sudo are kept in " /var/log/secure" , but there are many kind of logs in it. So if you would like to keep only's log in a file, Set like follows.




No comments:

Post a Comment