Trouble logging in | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Trouble logging in

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-29-2013
brownwrap brownwrap is offline
Registered User
 
Join Date: Nov 2009
Last Activity: 27 February 2013, 3:08 PM EST
Posts: 61
Thanks: 7
Thanked 1 Time in 1 Post
Trouble logging in

We had a requirement to upgrade to Solaris 10 update 10. This was done to impose new password restrictions. So if I am logged into a machine with the new Solaris, the shadow file looks like this:


Code:
user:BnkEzDH.TQR2c:15734:7:60::35::


If I change the password:


Code:
user:$6$eOHd4.xw$Wmf8X/UZpkfvyZ2MAbnqsHMpAIHvWDCEaA3bWZBbacC.Rm.a8cdQTVYd0JlrCR3ezCbx5U/pbcnn2aYkfcfBM/:15734:7:60::35::



After I change I cannot log back in. If I go back and change shadow to its original entry, I can then log in. It appears to me, the the log in, is not using the same encryption as the password generation.

How come the two are not in sync?

Last edited by brownwrap; 01-29-2013 at 05:11 PM.. Reason: Adding code tags
Sponsored Links
    #2  
Old 01-29-2013
neutronscott's Avatar
neutronscott neutronscott is offline Forum Advisor  
script kiddie
 
Join Date: Jun 2011
Last Activity: 23 July 2014, 10:42 PM EDT
Location: McMurdo Station, Antarctica
Posts: 779
Thanks: 28
Thanked 230 Times in 217 Posts
I don't have access to Solaris, but I'll try to help anyway --

Likely /etc/login.defs or your PAM setup, if Solaris uses either of these.

if you grep for "pam_unix.so" in /etc/pam.d or a /etc/pam.conf, it should have sha512 for the newer password to work.

from a debian/linux machine:

Code:
password        [success=1 default=ignore]      pam_unix.so obscure sha512

The Following User Says Thank You to neutronscott For This Useful Post:
brownwrap (01-31-2013)
Sponsored Links
    #3  
Old 01-29-2013
brownwrap brownwrap is offline
Registered User
 
Join Date: Nov 2009
Last Activity: 27 February 2013, 3:08 PM EST
Posts: 61
Thanks: 7
Thanked 1 Time in 1 Post
OK, thank you. I will give it a look tomorrow, since I am not at the machine. Thanks.
    #4  
Old 01-31-2013
brownwrap brownwrap is offline
Registered User
 
Join Date: Nov 2009
Last Activity: 27 February 2013, 3:08 PM EST
Posts: 61
Thanks: 7
Thanked 1 Time in 1 Post
There was a bit of confusion here

The machine is in Arizona and I was under the impression the Sol 10 box had been upgraded. Today I did a more on /etc/release and found out it hadn't. So the policy.conf had been changed, but the OS didn't know how to handle it. After the suspect machine was upgraded, the problem was resolved. Thanks.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Constant Logging In (After Logging Out) Ccccc Post Here to Contact Site Administrators and Moderators 6 03-02-2010 09:35 AM
Trouble logging in with username and password ilikecows Red Hat 5 01-14-2010 05:55 PM
Having a bit of trouble logging in. billshaw Post Here to Contact Site Administrators and Moderators 5 02-22-2009 12:06 AM
The trouble with... zazzybob What is on Your Mind? 6 01-18-2005 05:01 AM
trouble awk UNIX Desktop for Dummies Questions & Answers 1 11-22-2002 09:51 AM



All times are GMT -4. The time now is 11:20 AM.