Problems setting password.


 
Thread Tools Search this Thread
Operating Systems Solaris Problems setting password.
# 15  
Old 05-16-2014
@DonC & MadeInGermany......We (us UK boys) jumped to that conclusion too but having looked it up, it appears PASSLENGTH sets the minimum password length, not the maximum length. Hence my removing my post#7 because I thought I was wrong. So the result was that we were looking for something else. Are we wrong? We've all seen edits of passwd and shadow files prevent logins so I was wondering whether to call for the contents of /etc/passwd and /etc/shadow to be posted just to check the format. Repeat, we concluded that the setting of PASSLENGTH was not the cause. Anyway, thanks to you both for joining this thread; I think this is still a mystery, and needs heavy expertise like yours to solve.

---------- Post updated at 10:09 AM ---------- Previous update was at 09:50 AM ----------

I found this on OTN:
https://community.oracle.com/thread/...art=0&tstart=0

Is this system definitely Solaris 10???? Or could it be Solaris 8 or 9?
These 3 Users Gave Thanks to hicksd8 For This Post:
# 16  
Old 05-16-2014
It has been a couple of decades since I did any serious sys admin work and I've obviously not kept up with recent changes. So, as the next wild speculation, could there be a plug-in authentication module (PAM) installed that is only looking at the 1st six characters of a password for some users?
# 17  
Old 05-16-2014
Please post the content of:

Code:
/etc/security/policy.conf

It seems like this weird behaviour is not unknown:
.InsecureSystem.: Solaris 10: Password Fail
You learn something new every day!!!!

Also, see this Oracle doc page:
Synopsis - man pages section 4: File Formats
Seems that if you don't DEPRICATE the previous algorithm it continues to get used for password changes. Only new accounts set up use the new algorithm.

Last edited by hicksd8; 05-16-2014 at 02:53 PM..
# 18  
Old 05-20-2014
Fix the problem.

I can fix the problem by changing the data in the file /etc/security/policy.conf from CRYPT_DEFAULT=__unix__ to CRYPT_DEFAULT=md5 and reset all users password. Thank you so much for your help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Password compliance setting

I need to set password compliance for some servers in my company. However, the requirements are that we need to set different password policies for 3 different user groups within the company. These are : System Users: i.e root, etc Batch/Application Users: oracle, bscs, etc Standard User:... (0 Replies)
Discussion started by: anaigini45
0 Replies

2. SuSE

Setting password complexity

Hi, I am setting password complexity in SLES 11. I am able to do most of things pam-config -d --pwcheck pam-config -a --cracklib pam-config -a --cracklib-minlen=8 pam-config -a --cracklib-dcredit=-1 pam-config -a --cracklib-ocredit=-1 pam-config -a --pwhistory pam-config -a... (1 Reply)
Discussion started by: solaris_1977
1 Replies

3. AIX

Problems setting up multipathing

What is the following output telling me? fget_config -Av ---dar0--- User array name = 'BSNorth-DS4300' dac3 ACTIVE dacNONE ACTIVE Disk DAC LUN Logical Drive hdisk4 dac3 0 TestDiskForAll ---dar1--- User array name = 'BSNorth-DS4300' dac2 ACTIVE dacNONE ACTIVE Disk DAC ... (0 Replies)
Discussion started by: petervg
0 Replies

4. Solaris

default password setting

Can anyone kindly explain to me the meaning of the default values of the code below please? Thank you very much #MINDIFF=3 #MINALPHA=2 #MINNONALPHA=1 #MINUPPER=0 #MINLOWER=0 #MAXREPEATS=0 #MINSPECIAL=0 #MINDIGIT=0 #WHITESPACE=YES (1 Reply)
Discussion started by: cjashu
1 Replies

5. AIX

Setting up Password Security in AIX 5.3

In AIX 5.3 tech level 11: I want to setup a default password policy to have at least one of each of the following: alpha character, numeric character, and "special" character ("!", "&", etc). The smitty Security and Users --> Passwords --> System Password Policy screen only offers "MIN... (2 Replies)
Discussion started by: kikwit_phil
2 Replies

6. UNIX for Advanced & Expert Users

setting password in ldap

Hi, I have installed open ldap according to the order from this video: YouTube - bowendenning's Channel sudo apt-get install slapd sudo apt-get install ldap-utils sudo apt-get install phpldapadmin The installaion was good. However it did NOT ask from me any password. After I enter to... (0 Replies)
Discussion started by: programAngel
0 Replies

7. Solaris

Password Setting

Hi: Could I set the: - Login Time-out Interval - Password History Count - Lockout Duration - Lockout Threshold for user account in Sun Solaris 5.8. Thanks for your help (6 Replies)
Discussion started by: mlsun
6 Replies

8. UNIX for Advanced & Expert Users

setting password for user using useradd?

hi all i am writing a script to create user and group from the input given to script for eg. script needs to values 1. mode - 1 or 2 2. id - if mode is 1 then id should be 2 char like x1 / v1 / v2 if mode is 2 then id should be 1 char like x / v / e from these to values group is... (1 Reply)
Discussion started by: zedex
1 Replies

9. UNIX for Dummies Questions & Answers

Please help, color setting problems

I am one of the newbies. I am trying to install RedHat Enterprise AS on my notebook (i know it is not a good start to go with it, but it is the only dvd i have) on Windows XP by using the Virtual PC 2007. The installation processes were very fine. However, i have problem when it boot up to its... (2 Replies)
Discussion started by: sanlen
2 Replies

10. UNIX for Dummies Questions & Answers

Help in setting up password without Interaction.

Can anybody tell me how can I create an account without having to enter the password after editing the vipw file. I mean the system should automatically take care of the password encryption in the shadow file and I don't to enter the password again and the Account should be ready to go. ... (3 Replies)
Discussion started by: syedifti
3 Replies
Login or Register to Ask a Question