Viclyn
asked on
Linux, RHEL 5 - password. Only 8 characters are being seen
I changed a password to a more complex password. But only the first 8 characters are recognized.
For example:
MyPassword437882
...if you just type
MyPasswo
...it gets you in.
How do I fix this on new and/or existing accounts?
For example:
MyPassword437882
...if you just type
MyPasswo
...it gets you in.
How do I fix this on new and/or existing accounts?
ASKER
I don't see a pam.conf file, but I do have a pam.d directory. I'm not sure what needs to be modified or if anything was removed. To the best of my knowledge, nothing was removed.
I don't have a RHEL 5 machine handy, but on RHEL 6 I have:
[root@ms1 ~]# ls /etc/pam.d/
atd eject other reboot screen ssh-keycat system-auth
chfn fingerprint-auth passwd remote smartcard-auth su system-auth-ac
chsh fingerprint-auth-ac password-auth rhn_register smartcard-auth-ac subscription-manager
config-util halt password-auth-ac run_init smtp sudo
crond login polkit-1 runuser smtp.postfix sudo-i
cvs newrole poweroff runuser-l sshd su-l
[root@ms1 ~]#
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
+1 for the "Making changes to PAM can cause a system to become inaccessible." - when I was checking this, I moved the contents of /etc/pam.d to see what would happen. Unfortunately I did it on my laptop, rather than the Virtual Machine I thought I was working in, and found that sudo and su stopped working. i had to boot with a live CD to allow me to move the contents back to get a working system!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have some of the entries in /etc/pam.d been removed? Or if you haven't got pam.d, is there anything in /etc/pam.conf which might limit the checking of passwords?