Re: OT: Scripting with sudo password

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



gjgowey@xxxxxxxxxxxxxxxxxx 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@xxxxxxxxx


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux