Monday, October 26, 2020

sudo access to ldap user

 Typically, if you dont have sudo and "gain" sudo access, you cant just add yourself to sudo group. In that scenario, we need to reboot in "advanced mode" and gain access to root shell. Once in, you can have following : 

$ sudo cat /etc/sudoers.d/hpatil 

hpatil ALL=(ALL) ALL

and then we will have sudo access. 

No comments:

Post a Comment