Answers for "linux allow user to su to another user"

0

linux allow user to su to another user

#This will allow user1 to login to user2 without password
$ sudo visudo
#add this line
user1 ALL=NOPASSWD: /bin/su – user2
$ sudo su - user2
Posted by: Guest on April-14-2021

Code answers related to "linux allow user to su to another user"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language