[K12OSN] Can't log in as root at all. (Using SMB-LDAP)

Krsnendu dasa krsnendu at orcon.net.nz
Mon Jul 25 02:49:10 UTC 2005


I was not able to log in as root until just now. I decided to turn off nscd
to see what would happen. Guess what? Now I did su from terminal and got
into root account. Yippee!!! I don't know if turning off nscd had anything
to do with it but it is working so I am happy.
-----Original Message-----
From: Krsnendu dasa [mailto:krsnendu at orcon.net.nz] 
Sent: Friday, 22 July 2005 11:03 a.m.
To: 'Jon Spriggs'; 'Support list for opensource software in schools.'
Subject: RE: [K12OSN] Can't log in as root at all. (Using SMB-LDAP)

I used the rescue disk and created ln -s
Now when I try to log in as root it goes directly to the message "The system
administrator has disabled your account." 
I have got a feeling this has something to do with SMBLDAP, but I don't know
where to start looking.

-----Original Message-----
From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On Behalf
Of Jon Spriggs
Sent: Tuesday, 19 July 2005 6:26 p.m.
To: Support list for opensource software in schools.
Subject: Re: [K12OSN] Can't log in as root at all. (Using SMB-LDAP)

Firstly, to quote Douglas Adams:- Don't panic!

Next, try running this command

  su -c 'ln -s /root /home/root'

If that doesn't work, try rebooting the box and editing the boot line
for your kernel (in Grub) adding the letter S (with a space before it)
on the end. This takes it into single-user mode, where you can type ln
-s /root /home/root

If that doesn't work, reboot from any redhat or fedora based disk, and
enter recovery mode. This is one of the boot options, and should be
described there.

Hope that helps :)

Jon

On 19/07/05, Krsnendu dasa <krsnendu at orcon.net.nz> wrote:
> 
> 
> I don't know if I did something but I can't log in as root at all. Not
> through su, not through ssh, not from a terminal not from using remote
login
> with cygwin and not even directly at the server.
> 
> The message I get is "Your home directory is listed as: '/home/root' but
it
> does not appear to exist. Do you want to log in with the / (root)
directory
> as your home directory? It is unlikely that anything will work unless you
> use a failsafe session."
> 
>  
> 
> When I choose yes it says, "The system administrator has disabled your
> account."
> 
>  
> 
> I am using SMB-LDAP.
> 
>  
> 
> I need to access the root account. What should I do?
> 
>  
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
> 


-- 
Jon "Four Star Gun" Spriggs AKA
Jon "The Nice Guy" Spriggs

_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>





More information about the K12OSN mailing list