Problemy z logowaniem
Artur Frysiak
wiget w usa.net
Pon, 9 Lis 1998, 12:47:50 CET
Witam
Utworzylem usera wiget i za nic nie moge sie na niego zalogowac.
Oto kilka przykladow:
ikar 12:36:41 wiget>ssh wiget w wiget
Host key not found from the list of known hosts.
Are you sure you want to continue connecting (yes/no)? yes
Host 'wiget' added to the list of known hosts.
wiget's password:
Last login: Mon Nov 9 12:09:44 1998
Could not chdir to home directory /home/users/wiget: Permission denied
No mail.
/bin/bash: Permission denied
Connection to wiget closed.
ikar 12:37:26 wiget>
[root w wiget /root]# ls -l /home/users/
total 1
drwx-----x 4 wiget users 1024 Nov 5 23:46 wiget
[root w wiget /root]# ls -l /bin/bash
-rwx--x--x 1 root root 726248 Oct 15 12:23 /bin/bash
Dolaczam takze plik wygenerowany przez strace z su wiget.
759 execve("/bin/su", ["su", "wiget"], [/* 21 vars */]) = 0
759 brk(0) = 0x804d020
759 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
759 open("/etc/ld.so.cache", O_RDONLY) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 3522, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
759 close(4) = 0
759 open(0x40015c58, O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 183100, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40016000
759 mprotect(0x4001b000, 162620, PROT_NONE) = 0
759 mmap(0x4001b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x4000) = 0x4001b000
759 mmap(0x4001c000, 158524, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4001c000
759 close(4) = 0
759 open("/lib/libdl.so.2", O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 11428, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40043000
759 mprotect(0x40045000, 3236, PROT_NONE) = 0
759 mmap(0x40045000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1000) = 0x40045000
759 close(4) = 0
759 open("/lib/libpam.so.0", O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 30892, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40046000
759 mprotect(0x4004d000, 2220, PROT_NONE) = 0
759 mmap(0x4004d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x6000) = 0x4004d000
759 close(4) = 0
759 open("/lib/libpam_misc.so.0", O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 8828, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4004e000
759 mprotect(0x40050000, 636, PROT_NONE) = 0
759 mmap(0x40050000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1000) = 0x40050000
759 close(4) = 0
759 open("/lib/libc.so.6", O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40051000
759 mmap(0, 952572, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40052000
759 mprotect(0x40133000, 30972, PROT_NONE) = 0
759 mmap(0x40133000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xe0000) = 0x40133000
759 mmap(0x40138000, 10492, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40138000
759 close(4) = 0
759 munmap(0x40015000, 3522) = 0
759 personality(0 /* PER_??? */) = 0
759 getpid() = 759
759 brk(0) = 0x804d020
759 brk(0x804d058) = 0x804d058
759 brk(0x804e000) = 0x804e000
759 open("/usr/share/locale/locale.alias", O_RDONLY|0x8000) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
759 read(4, "# Locale name alias data base.\n"..., 4096) = 2031
759 read(4, "", 4096) = 0
759 close(4) = 0
759 munmap(0x40015000, 4096) = 0
759 open("/usr/share/i18n/locale.alias", O_RDONLY|0x8000) = -1 ENOENT (No such file or directory)
759 open(0x804d0b8, O_RDONLY) = 4
759 fstat(4, {st_mode=S_ISGID|0400, st_size=0, ...}) = 0
759 close(4) = 0
759 open(0xbffffac4, O_RDONLY) = -1 ENOENT (No such file or directory)
759 open(0x804d838, O_RDONLY) = -1 ENOENT (No such file or directory)
759 socket(PF_UNIX, SOCK_STREAM, 0) = 4
759 connect(4, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused)
759 close(4) = 0
759 open("/etc/nsswitch.conf", O_RDONLY|0x8000) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
759 read(4, "#\n# /etc/nsswitch.conf\n#\n# An"..., 4096) = 1208
759 brk(0x804f000) = 0x804f000
759 read(4, "", 4096) = 0
759 close(4) = 0
759 munmap(0x40015000, 4096) = 0
759 open("/etc/ld.so.cache", O_RDONLY) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 3522, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
759 close(4) = 0
759 open("/lib/libnss_files.so.2", O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 33528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4013b000
759 mprotect(0x40142000, 4856, PROT_NONE) = 0
759 mmap(0x40142000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x6000) = 0x40142000
759 close(4) = 0
759 munmap(0x40015000, 3522) = 0
759 open("/etc/passwd", O_RDONLY|0x8000) = 4
759 fcntl(4, F_GETFD) = 0
759 fcntl(4, F_SETFD, FD_CLOEXEC) = 0
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
759 read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 579
759 close(4) = 0
759 munmap(0x40015000, 4096) = 0
759 open("/etc/ld.so.cache", O_RDONLY) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 3522, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
759 close(4) = 0
759 open("/lib/libnss_nisplus.so.2", O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 45004, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40144000
759 mprotect(0x4014e000, 4044, PROT_NONE) = 0
759 mmap(0x4014e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x9000) = 0x4014e000
759 close(4) = 0
759 open("/lib/libnsl.so.1", O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 88304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4014f000
759 mprotect(0x40161000, 14576, PROT_NONE) = 0
759 mmap(0x40161000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x11000) = 0x40161000
759 mmap(0x40163000, 6384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40163000
759 close(4) = 0
759 munmap(0x40015000, 3522) = 0
759 open("/etc/ld.so.cache", O_RDONLY) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 3522, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
759 close(4) = 0
759 open("/lib/libnss_nis.so.2", O_RDONLY) = 4
759 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 brk(0x8050000) = 0x8050000
759 mmap(0, 37000, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40165000
759 mprotect(0x4016d000, 4232, PROT_NONE) = 0
759 mmap(0x4016d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x7000) = 0x4016d000
759 close(4) = 0
759 munmap(0x40015000, 3522) = 0
759 stat("/etc/pam.d", {st_mode=0, st_size=0, ...}) = 0
759 open(0x804f438, O_RDONLY) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
759 read(4, "#%PAM-1.0\nauth required\t"..., 4096) = 537
759 open(0x804f520, O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 33320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4016f000
759 mprotect(0x40176000, 4648, PROT_NONE) = 0
759 mmap(0x40176000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x6000) = 0x40176000
759 close(5) = 0
759 open("/etc/ld.so.cache", O_RDONLY) = 5
759 fstat(5, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 3522, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40178000
759 close(5) = 0
759 open(0x40178517, O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 282236, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x40179000
759 mprotect(0x40191000, 183932, PROT_NONE) = 0
759 mmap(0x40191000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x17000) = 0x40191000
759 mmap(0x4019a000, 147068, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4019a000
759 close(5) = 0
759 munmap(0x40178000, 3522) = 0
759 open(0x804fcb8, O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 20836, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x401be000
759 mprotect(0x401c0000, 12644, PROT_NONE) = 0
759 mmap(0x401c0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1000) = 0x401c0000
759 mmap(0x401c2000, 4452, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401c2000
759 close(5) = 0
759 brk(0x8051000) = 0x8051000
759 open(0x8050138, O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 11824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x401c4000
759 mprotect(0x401c6000, 3632, PROT_NONE) = 0
759 mmap(0x401c6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1000) = 0x401c6000
759 close(5) = 0
759 open(0x8050578, O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 10960, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x401c7000
759 mprotect(0x401c9000, 2768, PROT_NONE) = 0
759 mmap(0x401c9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1000) = 0x401c9000
759 close(5) = 0
759 open("/lib/security/pam_permit.so", O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 10812, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x401ca000
759 mprotect(0x401cc000, 2620, PROT_NONE) = 0
759 mmap(0x401cc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1000) = 0x401cc000
759 close(5) = 0
759 open(0x8050df0, O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 brk(0x8052000) = 0x8052000
759 mmap(0, 25540, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x401cd000
759 mprotect(0x401d1000, 9156, PROT_NONE) = 0
759 mmap(0x401d1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x3000) = 0x401d1000
759 mmap(0x401d2000, 5060, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401d2000
759 close(5) = 0
759 open("/etc/ld.so.cache", O_RDONLY) = 5
759 fstat(5, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 3522, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40178000
759 close(5) = 0
759 open("/usr/lib/libcrack.so.2", O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 42908, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x401d4000
759 mprotect(0x401da000, 18332, PROT_NONE) = 0
759 mmap(0x401da000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x5000) = 0x401da000
759 mmap(0x401dc000, 10140, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401dc000
759 close(5) = 0
759 munmap(0x40178000, 3522) = 0
759 open(0x8051438, O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 26128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x401df000
759 mprotect(0x401e3000, 9744, PROT_NONE) = 0
759 mmap(0x401e3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x3000) = 0x401e3000
759 mmap(0x401e4000, 5648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401e4000
759 close(5) = 0
759 read(4, "", 4096) = 0
759 close(4) = 0
759 munmap(0x40015000, 4096) = 0
759 open("/etc/pam.d/other", O_RDONLY) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
759 read(4, "#%PAM-1.0\nauth required "..., 4096) = 210
759 open(0x8051ab8, O_RDONLY) = 5
759 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
759 mmap(0, 10588, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x401e6000
759 mprotect(0x401e8000, 2396, PROT_NONE) = 0
759 mmap(0x401e8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1000) = 0x401e8000
759 close(5) = 0
759 brk(0x8053000) = 0x8053000
759 read(4, "", 4096) = 0
759 close(4) = 0
759 munmap(0x40015000, 4096) = 0
759 getuid() = 0
759 open("/etc/group", O_RDONLY|0x8000) = 4
759 fcntl(4, F_GETFD) = 0
759 fcntl(4, F_SETFD, FD_CLOEXEC) = 0
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
759 _llseek(0x4, 0, 0, 0xbffffa88, 0x1) = 0
759 read(4, "root::0:root\nbin::1:root,bin,da"..., 4096) = 321
759 read(4, "", 4096) = 0
759 close(4) = 0
759 munmap(0x40015000, 4096) = 0
759 setgroups(2, [655460, 1075014852]) = 0
759 open("/etc/pwdb.conf", O_RDONLY) = 4
759 fstat(4, {st_mode=0, st_size=0, ...}) = 0
759 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
759 read(4, "#\n# This is the configuration f"..., 4096) = 134
759 read(4, "", 4096) = 0
759 close(4) = 0
759 munmap(0x40015000, 4096) = 0
759 getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
759 setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
759 getuid() = 0
759 getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
759 setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
759 setgid(100) = 0
759 setuid(500) = 0
759 open("/etc/pwdb.conf", O_RDONLY) = -1 EACCES (Permission denied)
759 getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
759 setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
759 getuid() = 500
759 getuid() = 500
759 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
759 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
759 fstat(0, {st_mode=S_ISGID|02, st_size=0, ...}) = 0
759 stat("/dev/pts", 0xbffff808) = -1 EACCES (Permission denied)
759 open("/dev/null", O_RDONLY|O_NONBLOCK|0x10000) = -1 EACCES (Permission denied)
759 stat("/dev", 0xbffff6fc) = -1 EACCES (Permission denied)
759 brk(0x8056000) = 0x8056000
759 time([910614266]) = 910614266
759 open("/etc/localtime", O_RDONLY|0x8000) = -1 EACCES (Permission denied)
759 getpid() = 759
759 SYS_174(0xd, 0xbffff82c, 0xbffff7a0, 0x8, 0xd) = 0
759 socket(PF_UNIX, SOCK_DGRAM, 0) = 4
759 fcntl(4, F_SETFD, FD_CLOEXEC) = 0
759 connect(4, {sun_family=AF_UNIX, sun_path="/dev/log"}, 16) = -1 EACCES (Permission denied)
759 close(4) = 0
759 open("/dev/console", O_WRONLY|O_NOCTTY) = -1 EACCES (Permission denied)
759 SYS_174(0xd, 0xbffff830, 0, 0x8, 0xd) = 0
759 open("/etc/passwd", O_RDONLY|0x8000) = -1 EACCES (Permission denied)
759 uname({sys="Linux", node="wiget.t17.ds.pwr.wroc.pl", ...}) = 0
759 open("/etc/passwd", O_RDONLY|0x8000) = -1 EACCES (Permission denied)
759 open("/var/nis/NIS_COLD_START", O_RDONLY|0x8000) = -1 EACCES (Permission denied)
759 uname({sys="Linux", node="wiget.t17.ds.pwr.wroc.pl", ...}) = 0
759 write(2, "could not open session\n", 23) = 23
759 _exit(1) = ?
Pozdrawiam
Wiget
__ __ _ _
/ / /\ \ (_) __ _ ___| |_ @__mail: Artur Frysiak
\ \/ \/ / |/ _` |/ _ \ __| Rudlice 10
\ /\ /| | (_| | __/ |_ 98-311 Ostrowek
\/ \/ |_|\__, |\___|\__|
|___/ email: Wiget w USA.net
Więcej informacji o liście dyskusyjnej pld-devel-pl