Hello,
Before I go typing a lot of stuff that may be useless. Here is the summary of my problem:
==================================================================================================== ====
I cannot log in locally on my Solaris 10/09 x64 system. When I try to log in using my NIS account credentials, the system shows the X Window system trying to load (i.e. "Starting Desktop Login on display :0....." in the console-looking thing (pre-gui)), then it kicks me right back out to the login screen. I am using the Java desktop but the CDE Desktop does the same thing.
I can log in successfully as
root. but I cannot remote console into other systems from my local/trouble box using my NIS credentials; but I can remote into other systems using my NIS credentials using other systems (if that makes any sense). In short, it seems like my NIS credentials seem to work or are valid but that my profile has become corrupt for local logins... ?
==================================================================================================== ====
It all started when....
I was messing around the other day trying to change my default shell from the bourne/basic shell to something else (i.e. ksh or zsh). I read some forums that suggested running the passwd -e (username) command etc... I couldn't get these to work....
Solaris UNIX: Change Default Shell
It may just be coincidence (most likely) but after doing that and looking at the passwd and shadow files (not saving, just using "view passwd" and "view shadow" and immediately quitting (Shift + q -> q), I cannot log in on the system using my NIS credentials. It may have been something else dumb that I did along the way but I can't think of anything else other than that that may have affected my account.
Just because it was my test box, I re-built it thinking that it was something local, and when I still had the problem, I went to the NIS server (in the SMC) and changed my password, reset my password, etc... and it all seemed to work fine from the server-side (i.e. I set my password as something, and was able to get the server to recognize the change in the Remote Console on another system, and I set my password properties where it had to be set "... at next logon...". On my problem/local box, it recognized that I needed to change my password on the first logon, let me change it, and then when the X Window system tries to load, it kicks me back out to the login screen.
I am fairly new to Unix/Linux, so any assistance on where I may start looking is greatly appreciated
.
Thanks.
---------- Post updated at 01:35 PM ---------- Previous update was at 12:32 PM ----------
I created another user account (through SMC in NIS), and it suffers from the same thing on the same computer. I have the same symptoms with the new account on the problem computer.