[ale] Need urgent help - locked myself out with nologin

Scott McBrien smcbrien at gmail.com
Mon Feb 17 19:40:04 EST 2014


On the last image I saw from Amazon (RHEL not Ubuntu) they had an rc.local that scrambled the root password every boot.  So you don't know what the password has been set to, making su not useful :-(

-Scott

> On Feb 17, 2014, at 7:23 PM, Sam Davis <aracthabar at gmail.com> wrote:
> 
> Can you not do a 'su -' with the root password?
> 
> Sam
> 
>> On Monday, February 17, 2014, Edward Holcroft <eholcroft at mkainc.com> wrote:
>> Created a user with nologin option on one of my Amazon servers. Now cannot connect as my ubuntu/sudo user. Somehpw the nologin option applies to my sudo user, so keep getting permission denied message. I can connect as an ordinary user that I created, but no way to get root from there.
>> 
>> I mounted the drive to another server, thinking I'd just delete /etc/nologin, and problem solved, except there is no /etc/nologin file to be found
>> 
>> Help!
>> 
>> ed
>> 
>> -- 
>> Edward Holcroft | Madsen Kneppers & Associates Inc.
>> 11695 Johns Creek Parkway, Suite 250 | Johns Creek, GA 30097
>> O (770) 446-9606 | M (770) 630-0949
>> 
>> MADSEN, KNEPPERS & ASSOCIATES USA, MKA Canada Inc. WARNING/CONFIDENTIALITY NOTICE: This message may be confidential and/or privileged. If you are not the intended recipient, please notify the sender immediately then delete it - you should not copy or use it for any purpose or disclose its content to any other person. Internet communications are not secure. You should scan this message and any attachments for viruses. Any unauthorized use or interception of this e-mail is illegal.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20140217/e1768399/attachment.html>


More information about the Ale mailing list