To add users to sudo group so that password won't be prompted with ssh.
For debian/ubuntu:
sudo visudo
Then add below line at the end of file.
user1 ALL=(ALL) NOPASSWD: ALL
For centOS:
su -
root> visudo
then do the remaining part.
For debian/ubuntu:
sudo visudo
Then add below line at the end of file.
user1 ALL=(ALL) NOPASSWD: ALL
For centOS:
su -
root> visudo
then do the remaining part.
No comments:
Post a Comment