#101 FC5 image is incomplete/inconsistent

closed-wont-fix
nobody
None
5
2007-05-11
2006-08-09
Mitch Bradley
No

I booted Fedora5-2gb.ext3 and logged in as root.

I then created a new user "xxx" with
[root@fedora ~]# useradd xxx

I tried to set the passwd:
[root@fedora ~]# passwd xxx
Changing password for user xxx.
New UNIX password:
/usr/share/cracklib/pw_dict: error reading header
PWOpen: Success
[root@fedora ~]#

The new password was not set.

I tried to change the system authentication settings
with "setup". The only options presented were for the
network and system services. The other choices listed
in /etc/setuptool.d/ (e.g. 99authconfig) did not appear
in the menu, because the corresponding back-end tools
(/usr/sbin/authconfig) are not present in the file system.

I was able to work around the password problem by
creating a rudimentary cracklib dictionary as follows:
[root@fedora ~]# echo hello >/tmp/foo
[root@fedora ~]# create=cracklib-dict /tmp/foo

Since /usr/share/dict/words is not present, creating a
stronger dictionary would require the installation of
the words.noarch package.

Discussion

  • Shane Hill
    Shane Hill
    2006-08-09

    Logged In: YES
    user_id=530006

    I had the same problem. I can't remember the exact package
    name but I just ran "apt-get install" to reinstall the
    package that contains the /usr/share/cracklib/pw_dict
    file. All worked fine after that.

     
  • Logged In: NO

    Hello sdhengsoft,

    please say, what is the name of packet. Then I would add
    it or a comment for workarrount.

    This command says the rpm name for the file:
    "rpm -qf /usr/share/cracklib/pw_dict"

     
  • Shane Hill
    Shane Hill
    2006-08-09

    Logged In: YES
    user_id=530006

    The package names are:

    cracklib
    cracklib-dicts

    I must have used yum:

    yum install cracklib-dicts

    Sorry for the apt-get reference; I use Ubuntu Linux as
    well.

    You could try removing cracklib-dicts first to allow yum
    to do the install. Otherwise just use the rpm command.

     
  • Henry N.
    Henry N.
    2006-08-11

    Logged In: YES
    user_id=579204

    ok, I see removing all words from dict was no good idea.

    This is the workarrount:
    rpm -e cracklib-dicts --nodeps
    yum install cracklib-dicts

     
  • Logged In: NO

    i got that part working by downloading and installing the cracklib RPM...

     
  • Logged In: YES
    user_id=1056362
    Originator: NO

    I used rpm -ihv --force cracklib-dicts-2.8.6-1.2.1.i386.rpm to reinstall the pw_dict files. Before they were all zero length after they are:

    [root@fedora RPMS]# ls -l /usr/share/cracklib/
    total 7884
    -rw-r--r-- 1 root root 360 Feb 11 2006 cracklib.magic
    -rw-r--r-- 1 root root 1024 Feb 11 2006 pw_dict.hwm
    -rw-r--r-- 1 root root 7619477 Feb 11 2006 pw_dict.pwd
    -rw-r--r-- 1 root root 423252 Feb 11 2006 pw_dict.pwi

     
  • Henry N.
    Henry N.
    2007-05-11

    • status: open --> closed-wont-fix
     
  • Henry N.
    Henry N.
    2007-05-11

    Logged In: YES
    user_id=579204
    Originator: NO

    this is and would not fix. workarround can read here...