Problemy z passwd (PAM, SELinux?)

Michał Łukaszek prism w ds14.agh.edu.pl
Pią, 23 Kwi 2004, 12:20:29 CEST


Mam problemy z passwd. Nie pozwala zmienić hasła dla usera, wyświetla błąd
passwd: dlopen() failure

# rpm -qa | egrep 'selinux|policy'
policycoreutils-1.10-1
policy-sources-1.10-0.3
libselinux-1.10-1
policycoreutils-tools-perl-1.10-1
libselinux-devel-1.10-1
checkpolicy-1.10-1
libselinux-utils-1.10-1
policy-1.10-0.3

# rpm -qa | grep -i pam-
pam-0.77.3-11
pam-devel-0.77.3-11

Poniżej końcówka strace passwd dla jednego z userów. Martwi mnie to
ENODATA...

open("/proc/self/attr/current", O_RDONLY) = 8
read(8, "root:sysadm_r:sysadm_t\0", 4095) = 23
close(8)                                = 0
close(7)                                = 0
getxattr("/etc/shadow", "security.selinux", 0x8054890, 255) = -1 ENODATA
(No data available)
open("/proc/filesystems", O_RDONLY)     = 7
read(7, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 4095) = 222
open("/proc/self/attr/current", O_RDONLY) = 8
read(8, "root:sysadm_r:sysadm_t\0", 4095) = 23
close(8)                                = 0
close(7)                                = 0
pipe([7, 8])                            = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
fork()                                  = 1798
write(8, "\0", 1)                       = 1
write(8, "$1$8kBwQzue$BUx50eBkCUYcDW8lNZuS"..., 35) = 35
close(7)                                = 0
close(8)                                = 0
waitpid(1798, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 1798
--- SIGCHLD (Child exited) @ 0 (0) ---
close(6)                                = 0
fork()                                  = 1799
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(1799, [{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0) = 1799
write(2, "passwd: dlopen() failure\n", 25passwd: dlopen() failure
) = 25
munmap(0x40017000, 12052)               = 0
munmap(0x401a6000, 273064)              = 0
munmap(0x401f2000, 85120)               = 0
munmap(0x401e9000, 32256)               = 0
munmap(0x40207000, 40096)               = 0
munmap(0x40211000, 7692)                = 0
munmap(0x4001a000, 6472)                = 0
exit_group(10)                          = ?

Proszę o pomoc.
-- 
pozdrawiam,
Michał Łukaszek



Więcej informacji o liście dyskusyjnej pld-users-pl