unable to login Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris unable to login Solaris 10
# 1  
Old 02-03-2011
[SOLVED] unable to login Solaris 10

I have inherited a solaris 10 server. I went to log into it the other day over the console connection, and after sucessfully entering the password, I was booted back to the login prompt with no errors visible.

If I enter an incorect password, the console displays 'incorrect password' and kicks me back to the prompt. A correct password does not display this error but still kicks back to the login prompt. A hard reboot (hitting the power button) does not resolve the problem, and there are no errors apparent when the machine is booting.

I did not set up the server and i have no idea what the guy before me did to it, he has now left. Any thoughts on what could be wrong?

I considered a full HDD but could not recreate the problem on a virtual machine? I would also expect more errors on the boot sequence if the disk were indeed full.

Thanks in advance

Sol-Nova

Last edited by Sol-nova; 02-17-2011 at 05:53 AM.. Reason: Set to solved
# 2  
Old 02-03-2011
Boot off CD or a jumpstart server and mount your root disk. Check your passwd file entry. It's possible that the shell definition is incorrect. Check your messages file. Check that your defined home directory exists. Also, check if /etc/nologin exists. Although, that won't keep root from logging in from the console. Assuming that you are logging in as root.
# 3  
Old 02-03-2011
Thanks for the reply, just need to figure out how to get to the OK> prompt over a telnet connection to the console, I think it best to directly connect these things up.

And yes, my predecessor seemed to have committed many enourmous admin faux pas, only a root account, no quotas on zfs mounts, etc etc.

From experience, the server has been fine (in one manner of speaking at least), in fact i was able to log in about a month ago just fine, and i think the people with access to the box is very limited. Very strange.
# 4  
Old 02-03-2011
what hardware are you on?
# 5  
Old 02-03-2011
Hi Duke,

Sorry forgot to mention that, its a SPARC processor, im not on site at the moment so I cant tell you much more for now. I am assured there is 'plenty' of disk space.

The server appears to be a Sun T2000, but im going on memory, and what a google image search shows up!
# 6  
Old 02-04-2011
Assuming that you are able to logon to the sc, you can run the braek command to send a break to the OS. Be aware that you may have some clean-up afterwards. You might have to run anfsk on a filesystem etc.
# 7  
Old 02-14-2011
OK, so i got into the server, it is a T2000 btw.

Single user mode gets me in ok, and i can mount all zfs drives etc. I noticed the authlog is about 60Mb+ and logadm hasnt run for about 15 months, and no one noticed.... (disclaimer, i only came to this a few weeks ago).

The authlog shows a load of cron auth errors for the root cron.

I created a test user in single user mode and set up the password, rebooted and tried to login as the new user, this failed, same problem as the root user, just get back to the login prompt with no error message.

There is also plenty of space on the drive, so its not a disk full problem. The hostname.[interface] file seems to have vanished, im sure it was there before, which explains why the server now refers to itself as 'unknown'.

Im beginning to think there may be a problem with the login scripts? does this sound viable? Any other ideas are welcomed as im stumped!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Unable to login with any user

Hi Please I need help on trying to login on a solaris 10, blade server. login as: root Using keyboard-interactive authentication. Password: I even try a normal user, I do not get the prompt. I suspect the reason could be that /varis at 98% because I have configure email alerts to warn me... (9 Replies)
Discussion started by: fretagi
9 Replies

2. Solaris

Newly relabelled disc unable to initialize to Solaris 8 login - please help

We are having a problem with initializing Solaris 8 installed on a Sunblade 1500 after having cloned the hard disc. (The cloning process was done in a windows environment. Not a UNIX environment.) Immediately after the cloning process neither hard disc would boot until the format label... (10 Replies)
Discussion started by: DR_RALT
10 Replies

3. Red Hat

Unable to login after patching

Hello, Sorry for posting here..i know there is another section for Urgent...However, i could not locate it... Issue: ) After patching rhel 5.8 with couple of patches. When user is trying to login via putty . They get login promt and when they type their username, screen get freezed kindaa... (3 Replies)
Discussion started by: saurabh84g
3 Replies

4. Forum Support Area for Unregistered Users & Account Problems

Unable to login

Hi, It has been a while since I logged into Unix.com and I have forgotten my userID and password. Please help. Thanks, Ananth. (1 Reply)
Discussion started by: Unregistered
1 Replies

5. Solaris

Unable to login Solaris 10 Sparc - Data Access Error

Hello everyone, This is the first time I am installing Solaris. I have SunBlade 1500 Wrkstn. I installed Solaris 10 Sparc. The installation went successfully but I don't get the login screen. I get the following error message: Boot device: disk:a File and agrs:- Data Access Error Ok ... (4 Replies)
Discussion started by: mfsaeed
4 Replies

6. Solaris

Unable to login

Hi, I am doing Active Directory(Win 2008) and UNIX(Solaris 10) integration. I was unable to create home directory for the Active Directory users on the first login. So i added other session required pam_mkhomedir.so skel=/etc/skel umask=0022 to pam.conf in /etc/pam.conf. But now I am... (2 Replies)
Discussion started by: sathya47
2 Replies

7. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

8. UNIX for Dummies Questions & Answers

AIX Unable to Login

Was OK on AIX5.2. Have installed AIX 5.3 ML02 and now only root can log in. Other users get "You are not allowed to login at this time." Once in as root, it's possible to su or 'su -' to other users. All user parameters are OK. (0 Replies)
Discussion started by: skinthegoat
0 Replies

9. Forum Support Area for Unregistered Users & Account Problems

Unable to login

Hi Admin/Moderator, I am unable to login with my user id "chanakyahere", even it is not accepting my mail id to which i got one reply aso.. it is saying that i suppied "mail id that is not recognised".. please look forward regarding this problem.. i joined on last saturday i.e on... (1 Reply)
Discussion started by: Chanakya
1 Replies

10. UNIX for Dummies Questions & Answers

unable to login HELP!!!

Hi, I have installed for the first time sun solaris on my pc and I am trying to learn unix. I created a new user using the following steps: -create a new group : groupadd work -created a new user: useradd -g work -d /export/home -s /usr/bin/ksh gbruno (i checked the path of the shell... (3 Replies)
Discussion started by: giulianob
3 Replies
Login or Register to Ask a Question