Tuesday, February 26, 2013

Configure Sudo for RAD

Configure Sudo for RAD

Login as root
run command visudo
# visudo
Add below entries
%admin ALL=(ALL) ALL
Cmnd_Alias RAD_CMDS = /opt/IBM/SDP/eclipse
%wheel ALL=(ALL) NOPASSWD: RAD_CMDS  # this is local group, if the user not local one, you may need add line as below
aniu ALL=(ALL) NOPASSWD: RAD_CMDS
Add target users in group wheel
# vi /etc/group
wheel:x:10:aniu

login as target user and run below command:
$ sudo -n /opt/IBM/SDP/eclipse

No comments:

Post a Comment