StarCluster - Mailing List Archive

Re: technical problem

From: Steve Darnell <no email>
Date: Mon, 11 Nov 2013 21:28:54 +0000

Hi Yehuda,

Is 'sgeadmin' even in the sudoers list (/etc/sudoers)? I did not think so, but I do not have a cluster running to confirm. If not, sgeadmin will not have sudo privileges without a configuration change.

Alternatively, the 'ubuntu' user should be preinstalled and configured for password-less sudo by Amazon ( since the starcluster image is based on an Ubuntu instance.

Another option is to run a single remote command as root with sshmaster/sshnode ( This approach is functionally similar to sudo with regards to preventing the accidental use of an open root shell. Neither approach will prevent the actual script from doing "bad things" with elevated privileges. This is the approach I have used in the past since it is well supported in starcluster.

Best regards,

From: [] On Behalf Of Yehuda Landau
Sent: Monday, November 11, 2013 1:12 PM
Subject: [StarCluster] technical problem

I want to write a bash script and run on an instance
To do so i login as a user (sgeamin) --> starcluster sshmaster -u sgeadmin mycluster
but then i like to run a script using : sudo [script_name]
BUT was is the SU PASSWORD
i know i can login as root but i would prefer not to
Received on Mon Nov 11 2013 - 16:29:30 EST
This archive was generated by hypermail 2.3.0.


Sort all by: