fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Trouble running ad-hoc commands w/o having to re-enter pa


From: Waldbieser, Carl
Subject: Re: [Fab-user] Trouble running ad-hoc commands w/o having to re-enter password for each host
Date: Tue, 5 Aug 2014 13:54:21 -0400 (EDT)

Yes, I *could* do that, but I don't really want to.
I want to have to actually type in my password to use rootly powers.
I just don't want to have to type it in multiple times.

Shouldn't fabric store the password like it does when I run an actual fabfile?
In that case, I enter my password one time, and it is reused for each host.

Thanks,
Carl

----- Original Message -----
From: "Vicente Sotomayor (ITD)" <address@hidden>
To: address@hidden
Sent: Tuesday, August 5, 2014 12:19:34 PM
Subject: Re: [Fab-user] Trouble running ad-hoc commands w/o having to re-enter 
password for each host

>Message: 1
>Date: Tue, 5 Aug 2014 11:16:33 -0400 (EDT)
>From: "Waldbieser, Carl" <address@hidden>
>To: address@hidden
>Subject: [Fab-user] Trouble running ad-hoc commands w/o having to
>      re-enter password for each host.
>Message-ID:
>        <address@hidden>
>Content-Type: text/plain; charset=utf-8
>
>
>Sometimes, I want to just run an ad-hoc shell command on multiple hosts that 
>requires elevated privileges.  E.g. I might want to grep a couple >logs that 
>are not world-readable.
>

>So I had to type my password in 2 times, even though it is the same on each of 
>the 2 servers.  Am I doing something wrong?

>Thanks,
>Carl Waldbieser
>ITS Systems Programmer
>Lafayette College


------------------------------

You should be able to modify your sudoers file on the boxes so it won't prompt 
you. Something like:
 user_name      ALL=(ALL)       NOPASSWD: ALL




_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]