LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-02-2020, 03:47 PM   #1
Max_Naqish
LQ Newbie
 
Registered: Aug 2020
Posts: 2

Rep: Reputation: Disabled
Solaris 10 - password expired, enter new password, access denied


I am new to Solaris OS. I implementation few security polices on my solaris machine, after few days, it notifies --warning your password has expired, please change it now, Enter new password: (i gave every type of combination here), it says --Access denied--, enter password. -I tried all of my user-accounts.

I reset all passwords in /etc/password and shadow file (boot from CD and mount disk) I change values in /etc/ssh/sshd_config, /etc/default login and /etc/defaults/password 2x machines in cluster, both behaving same, services are running on 1x node other is being used for managing this issue. Please guide. Thanks.

More: I even commend (using # sign) /etc/default/login, /etc/default/passwd, /etc/ssh/sshd_config files for almost all entries. I, tried to reset passwords using /etc/shadow file by removing encrypted entries, it say to enter "new password" afterwards "Access denied" I am using putty to access machines. During implementation of polices, i disable following services as well: Telnet FTP finger sendmail rlogin
 
Old 09-03-2020, 12:17 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,781

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Quote:
Originally Posted by Max_Naqish View Post
I am new to Solaris OS.
Never too late...
What Solaris 10 update are you running?
Quote:
I implementation few security polices on my solaris machine
Which one? Where did you find them?
Quote:
, after few days, it notifies --warning your password has expired, please change it now, Enter new password: (i gave every type of combination here)
Combination of what?
Quote:
, it says --Access denied--, enter password. -I tried all of my user-accounts.
Including root?
Quote:
I reset all passwords in /etc/password and shadow file (boot from CD and mount disk) I change values in /etc/ssh/sshd_config, /etc/default login and /etc/defaults/password 2x machines in cluster, both behaving same, services are running on 1x node other is being used for managing this issue.
What did you change exactly?
What cluster software?
Quote:
More: I even commend (using # sign) /etc/default/login, /etc/default/passwd, /etc/ssh/sshd_config files for almost all entries.
What did you comment? What did you left?
Quote:
I, tried to reset passwords using /etc/shadow file by removing encrypted entries, it say to enter "new password" afterwards "Access denied" I am using putty to access machines. During implementation of polices, i disable following services as well: Telnet FTP finger sendmail rlogin
What returns this command:

Code:
grep "^passwd:" /etc/nsswitch.con
?

Last edited by jlliagre; 09-03-2020 at 12:18 PM.
 
1 members found this post helpful.
Old 09-05-2020, 01:24 PM   #3
Max_Naqish
LQ Newbie
 
Registered: Aug 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks a lot to all of you, issue has been resolved.
Solution:
https://www.cyberciti.biz/faq/unders...tcshadow-file/

Value at the 4th " : " of each user was mistakenly change to 91 days, that the reason system was not allowing me to change the password.
 
Old 09-05-2020, 04:19 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,781

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Thanks for the feed-back!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
disable password reset prompt at login for expired password lois54 Linux - Security 0 08-10-2018 06:44 PM
Solaris 10 root as a role has expired nulls007 Solaris / OpenSolaris 1 11-21-2012 11:51 AM
Unable to enter password in terminal to enter as root.. ANISHKUMAR.R Linux - Newbie 5 08-07-2010 07:46 AM
Expired Root Account/Password for Solaris 8 linux_pioneer Solaris / OpenSolaris 12 09-23-2007 02:23 AM
"Disk boot failure. Enter system disk and press enter" Fear58 Linux - Hardware 3 06-25-2004 05:17 PM

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

All times are GMT -5. The time now is 04:41 AM.

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