[CentOS] OT: Scripting with sudo password

Thu Nov 15 02:00:25 UTC 2007
Les Mikesell <lesmikesell at gmail.com>

gjgowey at tmo.blackberry.net wrote:
> 
> The password would not be kept on disk as was pointed out in my first
> e-mail.  The user would be prompted *once* for the password which would
> then be passed to any number of tasks.  A good example would be a
> clusterssh session that requires a password to authenticate against some
> software such as sudo.

Why don't you ssh the command directly as the user that will execute it 
instead of sshing as one user and then changing users on the remote side 
via sudo?

-- 
   Les Mikesell
    lesmikesell at gmail.com