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: Sotomayor, Vicente (ITD)
Subject: Re: [Fab-user] Trouble running ad-hoc commands w/o having to re-enter password for each host
Date: Tue, 5 Aug 2014 12:19:34 -0400

>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






reply via email to

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