linux admin (RHEL)

Archived from the original Sajha.com — preserved as posted, replies can no longer be added here.
Start a New Discussion
Archived 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

 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.

ANS · Sep 10, 2013 9:13 AM

 appreciate and what abt that     /bin/su     means?

appleair · Sep 10, 2013 9:23 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  

appleair · Sep 10, 2013 9:28 PM

This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.

Start a New Discussion