<div dir="ltr">What tools did you use to create the AMI? Did you use the web console or you use the StarCluster command?<div><br></div><div>If you use the SC ebsimage command, then did you change your password on the image host?</div>
<div class="gmail_extra"><br clear="all"><div>Rayson<br><br>==================================================<br>Open Grid Scheduler - The Official Open Source Grid Engine<br><a href="http://gridscheduler.sourceforge.net/" target="_blank">http://gridscheduler.sourceforge.net/</a><br>
<a href="http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html" target="_blank">http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html</a></div>
<br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 3:17 PM, Dan Tenenbaum <span dir="ltr">&lt;<a href="mailto:dtenenba@fhcrc.org" target="_blank">dtenenba@fhcrc.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
This might sound like an EC2 question that has nothing to do with starcluster, and in fact I have asked it on some AWS forums (there&#39;ve been no answers). However, I have never encountered this problem before until I started modifying a starcluster AMI, so I wonder if it is related to what&#39;s on that AMI.<br>

<br>
I made a custom AMI based on the starcluster AMI ami-3393a45a (us-east-1 starcluster-base-ubuntu-13.04-x86_64 (EBS))).<br>
<br>
I installed a bunch of additional software and I also set the password of the ubuntu user to (let&#39;s say) &#39;foobar&#39;.<br>
<br>
The reason I did that is that I installed a web app that uses unix usernames and passwords for authentication. So I needed the ubuntu user to have a known password.<br>
<br>
I then made a new image based on my running instance. Then I started a new instance from that image.<br>
I ssh&#39;d to that instance as the ubuntu user and typed &#39;passwd&#39;. I was prompted for my existing password and entered &#39;foobar&#39;. I then got:<br>
<br>
passwd: Authentication token manipulation error<br>
passwd: password unchanged<br>
<br>
This tells me that the password for ubuntu is not &#39;foobar&#39;.<br>
<br>
Another way to test this is to try &#39;su - ubuntu&#39;. This prompts for the password, I enter &#39;foobar&#39; and it says &quot;su: Authentication failure&quot;.<br>
<br>
So...in a nutshell, when I change the ubuntu password, this change does not survive the process of creating a new AMI.<br>
<br>
Could this be due to the way the starcluster AMI is configured? Is there some script that runs when it boots that re-sets that password? I&#39;m not passing any user-data when I start the instance.....(I also tried a crontab @reboot job that changes the password and that didn&#39;t work either....so maybe whatever is messing me up is happening after that job is run).<br>

<br>
Thanks,<br>
Dan<br>
_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
</blockquote></div><br></div></div>