← Back to Kurakani

linux admin (RHEL)

Original Post

how do you understand this sudoers file????? help appreciated [sd952814@prh00768.lhsprod /var/fedex/mkacct/rules]$ cat rmas.sudoers ###################### # RMAS ADMIN SUDO RULES ###################### %rmascm ALL = /bin/su - *rmasadm %rmascm ALL = /bin/su - /opt/VRTS/bin/hastatus -sum [sd952814@prh00768.lhsprod /var/fedex/mkacct/rules]$ cat winds.sudoers ###################### # WINDS-APP ADMIN SUDO RULES ###################### %dbaag ALL = /bin/su - oracle %windscm ALL = /bin/su - windsadm %windscm ALL = /bin/su - wxdist %windscm ALL = /bin/su - wxweb

appleair
Sep 10, 2013 8:10 AM · 14,060 views
3 Replies
ANS Sep 10, 2013 9:13 AM
e.g. %dbaag ALL = /bin/su - oracle In your system there exists a group named 'dbaag" and a user id "oracle". Above statement says - allow any users that are member of group "dbaag" to switch to user "oracle" using command sudo su - oracle This enables the user run applications/commands that were only allowed for 'oracle' user (e.g. database realted). For detail- check linux manual or some good tutorial.
appleair Sep 10, 2013 9:23 PM
appreciate and what abt that /bin/su means?
appleair Sep 10, 2013 9:28 PM
i know these should be preety easy but i doesn't understand question.. wanna bother u one more time with another question down below... pls just tel me is this means to untar that file or what??? Please load the following tarfile into fox stage (located in pub/sep13): fox_4.11.1.SEP13.09Sep13.tar Thanks, really appreciated help
Login to join the conversation.

You might be interested in...

Recent Classifieds View all
Upcoming Events View all
Service Providers View all
Ask Sajha AI Assistant