Tagged Questions
0
votes
2answers
812 views
Avoid asking password if `su -m user command` is used under `user`?
If I run the script containing su -m user service userservice start under root user, I do not need to enter the password. But when I run it under user user, it asks passwords all the time. That really ...
2
votes
4answers
424 views
Allow paswordless user to change to another passwordless user
I have two users dev and tomcat neither of them have a password.
How can I allow dev 1 do su - tomcat without having him having to enter any credentials?
1 connects with ssh keyfile