 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

28th June 2009, 05:57 AM
|
|
Registered User
|
|
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26

|
|
PAM!?!?!? WTF?!?! how do you SHUT IT OFF???
I'm sure you think that's a pretty stupid question.
I have a fresh install of Fedora 11. I can't change my password without it complaining that it's a dictionary word (WHICH IT'S NOT); and it fails every time.
The GUI root password change utility doesn't work at all. The user GUI tool under Preferences>About Me doesn't work at all. I can never satisfy its password strength requirements. I can't find any kind of utility that will help this anywhere.
So I have to su and change my user password as root.
I have read the man pages for pam and am pretty sure that without a PhD in computer security I can't possibly tweak the configuration files to get rid of the horrific password strength requirement.
Is there going to be a fix for this? Or is it supposed to be this way? If passwd and PAM are supposed to "work" like this, please let me know so I can find a distro that doesn't use it.
Between this and the damn system-config-network thing, I am getting fed-up with Fedora 11..
EDITED TO ADD:
FIX FOUND: # create-cracklib-dict /usr/share/dict/words
Last edited by bandersnoot; 28th June 2009 at 10:12 PM.
|

28th June 2009, 06:22 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
Reminds me of my all-time favorite "frustration" post: Disable the damn firewall!!!!!!
Quote:
Originally Posted by mnisay
spam score 5.1
SUBJECT = 5.0
PUNCTUATION MARK = 0.1

|
Although here, I'd give:
PUNCTUATION MARK = 8.0
SPAM SCORE = 0.0
Quote:
|
I have read the man pages for pam and am pretty sure that without a PhD in computer security I can't possibly tweak the configuration files to get rid of the horrific password strength requirement.
|
http://www.phoenix.edu/

V
|

28th June 2009, 06:31 AM
|
|
Registered User
|
|
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26

|
|
Quote:
Originally Posted by Hlingler
|
Okay thanks, that made me smile.
|

28th June 2009, 06:34 AM
|
 |
Retired Community Manager -- Banned from Texas by popular demand.
|
|
Join Date: Sep 2007
Location: NYC
Posts: 8,142

|
|
|
Hrrm, that's a new one.
There is a minimum password length set in /etc/login.defs but I don't see anything in pam off the top of my head for password strength.
It's the weekend, so this might not get too many views, but hopefully, someone who knows the answer will see it.
I believe though, that it is supposed to be this way.
As mentioned, I've never had a password so weak that it's been an issue, so I'm not sure which other distros act the same way.
__________________
--
http://home.roadrunner.com/~computertaijutsu
Do NOT PM forum members with requests for technical support. Ask your questions on the forum.
"I don't know why there is the constant push to break any semblance of compatibility" --anon
|

28th June 2009, 06:54 AM
|
|
Registered User
|
|
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26

|
|
|
my passwords...
Quote:
Originally Posted by scottro
Hrrm, that's a new one.
There is a minimum password length set in /etc/login.defs but I don't see anything in pam off the top of my head for password strength.
It's the weekend, so this might not get too many views, but hopefully, someone who knows the answer will see it.
I believe though, that it is supposed to be this way.
As mentioned, I've never had a password so weak that it's been an issue, so I'm not sure which other distros act the same way.
|
My passwords are always two unrelated words and a number.
I think something's broken. I can't change any password to anything without getting: $ passwd
Changing password for user yours-truly.
Changing password for yours-truly.
(current) UNIX password:
New password:
Retype new password:
BAD PASSWORD: it is based on a dictionary word
BAD PASSWORD: it is based on a dictionary word
BAD PASSWORD: it is based on a dictionary word
|

28th June 2009, 07:13 AM
|
 |
Retired Community Manager -- Banned from Texas by popular demand.
|
|
Join Date: Sep 2007
Location: NYC
Posts: 8,142

|
|
|
It's possible that something is broken.
Actually, when I think about it, most of the time I set the password as root, since in a Fedora system, the user can't login until root gives them a password.
__________________
--
http://home.roadrunner.com/~computertaijutsu
Do NOT PM forum members with requests for technical support. Ask your questions on the forum.
"I don't know why there is the constant push to break any semblance of compatibility" --anon
|

28th June 2009, 08:14 AM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 3

|
|
|
hi dude,
ur culprit is the line :-
password requisite /lib/security/$ISA/pam_cracklib.so
which is present in /etc/pam.d/sysem-auth
this module checks the password strength against the system dictionary.
Regards,
Rahul N.
|

28th June 2009, 12:01 PM
|
 |
Registered User
|
|
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,136

|
|
Quote:
Originally Posted by bandersnoot
I have a fresh install of Fedora 11. I can't change my password without it complaining that it's a dictionary word (WHICH IT'S NOT); and it fails every time.
|
Have you tried upgrading your dictionary?
|

28th June 2009, 12:24 PM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
just add dictpath=/dev/null to the cracklib.so line in /etc/pam.d/password-auth
Code:
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth required pam_deny.so
account required pam_unix.so
account sufficient pam_localuser.so
account sufficient pam_succeed_if.so uid < 500 quiet
account required pam_permit.so
password requisite pam_cracklib.so try_first_pass retry=3 dictpath=/dev/null
password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
see 'man pam_cracklib'
|

28th June 2009, 02:19 PM
|
 |
Retired Community Manager -- Banned from Texas by popular demand.
|
|
Join Date: Sep 2007
Location: NYC
Posts: 8,142

|
|
|
Well rhlnair87 and sideways, thanks a lot. I WAS going to procrastinate doing my exercise this morning, as this was something I didn't know, but the two of you managed to take away that excuse. :-(
Seriously, thanks to both of you, I was going to research this today, as it intrigued me.
__________________
--
http://home.roadrunner.com/~computertaijutsu
Do NOT PM forum members with requests for technical support. Ask your questions on the forum.
"I don't know why there is the constant push to break any semblance of compatibility" --anon
|

28th June 2009, 06:51 PM
|
|
Registered User
|
|
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26

|
|
Quote:
Originally Posted by sideways
just add dictpath=/dev/null to the cracklib.so line in /etc/pam.d/password-auth
Code:
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth required pam_deny.so
account required pam_unix.so
account sufficient pam_localuser.so
account sufficient pam_succeed_if.so uid < 500 quiet
account required pam_permit.so
password requisite pam_cracklib.so try_first_pass retry=3 dictpath=/dev/null
password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
see 'man pam_cracklib'
|
Did not work. added dictpath=/dev/null. Exact same behaviour as before.
I tried commenting out the offending line, and it did the same thing.
Do I have to restart or reset something to make this effective?
Also tried editing the system-auth, and it gave:
/dev/null.pwd: No such file or directory
PWOpen: No such file or directory
- Tim
|

28th June 2009, 06:55 PM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
I would try at least re-start X server, if that doesn't work, try a re-boot. See what happens....
V
|

28th June 2009, 08:08 PM
|
|
Registered User
|
|
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26

|
|
Didn't work
Quote:
Originally Posted by Hlingler
I would try at least re-start X server, if that doesn't work, try a re-boot. See what happens....
V
|
Rebooting did not work. absolutely no difference, it prints "BAD PASSWORD: it is based on a dictionary word" three times.
- Tim
|

28th June 2009, 08:29 PM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
I don't recommend it but try zeroing the directory then (as root)
Code:
create-cracklib-dict /dev/null
|

28th June 2009, 08:36 PM
|
 |
"Stefan the converted" -- forum Macintosh® Glee Club leader
|
|
Join Date: May 2007
Location: 127.0.0.1
Age: 38
Posts: 1,247

|
|
|
i might be mistaken, but doesn't fedora just warn in case of bad passwords and not actually prohibit it?
I am pretty sure that when I do a:
su -c 'passwd yours-truly'
it works for me, not matter how bad the password it, or is that just on RHEL5?
__________________
"$ su - bofh"
OS: Mac OSX Snow Leopard (x64 by default), W7_Enterprise_X64, F12_x64_KDE
Hardware: late 2009 Macbook 13", MSI Wind 10"
Browser: Opera 10.10, Safari 4
Registered linux user #459910
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:04 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|