New answers tagged su
I've been using the form username ALL=(ALL) NOPASSWD: /bin/su targetuser
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
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