View previous topic :: View next topic |
Author |
Message |
r_bin! n00b
Joined: 02 Nov 2007 Posts: 4
|
Posted: Fri Nov 02, 2007 7:41 pm Post subject: Root password problem. |
|
|
When I ssh into the server and try to change the root password on gentoo I get this:
/usr/lib/cracklib_dict.pwd: No such file or directory
PWOpen: No such file or directory
Our old system admin could update the root password anytime, no problem, but he has moved onto bigger n better things.
I'm thinking it has to do with a cert but this entire process is a learning curve for me.
Any suggestions? _________________ Examine what is said, not him who speaks. |
|
Back to top |
|
|
bluepass n00b
Joined: 23 Nov 2006 Posts: 41 Location: /dev/null
|
Posted: Fri Nov 02, 2007 7:50 pm Post subject: |
|
|
When you use passwd, it checks whether the password you input is common or too easy. Common passwords that can be bruteforced through dictionary attacks are going to be stored in /usr/lib/cracklib_dict.pwd and passwd will use that to check your new password against. You might be able to get over the first problem by just:
Code: | touch /usr/lib/cracklib_dict.pwd |
However, I don't know what's with PWOpen...
EDIT: Try this post for a solution. |
|
Back to top |
|
|
r_bin! n00b
Joined: 02 Nov 2007 Posts: 4
|
Posted: Fri Nov 02, 2007 7:57 pm Post subject: |
|
|
Thanks for the reply bluepass.
Added the file, then tried passwd and still got :
New UNIX password:
/usr/lib/cracklib_dict.pwi: No such file or directory
PWOpen: No such file or directory _________________ Examine what is said, not him who speaks. |
|
Back to top |
|
|
r_bin! n00b
Joined: 02 Nov 2007 Posts: 4
|
Posted: Fri Nov 02, 2007 8:03 pm Post subject: |
|
|
Oh that's /usr/lib/cracklib_dict.pwi I'm now getting
Was getting /usr/lib/cracklib_dict.pwd: _________________ Examine what is said, not him who speaks. |
|
Back to top |
|
|
ianw1974 Guru
Joined: 18 Oct 2006 Posts: 387 Location: UK and Poland
|
Posted: Fri Nov 02, 2007 8:11 pm Post subject: |
|
|
I would try moving the /usr/lib/cracklib_dict* files to a backup directory and then re-emerge cracklib to get the proper ones. |
|
Back to top |
|
|
bluepass n00b
Joined: 23 Nov 2006 Posts: 41 Location: /dev/null
|
Posted: Fri Nov 02, 2007 8:15 pm Post subject: |
|
|
Did you try:
Code: | emerge --oneshot cracklib |
|
|
Back to top |
|
|
rigo n00b
Joined: 10 Sep 2006 Posts: 17
|
Posted: Sat Nov 03, 2007 10:12 am Post subject: |
|
|
Hi!
I had the same problem and found this forum thread.
bluepass wrote: | Did you try:
Code: | emerge --oneshot cracklib |
|
This works for me. Thank you!
I'm wondering why this happened (probably because of an upgrade?)... If so, I think that this fix should be noted in an informational message issued by the ebuild.
bluepass, where did you find this solution? _________________ rigo
http://rigo.altervista.org |
|
Back to top |
|
|
bluepass n00b
Joined: 23 Nov 2006 Posts: 41 Location: /dev/null
|
Posted: Sat Nov 03, 2007 11:01 am Post subject: |
|
|
If you look at my first post in this topic you will see that in the edit I provided a link. The topic's been covered before. I simply looked it up. |
|
Back to top |
|
|
r_bin! n00b
Joined: 02 Nov 2007 Posts: 4
|
Posted: Sat Nov 03, 2007 8:50 pm Post subject: |
|
|
Thanks for all the help, tried emerge --oneshot cracklib that fixed the problem!
If anyone else has this same problem just remember after the emerge do not logout until you do passwd else you will find yourself locked out. _________________ Examine what is said, not him who speaks. |
|
Back to top |
|
|
Cyker Veteran
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Sun Nov 04, 2007 1:04 am Post subject: |
|
|
Alternatively, you might be able to disable this facility in the ?pam.d? config stuff in /etc/ |
|
Back to top |
|
|
Coltie Guru
Joined: 22 Apr 2005 Posts: 305 Location: N 46° 7' 26.7" E 7° 6' 11.2"
|
Posted: Wed Nov 28, 2007 1:14 pm Post subject: |
|
|
bluepass wrote: | Did you try:
Code: | emerge --oneshot cracklib |
| Thank's, worked for me as well. _________________ Unreleased Kollektiv
"If by noise you mean uncomfortable sound, then pop music is noise to me."
Masami Akita |
|
Back to top |
|
|
|