Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello, I have a generic user whi

Status
Not open for further replies.

AnjuSingh

Systems Engineer
Dec 6, 2018
2
AU
Hello,

I have a generic user which the application team switches to after logging in as their named user login. But one of the user has sudo access and logs in as root and then switches to generic user. i want to prevent that. how can this be done?
I dont want to revoke the user's sudo access.
 
The software "powerbroker" may be able to help you. It is an add-on to unix/Linux with the additional benefit of logging accesses in case you need them for audit purposes.

==================================
advanced cognitive capabilities and other marketing buzzwords explained with sarcastic simplicity


 
in sudoers file deny this particular user switching to the generic account, leaving the rest intact.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top