lists.arthurdejong.org
RSS feed

Re: Upgrade from 0.7 to 0.8 having auth problems

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: Upgrade from 0.7 to 0.8 having auth problems



On 11/20/2012 2:40 PM, Arthur de Jong wrote:
On Tue, 2012-11-20 at 13:34 -0600, Andy Colson wrote:
Ok, progress.  "getent shadow" now shows the password, just like it did
in 0.7.  However, I still cant login.  I get "su: Authentication failure".

If there is also a difference in the output of getent passwd that could
also be a problem. At least there is a difference with pam_unix.

It could also be something else. If you have a program that logs a
little more information on authentication failures that would be easier
to debug.

Comparing output of nslcd -d with the failed and sucesful logins could
also be useful. As a last resort you could also look at the output of
   strace su - username
but know that your (partial) password could be in the output in plain
text.



Its a test account, the password is 'bob' :-)  here are a bunch of logs:

nslcd: DEBUG: add_uri(ldap://192.168.10.12/)
nslcd: version 0.8.12 starting
nslcd: DEBUG: initgroups("daemon",2) done
nslcd: DEBUG: setgid(2) done
nslcd: DEBUG: setuid(2) done
nslcd: accepting connections
nslcd: [8b4567] DEBUG: connection from pid=24368 uid=0 gid=100
nslcd: [8b4567] <passwd=-1> DEBUG: myldap_search(base="ou=users,dc=camavision,dc=com", filter="(&(memberOf=cn=mapper,ou=groups,dc=camavision,dc=com)(uidNumber=-1))")
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_initialize(ldap://192.168.10.12/)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_rebind_proc()
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_DEREF,0)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,2)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,2)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,2) nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON) nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON) nslcd: [8b4567] <passwd=-1> DEBUG: ldap_simple_bind_s("cn=admin,dc=camavision,dc=com","***") (uri="ldap://192.168.10.12/";)
nslcd: [8b4567] <passwd=-1> DEBUG: set_socket_timeout(2,500000)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_result(): end of results (0 total)
nslcd: [7b23c6] DEBUG: connection from pid=24368 uid=0 gid=100
nslcd: [7b23c6] <passwd="andyc"> DEBUG: myldap_search(base="ou=users,dc=camavision,dc=com", filter="(&(memberOf=cn=mapper,ou=groups,dc=camavision,dc=com)(uid=andyc))") nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_initialize(ldap://192.168.10.12/)
nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_set_rebind_proc()
nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3)
nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_set_option(LDAP_OPT_DEREF,0)
nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,2)
nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,2)
nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,2) nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON) nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON) nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_simple_bind_s("cn=admin,dc=camavision,dc=com","***") (uri="ldap://192.168.10.12/";)
nslcd: [7b23c6] <passwd="andyc"> DEBUG: set_socket_timeout(2,500000)
nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_result(): uid=andyc,ou=users,dc=camavision,dc=com
nslcd: [7b23c6] <passwd="andyc"> (re)loading /etc/nsswitch.conf
nslcd: [7b23c6] <passwd="andyc"> DEBUG: ldap_result(): end of results (1 total)

The old log I sent started with some <group/member="root"> checks, which this one didn't seem to do. I have been playing with the config settings, but I'm not sure what exactly I changed.

The strace log is attached.  Hopefully it'll go thru.

-Andy

execve("/bin/su", ["su", "-", "andyc"], [/* 42 vars */]) = 0
brk(0)                                  = 0x615000
fcntl(0, F_GETFD)                       = 0
fcntl(1, F_GETFD)                       = 0
fcntl(2, F_GETFD)                       = 0
access("/etc/suid-debug", F_OK)         = -1 ENOENT (No such file or directory)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034262000
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=137747, ...}) = 0
mmap(NULL, 137747, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4034240000
close(3)                                = 0
open("/lib64/libcrypt.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\0000\n\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=48457, ...}) = 0
mmap(NULL, 2327040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4033e0a000
mprotect(0x7f4033e13000, 2097152, PROT_NONE) = 0
mmap(0x7f4034013000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f4034013000
mmap(0x7f4034015000, 184832, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4034015000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\357\1\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1966207, ...}) = 0
mmap(NULL, 3835064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4033a61000
mprotect(0x7f4033bff000, 2097152, PROT_NONE) = 0
mmap(0x7f4033dff000, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19e000) = 0x7f4033dff000
mmap(0x7f4033e04000, 21688, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4033e04000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f403423f000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f403423d000
arch_prctl(ARCH_SET_FS, 0x7f403423d720) = 0
mprotect(0x7f4033dff000, 16384, PROT_READ) = 0
mprotect(0x7f4034013000, 4096, PROT_READ) = 0
mprotect(0x7f4034263000, 4096, PROT_READ) = 0
munmap(0x7f4034240000, 137747)          = 0
brk(0)                                  = 0x615000
brk(0x636000)                           = 0x636000
getuid()                                = 1000
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
readlink("/proc/self/fd/0", "/dev/pts/0", 4095) = 10
stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/etc/login.defs", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10720, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
read(3, "#\n# /etc/login.defs - Configurat"..., 4096) = 4096
read(3, "600.\n#\nTTYGROUP\ttty\nTTYPERM\t\t062"..., 4096) = 4096
read(3, "ll be needed to authenticate\n# u"..., 4096) = 2528
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
open("/etc/securetty", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=365, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
read(3, "# This file defines which device"..., 4096) = 365
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
open("/proc/self/loginuid", O_RDONLY)   = 3
read(3, "4294967295", 12)               = 10
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT 
(No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT 
(No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1096
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=137747, ...}) = 0
mmap(NULL, 137747, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4034240000
close(3)                                = 0
open("/lib64/libnss_files.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!\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=61235, ...}) = 0
mmap(NULL, 2148088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4033854000
mprotect(0x7f4033860000, 2093056, PROT_NONE) = 0
mmap(0x7f4033a5f000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7f4033a5f000
close(3)                                = 0
mprotect(0x7f4033a5f000, 4096, PROT_READ) = 0
munmap(0x7f4034240000, 137747)          = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(3, {st_mode=S_IFREG|0644, st_size=1356, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
read(3, "root:x:0:0::/root:/bin/bash\nbin:"..., 4096) = 1356
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=137747, ...}) = 0
mmap(NULL, 137747, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4034240000
close(3)                                = 0
open("/usr/lib64/libnss_ldap.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\0p\25\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=47664, ...}) = 0
mmap(NULL, 2142944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f4033648000
mprotect(0x7f4033653000, 2097152, PROT_NONE) = 0
mmap(0x7f4033853000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7f4033853000
close(3)                                = 0
munmap(0x7f4034240000, 137747)          = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFD, FD_CLOEXEC|0x2)       = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nslcd/socket"}, 23) = 0
poll([{fd=3, events=POLLOUT}], 1, 10000) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\1\0\0\0\352\3\0\0\377\377\377\377", 12, MSG_NOSIGNAL, NULL, 0) = 12
poll([{fd=3, events=POLLIN}], 1, 60000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}])
read(3, "\1\0\0\0\352\3\0\0\3\0\0\0", 1024) = 12
close(3)                                = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
readlink("/proc/self/fd/0", "/dev/pts/0"..., 511) = 10
stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
access("/var/run/utmpx", F_OK)          = -1 ENOENT (No such file or directory)
open("/var/run/utmp", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
lseek(3, 0, SEEK_SET)                   = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7f4033b84290, [], SA_RESTORER, 0x7f4033a950b0}, 
{SIG_DFL, [], 0}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, 
"\10\0\0\0\261\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) 
= 384
read(3, "\2\0\0\0\0\0\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
384) = 384
read(3, "\1\0\0\0003N\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
384) = 384
read(3, "\10\0\0\0\6\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
384) = 384
read(3, "\6\0\0\0\"\7\0\0tty1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) 
= 384
read(3, "\6\0\0\0#\7\0\0tty2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) 
= 384
read(3, "\6\0\0\0$\7\0\0tty3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) 
= 384
read(3, "\6\0\0\0%\7\0\0tty4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) 
= 384
read(3, "\6\0\0\0&\7\0\0tty5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) 
= 384
read(3, "\6\0\0\0'\7\0\0tty6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) 
= 384
read(3, "\7\0\0\0004$\0\0pts/0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) 
= 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7f4033a950b0}, NULL, 8) = 0
close(3)                                = 0
getuid()                                = 1000
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1356, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
read(3, "root:x:0:0::/root:/bin/bash\nbin:"..., 4096) = 1356
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
open("/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFD, FD_CLOEXEC|0x2)       = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nslcd/socket"}, 23) = 0
poll([{fd=3, events=POLLOUT}], 1, 10000) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\1\0\0\0\321\7\0\0\4\0\0\0andy", 16, MSG_NOSIGNAL, NULL, 0) = 16
poll([{fd=3, events=POLLIN}], 1, 60000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}])
read(3, "", 1024)                       = 0
close(3)                                = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1356, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
read(3, "root:x:0:0::/root:/bin/bash\nbin:"..., 4096) = 1356
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFD, FD_CLOEXEC|0x2)       = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nslcd/socket"}, 23) = 0
poll([{fd=3, events=POLLOUT}], 1, 10000) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\1\0\0\0\351\3\0\0\5\0\0\0andyc", 17, MSG_NOSIGNAL, NULL, 0) = 17
poll([{fd=3, events=POLLIN}], 1, 60000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}])
read(3, "\1\0\0\0\351\3\0\0\0\0\0\0\5\0\0\0andyc\1\0\0\0*\350\3\0\0d\0"..., 
1024) = 80
poll([{fd=3, events=POLLIN}], 1, 0)     = 1 ([{fd=3, revents=POLLIN|POLLHUP}])
read(3, "", 1024)                       = 0
close(3)                                = 0
open("/etc/shells", O_RDONLY)           = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=56, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=56, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
read(3, "/bin/bash\n/bin/tcsh\n/bin/csh\n/bi"..., 4096) = 56
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
open("/etc/suauth", O_RDONLY)           = -1 ENOENT (No such file or directory)
rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0x7f4033a950b0}, 
{SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [QUIT], SA_RESTORER|SA_RESTART, 
0x7f4033a950b0}, {SIG_DFL, [], 0}, 8) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGQUIT, {0x402920, [QUIT], SA_RESTORER|SA_RESTART, 
0x7f4033a950b0}, {SIG_IGN, [QUIT], SA_RESTORER|SA_RESTART, 0x7f4033a950b0}, 8) 
= 0
open("/dev/tty", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost -isig icanon -echo ...}) 
= 0
fstat(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(5, 0), ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig icanon -echo ...}) 
= 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
write(3, "Password: ", 10)              = 10
read(3, "bob\n", 4096)                  = 4
write(3, "\n", 1)                       = 1
ioctl(3, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = 0
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
open("/etc/localtime", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f4034261000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 4096) 
= 3559
lseek(3, -2272, SEEK_CUR)               = 1287
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0\0\0\0"..., 4096) 
= 2272
close(3)                                = 0
munmap(0x7f4034261000, 4096)            = 0
getpid()                                = 24431
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
sendto(3, "<85>Nov 20 14:57:47 su[24431]: A"..., 62, MSG_NOSIGNAL, NULL, 0) = 62
write(2, "su: Authentication failure\n", 27su: Authentication failure
) = 27
sendto(3, "<85>Nov 20 14:57:47 su[24431]: F"..., 58, MSG_NOSIGNAL, NULL, 0) = 58
sendto(3, "<86>Nov 20 14:57:47 su[24431]: -"..., 54, MSG_NOSIGNAL, NULL, 0) = 54
close(3)                                = 0
exit_group(1)                           = ?
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/