Hi!
How to get usermod working with SSSD/389DS ?
We have SSSD set up on our server and it uses 389DS.
SSSD was enabled with the following command:
authconfig --enablesssd --enablesssdauth --ldapbasedn=dc=example,dc=com
--enableshadow --enablemkhomedir --enablelocauthorize --update
Running for example "usermod -L username" returns:
usermod: user 'username' does not exist in /etc/passwd
Each time usermod is executed there is a query logged in 389DS, so SSSD
does pass the request to 389DS.
Strace (attached) of usermod shows that it gets at least gecos back from
SSSD and that it checked the /var/lib/sss/mc/passwd file which contains:
username
Name Lastname
/home/username
/bin/bash
Soon after that it starts to open /etc/shadow and /etc/passwd.
What are we missing?
Any insight would be appreciated.
Regards, Mitja
--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78
execve("/usr/sbin/usermod", ["usermod", "-L", "username"], [/* 32 vars */]) = 0
brk(0) = 0x7f96c1860000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe44000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=23522, ...}) = 0
mmap(NULL, 23522, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f96bfe3e000
close(3) = 0
open("/lib64/libaudit.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260%\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=113096, ...}) = 0
mmap(NULL, 2208304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f96bfa0a000
mprotect(0x7f96bfa21000, 2093056, PROT_NONE) = 0
mmap(0x7f96bfc20000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f96bfc20000
close(3) = 0
open("/lib64/libselinux.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0PX\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=122040, ...}) = 0
mmap(NULL, 2221912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f96bf7eb000
mprotect(0x7f96bf808000, 2093056, PROT_NONE) = 0
mmap(0x7f96bfa07000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7f96bfa07000
mmap(0x7f96bfa09000, 1880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f96bfa09000
close(3) = 0
open("/lib64/libacl.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\36\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=31280, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe3d000
mmap(NULL, 2126416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f96bf5e3000
mprotect(0x7f96bf5ea000, 2093056, PROT_NONE) = 0
mmap(0x7f96bf7e9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f96bf7e9000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\356\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1921216, ...}) = 0
mmap(NULL, 3750152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f96bf24f000
mprotect(0x7f96bf3da000, 2093056, PROT_NONE) = 0
mmap(0x7f96bf5d9000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18a000) = 0x7f96bf5d9000
mmap(0x7f96bf5de000, 18696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f96bf5de000
close(3) = 0
open("/lib64/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=19536, ...}) = 0
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f96bf04b000
mprotect(0x7f96bf04d000, 2097152, PROT_NONE) = 0
mmap(0x7f96bf24d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f96bf24d000
close(3) = 0
open("/lib64/libattr.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=18712, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe3c000
mmap(NULL, 2113888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f96bee46000
mprotect(0x7f96bee4a000, 2093056, PROT_NONE) = 0
mmap(0x7f96bf049000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f96bf049000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe3b000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe39000
arch_prctl(ARCH_SET_FS, 0x7f96bfe397a0) = 0
mprotect(0x7f96bf049000, 4096, PROT_READ) = 0
mprotect(0x7f96bf24d000, 4096, PROT_READ) = 0
mprotect(0x7f96bf5d9000, 16384, PROT_READ) = 0
mprotect(0x7f96bf7e9000, 4096, PROT_READ) = 0
mprotect(0x7f96bfa07000, 4096, PROT_READ) = 0
mprotect(0x7f96bfc20000, 4096, PROT_READ) = 0
mprotect(0x7f96c005d000, 4096, PROT_READ) = 0
mprotect(0x7f96bfe45000, 4096, PROT_READ) = 0
munmap(0x7f96bfe3e000, 23522) = 0
statfs("/selinux", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=70642610, f_bfree=69858788, f_bavail=66270334, f_files=17948672, f_ffree=17645507, f_fsid={-1343244061, 2328842}, f_namelen=255, f_frsize=4096}) = 0
brk(0) = 0x7f96c1860000
brk(0x7f96c1881000) = 0x7f96c1881000
open("/proc/filesystems", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe43000
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 1024) = 310
read(3, "", 1024) = 0
close(3) = 0
munmap(0x7f96bfe43000, 4096) = 0
socket(PF_NETLINK, SOCK_RAW, 9) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=99158576, ...}) = 0
mmap(NULL, 99158576, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f96b8fb5000
close(4) = 0
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 4
read(4, "65536\n", 31) = 6
close(4) = 0
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfdb8000
access("/etc/shadow", F_OK) = 0
access("/etc/gshadow", F_OK) = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1769, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe43000
read(4, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1769
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7f96bfe43000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=23522, ...}) = 0
mmap(NULL, 23522, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f96bfe3e000
close(4) = 0
open("/lib64/libnss_sss.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\26\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=31992, ...}) = 0
mmap(NULL, 2127376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f96b8dad000
mprotect(0x7f96b8db4000, 2097152, PROT_NONE) = 0
mmap(0x7f96b8fb4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7000) = 0x7f96b8fb4000
close(4) = 0
open("/lib64/libpthread.so.0", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340]\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=142640, ...}) = 0
mmap(NULL, 2212848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f96b8b90000
mprotect(0x7f96b8ba7000, 2097152, PROT_NONE) = 0
mmap(0x7f96b8da7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x17000) = 0x7f96b8da7000
mmap(0x7f96b8da9000, 13296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f96b8da9000
close(4) = 0
mprotect(0x7f96b8da7000, 4096, PROT_READ) = 0
set_tid_address(0x7f96bfe39a70) = 24042
set_robust_list(0x7f96bfe39a80, 0x18) = 0
futex(0x7ffff45108cc, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ffff45108cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f96bfe397a0) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f96b8b95c60, [], SA_RESTORER|SA_SIGINFO, 0x7f96b8b9f710}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f96b8b95cf0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f96b8b9f710}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
munmap(0x7f96bfe3e000, 23522) = 0
open("/var/lib/sss/mc/passwd", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=6806312, ...}) = 0
mmap(NULL, 6806312, PROT_READ, MAP_SHARED, 4, 0) = 0x7f96b8512000
futex(0x7f96b8fb4448, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat(-1, 0x7ffff4510bf0) = -1 EBADF (Bad file descriptor)
socket(PF_FILE, SOCK_STREAM, 0) = 5
fcntl(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(5, F_GETFD) = 0
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
connect(5, {sa_family=AF_FILE, path="/var/lib/sss/pipes/nss"}, 110) = 0
fstat(5, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
poll([{fd=5, events=POLLOUT}], 1, 300000) = 1 ([{fd=5, revents=POLLOUT}])
sendto(5, "\24\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0", 16, MSG_NOSIGNAL, NULL, 0) = 16
poll([{fd=5, events=POLLOUT}], 1, 300000) = 1 ([{fd=5, revents=POLLOUT}])
sendto(5, "\1\0\0\0", 4, MSG_NOSIGNAL, NULL, 0) = 4
poll([{fd=5, events=POLLIN}], 1, 300000) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\24\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
poll([{fd=5, events=POLLIN}], 1, 300000) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0", 4) = 4
poll([{fd=5, events=POLLOUT}], 1, 300000) = 1 ([{fd=5, revents=POLLOUT}])
sendto(5, "\27\0\0\0\21\0\0\0\0\0\0\0\0\0\0\0", 16, MSG_NOSIGNAL, NULL, 0) = 16
poll([{fd=5, events=POLLOUT}], 1, 300000) = 1 ([{fd=5, revents=POLLOUT}])
sendto(5, "username\0", 7, MSG_NOSIGNAL, NULL, 0) = 7
poll([{fd=5, events=POLLIN}], 1, 300000) = 1 ([{fd=5, revents=POLLIN}])
read(5, "K\0\0\0\21\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
poll([{fd=5, events=POLLIN}], 1, 300000) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0N{\0\0\17'\0\0username\0*\0Name Last"..., 59) = 59
open("/etc/ld.so.cache", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=23522, ...}) = 0
mmap(NULL, 23522, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f96bfe3e000
close(6) = 0
open("/lib64/libnss_files.so.2", O_RDONLY) = 6
read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360!\0\0\0\0\0\0"..., 832) = 832
fstat(6, {st_mode=S_IFREG|0755, st_size=65928, ...}) = 0
mmap(NULL, 2151824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7f96b8304000
mprotect(0x7f96b8310000, 2097152, PROT_NONE) = 0
mmap(0x7f96b8510000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0xc000) = 0x7f96b8510000
close(6) = 0
mprotect(0x7f96b8510000, 4096, PROT_READ) = 0
munmap(0x7f96bfe3e000, 23522) = 0
open("/etc/shadow", O_RDONLY|O_CLOEXEC) = 6
fcntl(6, F_GETFD) = 0x1 (flags FD_CLOEXEC)
fstat(6, {st_mode=S_IFREG, st_size=648, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe43000
read(6, "root:XXXXXXXXXXXXXXXXXXXXXXXXXXX"..., 4096) = 648
read(6, "", 4096) = 0
close(6) = 0
munmap(0x7f96bfe43000, 4096) = 0
open("/etc/.pwd.lock", O_WRONLY|O_CREAT|O_CLOEXEC, 0600) = 6
fcntl(6, F_GETFD) = 0x1 (flags FD_CLOEXEC)
rt_sigaction(SIGALRM, {0x7f96bf33e340, ~[], SA_RESTORER, 0x7f96bf2819a0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ALRM], [], 8) = 0
alarm(15) = 0
fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 15
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7f96bf2819a0}, NULL, 8) = 0
open("/etc/passwd.24042", O_WRONLY|O_CREAT|O_EXCL, 0600) = 7
write(7, "24042\0", 6) = 6
close(7) = 0
link("/etc/passwd.24042", "/etc/passwd.lock") = 0
stat("/etc/passwd.24042", {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
unlink("/etc/passwd.24042") = 0
open("/etc/passwd", O_RDWR) = 7
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
open("/proc/filesystems", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe43000
read(8, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 1024) = 310
read(8, "", 1024) = 0
close(8) = 0
munmap(0x7f96bfe43000, 4096) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=977, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe43000
read(7, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 977
read(7, "", 4096) = 0
open("/etc/shadow.24042", O_WRONLY|O_CREAT|O_EXCL, 0600) = 8
write(8, "24042\0", 6) = 6
close(8) = 0
link("/etc/shadow.24042", "/etc/shadow.lock") = 0
stat("/etc/shadow.24042", {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
unlink("/etc/shadow.24042") = 0
open("/etc/shadow", O_RDWR) = 8
fcntl(8, F_SETFD, FD_CLOEXEC) = 0
open("/proc/filesystems", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe42000
read(9, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 1024) = 310
read(9, "", 1024) = 0
close(9) = 0
munmap(0x7f96bfe42000, 4096) = 0
fstat(8, {st_mode=S_IFREG, st_size=648, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe42000
read(8, "root:XXXXXXXXXXXXXXXXXXXXXXXXXXX"..., 4096) = 648
read(8, "", 4096) = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f96bfe41000
read(9, "# Locale name alias data base.\n#"..., 4096) = 2512
read(9, "", 4096) = 0
close(9) = 0
munmap(0x7f96bfe41000, 4096) = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "usermod: user 'username' does not "..., 53usermod: user 'username' does not exist in /etc/passwd
) = 53
close(8) = 0
munmap(0x7f96bfe42000, 4096) = 0
unlink("/etc/shadow.lock") = 0
close(7) = 0
munmap(0x7f96bfe43000, 4096) = 0
unlink("/etc/passwd.lock") = 0
close(6) = 0
readlink("/proc/self/exe", "/usr/sbin/usermod", 4096) = 17
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
readlink("/proc/self/fd/0", "/dev/pts/0"..., 31) = 10
lstat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
sendto(3, "x\0\0\0T\4\5\0\1\0\0\0\0\0\0\0op=modifying acc"..., 120, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 120
poll([{fd=3, events=POLLIN}], 1, 500) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "$\0\0\0\2\0\0\0\1\0\0\0\352]\0\0\0\0\0\0x\0\0\0T\4\5\0\1\0\0\0"..., 8988, MSG_PEEK|MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000000}, [12]) = 36
recvfrom(3, "$\0\0\0\2\0\0\0\1\0\0\0\352]\0\0\0\0\0\0x\0\0\0T\4\5\0\1\0\0\0"..., 8988, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000000}, [12]) = 36
close(5) = 0
exit_group(6) = ?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos