[sisyphus] dist-upgrade -> /bin/zsh: Permission denied
Eugene Prokopiev
=?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Ср Мар 22 15:09:06 MSK 2006
> strace -f /bin/zsh
strace -f su - -s /bin/sh test в числе прочего выдает следующее:
fork(Process 5755 attached
) = 5755
[pid 5752] waitpid(5755, Process 5752 suspended
[pid 5755] chdir("/home/test") = 0
[pid 5755] munmap(0xb7f59000, 6032) = 0
[pid 5755] munmap(0xb7e23000, 30948) = 0
[pid 5755] munmap(0xb7dd8000, 205596) = 0
[pid 5755] munmap(0xb7dd5000, 9144) = 0
[pid 5755] munmap(0xb7e21000, 8100) = 0
[pid 5755] munmap(0xb7dd3000, 5716) = 0
[pid 5755] munmap(0xb7dcf000, 14420) = 0
[pid 5755] munmap(0xb7dcb000, 15776) = 0
[pid 5755] setuid32(500) = 0
[pid 5755] rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
[pid 5755] rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
[pid 5755] rt_sigaction(SIGTSTP, {SIG_DFL}, NULL, 8) = 0
[pid 5755] rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
[pid 5755] execve("/bin/sh", ["-sh"], [/* 8 vars */]) = -1 EACCES
(Permission denied)
[pid 5755] write(2, "su: exec failed\n", 16su: exec failed
[pid 5755] exit_group(1) = ?
Process 5755 detached
<... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 5755
--
С уважением, Прокопьев Евгений
Подробная информация о списке рассылки Sisyphus