Sudoers on Oracle Enterprise Linux
— Sticky note on how to allow OEL admins (dba’s?) to execute any command with sudo
$ su -
# visudo
At the end of file add the following:
## Allow users in group admin to run all commands
%admin ALL=(ALL) ALL
Add new group (admin) or use dba group if you want dba’s to have full access of the system:
# groupadd admin
# usermod -a -G admin alesk
Verify group membership for user:
# id alesk
Test sudo privilege, for example gain root shell:
$ sudo -s
Posted on 07.07.2011, in Linux, PostgreSQL, etc. and tagged Linux. Bookmark the permalink. Comments Off on Sudoers on Oracle Enterprise Linux.