UPDATE: Solaris 8 passwd locked out - permission denied

From: Chris Ruhnke (ruhnke@us.ibm.com)
Date: Mon May 07 2007 - 07:37:00 EDT


To the many responses that basically asked "Are you sure you are using
/etc/passwd? What does /etc/nsswitch.conf say?" the answer is "Yes, this
really is a stand-alone server."
The entry in nsswitch.conf is "passwd files". There is no
distributed security on this server.

To those who suggested I run truss against the password command, I am not
an internals wizard. Does this output mean anything to anyone...

auditsys(BSM_AUDITCTL, 0x00000014) Err#22 EINVAL
open("/etc/pam_debug", O_RDONLY) Err#2 ENOENT
stat64("/etc/pam.conf", 0xFFBEFA38) = 0
open("/etc/pam.conf", O_RDONLY) = 3
mmap(0x00000000, 2575, PROT_READ, MAP_PRIVATE, 3, 0) = 0xFF3A0000
brk(0x00027898) = 0
brk(0x00029898) = 0
munmap(0xFF3A0000, 2575) = 0
close(3) = 0
stat64("/usr/lib/security/pam_passwd_auth.so.1", 0xFFBEF9F0) = 0
stat("/usr/lib/security/pam_passwd_auth.so.1", 0xFFBEF518) = 0
resolvepath("/usr/lib/security/pam_passwd_auth.so.1",
"/usr/lib/security/pam_pa8
open("/usr/lib/security/pam_passwd_auth.so.1", O_RDONLY) = 3
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF3A0000
mmap(0xFF110E72, 81920, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1,
0) =0
mmap(0xFEEF0000, 5725, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFE0
mmap(0xFEF02000, 2230, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 30
munmap(0xFEEF2000, 65536) = 0
memcntl(0xFEEF0000, 3328, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
munmap(0xFF3A0000, 8192) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 3
fcntl(3, F_DUPFD, 0x00000100) Err#22 EINVAL
read(3, " #\n # / e t c / n s s".., 1024) = 784
read(3, 0x00027AB8, 1024) = 0
close(3) = 0
open("/etc/passwd", O_RDONLY) = 3
fstat64(3, 0xFFBEEC98) = 0
brk(0x00029898) = 0
brk(0x0002B898) = 0
ioctl(3, TCGETA, 0xFFBEEC24) Err#25 ENOTTY
read(3, " r o o t : x : 0 : 1 : S".., 8192) = 1502
llseek(3, 0xFFFFFFFFFFFFFAE5, SEEK_CUR) = 195
close(3) = 0
write(2, " p a s s w d", 6) = 6
write(2, " : U s e r u n k n o".., 16) = 16
write(2, " d g r a f f", 6) = 6
write(2, "\n", 1) = 1
munmap(0xFEEF0000, 5725) = 0
munmap(0xFEF02000, 2230) = 0
write(2, " P e r m i s s i o n d".., 17) = 17
write(2, "\n", 1) = 1
llseek(0, 0, SEEK_CUR) = 40635
_exit(1)

[demime 1.01b removed an attachment of type image/jpeg]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:56 EDT