Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development (http://www.linux-archive.org/fedora-development/)
-   -   passwd does not work after f8 -> f9 upgrade (http://www.linux-archive.org/fedora-development/90070-passwd-does-not-work-after-f8-f9-upgrade.html)

Jarosław Górny 05-17-2008 04:18 PM

passwd does not work after f8 -> f9 upgrade
 
Hi,
I've searched BZ, but not found anything similar.
Couple of days ago I've upgraded to f9 with plain old "yum update". The
process went smoothly, but now I'm not able to use passwd. Any try to change
password (directly as a user, or as a root) fails:

<code>
[root@moonstone cracklib]# LANG=C passwd testowy
Changing password for user testowy.
New UNIX password:
/usr/share/cracklib/pw_dict: error reading header
PWOpen: Success
</code>

appropriate fragment of strace looks like this:

<code>
write(2, "New UNIX password: ", 19) = 19
read(0, "lame_password
", 511) = 14
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
write(2, "
", 1) = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
open("/usr/share/cracklib/pw_dict.pwd", O_RDONLY) = 4
open("/usr/share/cracklib/pw_dict.pwi", O_RDONLY) = 5
open("/usr/share/cracklib/pw_dict.hwm", O_RDONLY) = 6
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb80d9000
read(5, "", 4096) = 0
write(2, "/usr/share/cracklib/pw_dict: err"..., 50) = 50
close(5) = 0
munmap(0xb80d9000, 4096) = 0
close(4) = 0
close(6) = 0
write(2, "PWOpen: Success
", 16) = 16
exit_group(-1) = ?
</code>


If this should be reported in BZ, I'll do it. Any tips to solve this really
appreciated. Thanks,

regards,


--
jg

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


All times are GMT. The time now is 04:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.