I'm unable to login to console of SunOS 5.8.If i type the root for logging it again returns to the login prompt.I'm in some what soup becuse of this.Any urgent help on this will be highly appreciated.
If you can login as another user and are able to 'su', have a look at /etc-/efault/login.
If you find 'CONSOLE=/dev/console' without '#' in the beginning, you ca only login as root at the console, if the line is blnak after '=', you cannot login as root altogether, you can just use 'su'.
If this is not the case, have a look at /etc/passwd, root should have a valid entry for the shell.
If you are unable to logon to the system at all, but you are able to use ftp as root, you don't have do boot from cdrom, you can download /etc/passwd and maybe /etc/shadow, edit them and uplod them.
Best luck
Stefan
Thanks for the replies.I tried doing hash (#) to CONSOLE=/dev/console in /etc/default/login and i was able to login to server by telnetting with root,but my problem is my server is attached to serial monitor where i'm facing this problem.If i type root at login prompt the login screen appreas again without prompting for the password.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.