[GRLUG] get back access to root

Michael Mol mikemol at gmail.com
Tue Sep 5 08:19:04 EDT 2006


Did you check that /etc/hosts and /etc/hostname is sane?
If not, can you fix them using sudo and vim?

If you can't use sudo et al, try booting off of a livecd and edit the
files that way.

On 9/4/06, Bob Kline <bob.kline at gmail.com> wrote:
> * used hostname to change,  well,  the host name.
>
> *  now cannot get back in as root.  I get a message
>    saying something like gethostbyname() doesn't work.
>
> What have I done to my self?   Is there a way to get
> back in as root,  or have I found a way of locking myself
> out of the system now?
>
> I won't even get in to why I tried to do this.......  :-(
>
> More tales of  the amateur.
>
>     -Bob
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>


-- 
:wq


More information about the grlug mailing list