Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris 8 login problems

Status
Not open for further replies.

bluedragon2

IS-IT--Management
Jan 24, 2003
2,642
US
I have just encountered the following problem:

Login to console as root and the CDE interface comes up with error box stating problems with dtlogin. Clicking OK takes me back to the console login screen. Doing it again, I close the error window and am able to acces a terminal session.

I ran fsck and everything is fine. I tried to su to a user and I get no shell. I try su - to a user and I get NO Directory!. I have checked permissions and ownership on the /export/home directory and everything is as it should be. I checked the /etc/passwd file and everything there is as it should be. If I try to SSH into the box as a user, I get a permissions error. I turned on telnet and tried getting the No Directory! error.

Does anyone have any ideas on what to check next?

Also, during boot, everything is what it should be.

Thanks

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
I did find this file in the / directory:

-rw------- 1 root other 677 Sep 15 14:


And that is a complete listing of the file. It has no name and the timestamp is as appears.

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
It probably has some non-printable characters in the name. Try doing a...
Code:
ls -lab /
That will print all of the non-printable characters in the name in an octal notation (\ddd).

I don't think that file has anything to do with your problem, unless it's a corruption in the filesystem. But a [tt]fsck[/tt] should have cought and fixed that.
 
ls -lab gives me:

-rw------- 1 root other 677 Sep 15 14:59 \010\177\177


How can I view or remove this file?



[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
I guess rm '\010\177\177' or rm \\010\\177\\177?

I don't mind people who aren't what they seem. I just wish they'd make their mind up.

Alan Bennett.
 
neither works, also " " does not work

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
I believe the \010 is a "Tab". So type "[tt]rm -i '\<tab>*'[/tt]", where you hit the Tab keye instead of the "<tab>". Hitting the Tab key right after the backslash will insert the tab character you're looking for. The "[tt]-i[/tt]" will make it confirm before deleting anything, a safe thing to do when removing things in the root directory.
 
Using file manager, I was able to change the name of the file to a normal name. The file was a copy of the passwd file. I deleted the file and rebooted and now able to remotely login in and su to a user.

???

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top