LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-14-2008, 10:25 AM   #1
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
user login hangs (root ok)


Having an issue after patching a Solaris 9 server, it appears that normal users cannot login. I enabled direct root login and root logs in without an issue.

I have tried the following:
ssh as a normal user with a command. (works)
example: ssh foobar uptime

change my shell to something else (doesn't help)

I added a line to the end of my .profile and I also hard set my path (doesn't work)
# cat /home/blink/.profile
# This is the default standard profile provided to a user.
# They are expected to edit it to meet their own needs.

MAIL=/usr/mail/${LOGNAME:?}
PATH=$PATH:/usr/sbin
PS1="\u@\h \w -->"
alias x=clear
PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/openwin/bin:/usr/sbin
echo end of .profile

when I ssh I get the following:
ssh foobar
Authorized uses only. All activity may be monitored and reported.
end of .profile
mesg: cannot stat

I've also minimized /etc/profile, changed /etc/motd, /etc/issue and I see changes but none allow me to log in.

To me it looks like it's after my .profile is read.

I also checked /etc/passwd and /etc/shadow for errors and ran pwconv just in case and still nothing.

/etc/ssh/sshd_config and /etc/ssh/ssh_config look like working servers.

Any ideas?
 
Old 04-14-2008, 02:08 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
back-out the patch ?
 
Old 04-14-2008, 07:57 PM   #3
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Original Poster
Rep: Reputation: 63
Still researching it, Co-worker found an error related to language US-en or something similar, It quit working after a patch cluster so I'm trying to figure it out rather than back it out.
 
Old 04-15-2008, 09:44 AM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Original Poster
Rep: Reputation: 63
Something other strange things...
when I ssh foobar /bin/bash I get in and can run some commands. (ls, uptime, etc) however it appears that the disk isn't syncing like I tried to create a tar file and it looked like it worked but then nothing was created. I edited my .profile and removed a line that echoed to the screen and the next time I logged in it still looked like it was there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 04:27 PM
Fresh Fedora 8 Installation Hangs after Root Login threefivezero Linux - Newbie 11 11-07-2009 05:53 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration