1833758 Members
2583 Online
110063 Solutions
New Discussion

login as root

 
karthik_in83
Frequent Advisor

login as root

when you login as root,what are the possible causes to get errors? for ex.nologin file, root is in shutdown.allow like that.......
can anyone give me the answers?
6 REPLIES 6
Court Campbell
Honored Contributor

Re: login as root

A better description if the error(s) you are seeing would help. For all I know the / file system could be at %100.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
tsf_1
Frequent Advisor

Re: login as root

Yes, avoid root filesystem full to prevent root login failed is important.

Others may be "no shell" if /etc/passwd has invalid shell indicated. Sometimes it can be invalid data in /etc/passwd or /etc/group file, you may check validity of these files with 2 commands below:

#pwck
#grpck

If you see problems here, make the necessary changes.
be willing to do, be happy to bear
karthik_in83
Frequent Advisor

Re: login as root

hi,

I heard this sentence from my friend....

If the /etc/security/passswd/ file's permission is 600,root can login. If it is not,root cannot login.

Is it true? If yes, can anyone explain?

by karthik
karthik_in83
Frequent Advisor

Re: login as root

can anyone tell me the reasons for root login fail?
navin
Super Advisor

Re: login as root

Karthik,
Why don't you post the error message when you login as root?
Thanks
Learning ...
karthik_in83
Frequent Advisor

Re: login as root

hi navin,

i had a question in interview like this..

what are the possible cause unable to login a system as root?
can u tell me the possible cause?