New answers tagged

0

I've been using the form username ALL=(ALL) NOPASSWD: /bin/su targetuser


0

Let us assume that you're user abc and you want to switch to user pqr $ whoami abc $ su - pqr password: You should now have switched to user pqr


0

If you are getting error message like this su: PAM adding faulty module: /lib64/security/pam_tally.so su: PAM unable to dlopen(/lib64/security/pam_tally.so): /lib64/security/pam_tally.so: cannot open shared object file: No such file or directory Do this step: ln -s /lib64/security/pam_tally2.so /lib64/security/pam_tally.so Then try su. It should work. ...



Top 50 recent answers are included