Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Root password problem.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
r_bin!
n00b
n00b


Joined: 02 Nov 2007
Posts: 4

PostPosted: Fri Nov 02, 2007 7:41 pm    Post subject: Root password problem. Reply with quote

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
View user's profile Send private message
bluepass
n00b
n00b


Joined: 23 Nov 2006
Posts: 41
Location: /dev/null

PostPosted: Fri Nov 02, 2007 7:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
r_bin!
n00b
n00b


Joined: 02 Nov 2007
Posts: 4

PostPosted: Fri Nov 02, 2007 7:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
r_bin!
n00b
n00b


Joined: 02 Nov 2007
Posts: 4

PostPosted: Fri Nov 02, 2007 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
ianw1974
Guru
Guru


Joined: 18 Oct 2006
Posts: 387
Location: UK and Poland

PostPosted: Fri Nov 02, 2007 8:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
bluepass
n00b
n00b


Joined: 23 Nov 2006
Posts: 41
Location: /dev/null

PostPosted: Fri Nov 02, 2007 8:15 pm    Post subject: Reply with quote

Did you try:

Code:
emerge --oneshot cracklib
Back to top
View user's profile Send private message
rigo
n00b
n00b


Joined: 10 Sep 2006
Posts: 17

PostPosted: Sat Nov 03, 2007 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message
bluepass
n00b
n00b


Joined: 23 Nov 2006
Posts: 41
Location: /dev/null

PostPosted: Sat Nov 03, 2007 11:01 am    Post subject: Reply with quote

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. 8)
Back to top
View user's profile Send private message
r_bin!
n00b
n00b


Joined: 02 Nov 2007
Posts: 4

PostPosted: Sat Nov 03, 2007 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Nov 04, 2007 1:04 am    Post subject: Reply with quote

Alternatively, you might be able to disable this facility in the ?pam.d? config stuff in /etc/
Back to top
View user's profile Send private message
Coltie
Guru
Guru


Joined: 22 Apr 2005
Posts: 305
Location: N 46° 7' 26.7" E 7° 6' 11.2"

PostPosted: Wed Nov 28, 2007 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum