Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th June 2009, 05:57 AM
bandersnoot Offline
Registered User
 
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26
Thumbs down 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.
Reply With Quote
  #2  
Old 28th June 2009, 06:22 AM
Hlingler's Avatar
Hlingler Offline
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 View Post
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
Reply With Quote
  #3  
Old 28th June 2009, 06:31 AM
bandersnoot Offline
Registered User
 
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26
Smile

Quote:
Originally Posted by Hlingler View Post
Reminds me of my all-time favorite "frustration" post: Disable the damn firewall!!!!!!Although here, I'd give:
PUNCTUATION MARK = 8.0
SPAM SCORE = 0.0http://www.phoenix.edu/


V
Okay thanks, that made me smile.
Reply With Quote
  #4  
Old 28th June 2009, 06:34 AM
scottro's Avatar
scottro Offline
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
Reply With Quote
  #5  
Old 28th June 2009, 06:54 AM
bandersnoot Offline
Registered User
 
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26
my passwords...

Quote:
Originally Posted by scottro View Post
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
Reply With Quote
  #6  
Old 28th June 2009, 07:13 AM
scottro's Avatar
scottro Offline
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
Reply With Quote
  #7  
Old 28th June 2009, 08:14 AM
rhlnair87 Offline
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.
Reply With Quote
  #8  
Old 28th June 2009, 12:01 PM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,136
Quote:
Originally Posted by bandersnoot View Post
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?
Reply With Quote
  #9  
Old 28th June 2009, 12:24 PM
sideways's Avatar
sideways Offline
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'
Reply With Quote
  #10  
Old 28th June 2009, 02:19 PM
scottro's Avatar
scottro Offline
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
Reply With Quote
  #11  
Old 28th June 2009, 06:51 PM
bandersnoot Offline
Registered User
 
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26
Quote:
Originally Posted by sideways View Post
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
Reply With Quote
  #12  
Old 28th June 2009, 06:55 PM
Hlingler's Avatar
Hlingler Offline
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
Reply With Quote
  #13  
Old 28th June 2009, 08:08 PM
bandersnoot Offline
Registered User
 
Join Date: Jun 2009
Location: Mebane, NC
Age: 56
Posts: 26
Thumbs down Didn't work

Quote:
Originally Posted by Hlingler View Post
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
Reply With Quote
  #14  
Old 28th June 2009, 08:29 PM
sideways's Avatar
sideways Offline
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
Reply With Quote
  #15  
Old 28th June 2009, 08:36 PM
stefan1975's Avatar
stefan1975 Offline
"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
Reply With Quote
Reply

Tags
pam, shut, wtf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fc8 shut down ahmedamer_99 Using Fedora 2 30th March 2008 10:46 AM
Shut Down no more tkoco Using Fedora 70 12th December 2007 09:25 PM
Can not shut down under FC5 gjean EOL (End Of Life) Versions 1 26th July 2006 03:33 AM
Can't shut down cbsj4 Using Fedora 3 27th June 2006 02:29 PM


Current GMT-time: 05:04 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat