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

Edward Holcroft eholcroft at mkainc.com
Mon Feb 17 19:30:24 EST 2014


Only sshd and the user I created are set to nologin.

In /etc/shadow I do see ! in front of my sudo user. What do I do? just
delete it?

ed




On Mon, Feb 17, 2014 at 7:24 PM, Scott McBrien <smcbrien at gmail.com> wrote:

> Check the /etc/passwd file and make sure the she'll hasn't been set to
> /sbin/nologin, also that the user in question hasn't been locked with a
> preceding ! In their encrypted password field of /etc/shadow.
>
> -Scott
>
> On Feb 17, 2014, at 7:09 PM, 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
>
>
> _______________________________________________
> 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
>
>


-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20140217/75553721/attachment-0001.html>


More information about the Ale mailing list