Discussion:
[Fab-user] sudo() withoot password on host machine
Sandesh Gaikwad
2018-01-16 05:38:08 UTC
Permalink
Hi,
I using fabric for automation project.I am connecting to host using ssh
key,but when i'm run *sudo("command")* it asks for password. I want to run
*sudo("command")* without password and without any changes in sudoers file
of host machine.So, what can i do to achieve this.
Joseph Lawson
2018-01-16 15:30:26 UTC
Permalink
You must either update the sudoers file or ensure your user has enough
privileges to do the command without sudo.

-Joe
Sent via mobile.
Post by Sandesh Gaikwad
Hi,
I using fabric for automation project.I am connecting to host using ssh
key,but when i'm run *sudo("command")* it asks for password. I want to
run *sudo("command")* without password and without any changes in sudoers
file of host machine.So, what can i do to achieve this.
_______________________________________________
Fab-user mailing list
https://lists.nongnu.org/mailman/listinfo/fab-user
Loading...