LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   root account cann't login (https://www.linuxquestions.org/questions/linux-newbie-8/root-account-cannt-login-284802/)

ringerxyz 02-01-2005 03:30 AM

root account cann't login
 
hi ,everyone
my red hat 8.0 has a problem that the root account cann't login,I'm sure that the password is correct because I can use su - root,and other user can login without any problem, i remember that i had some services disabled befor this problem occured,Does anyone know how to deal with it?
thank you very much

MasterC 02-01-2005 03:41 AM

Some distros purposely disable this ability. You may have thrown a switch that enabled this 'feature'. To 'deal' with it, I'd suggest logging in as a user, then su - 'ing' to do the required task, then exiting.

Cool

ringerxyz 02-01-2005 07:20 PM

hi MasterC
thank you for your reply,the problem is when a logging in as a user,and then su - root ,I found that some programs cann't run any more ,for example:setup will exit without any information

btmiller 02-01-2005 07:32 PM

Check the contents of your /etc/securetty file as root is not permitted to login to any console not in that file. Also, please check your logs for any helpful information.

JrLz 02-01-2005 08:19 PM

hm......... what's wrong???
have tried to change your root password?
you can use su and passwd for that

ringerxyz 02-01-2005 09:19 PM

Quote:

Originally posted by JrLz
hm......... what's wrong???
have tried to change your root password?
you can use su and passwd for that

yes,I tried many times to change my root password,
I'm sure it's correct because I can run su - root without any problem

JrLz 02-02-2005 04:33 AM

what did the error report say?
just can't login? just wrong password?

I have this kind of problem too, but as other users than root.
with error report : /bin/bash denied
what's yours?

ringerxyz 02-02-2005 06:53 PM

Quote:

Originally posted by JrLz
what did the error report say?
just can't login? just wrong password?

I have this kind of problem too, but as other users than root.
with error report : /bin/bash denied
what's yours?

It only says login incorrect,other users donn't have such kinds of problem


All times are GMT -5. The time now is 09:42 AM.