From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <44213E62.6080403@ats-manager.stc.donpac.ru> Date: Wed, 22 Mar 2006 15:09:06 +0300 From: Eugene Prokopiev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.2) Gecko/20040808 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list References: <441FB506.7010501@ats-manager.stc.donpac.ru> <200603211712.45824.serpiph@nikiet.ru> <44200C3B.5060707@ats-manager.stc.donpac.ru> <200603211753.46023.altlinux-sisyphus@yandex.ru> In-Reply-To: <200603211753.46023.altlinux-sisyphus@yandex.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Wed Mar 22 15:09:02 2006 X-DSPAM-Confidence: 0.9899 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 107,44213e5e140983823062283 X-DSPAM-Factors: 27, Received*Postfix+with, 0.01000, Subject*Permission+denied, 0.01000, σ, 0.01000, Subject*bin+zsh, 0.01000, To*ALT+Linux, 0.01000, Content-Type*text+plain, 0.01000, User-Agent*ru-RU+rv, 0.01000, Received*ESMTP, 0.01000, Content-Transfer-Encoding*8bit, 0.01000, To*Linux+Sisyphus, 0.01000, User-Agent*X11+U, 0.01000, From*ats-manager.stc.donpac.ru, 0.01000, To*sisyphus, 0.01000, To*Sisyphus, 0.01000, User-Agent*U, 0.01000, εΧΗΕΞΙΚ, 0.01000, Subject*sisyphus+dist-upgrade, 0.01000, Content-Type*plain, 0.01000, Subject*zsh, 0.01000, Received*lists.altlinux.org, 0.01000, Subject*Permission, 0.01000, User-Agent*1.7.2, 0.01000, Received*Mar, 0.01000, Content-Type*plain+charset, 0.01000, Date*Mar, 0.01000, From*Prokopiev, 0.01000, To*discussion+list, 0.01000 Content-Transfer-Encoding: quoted-printable Subject: Re: [sisyphus] dist-upgrade -> /bin/zsh: Permission denied X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 12:09:18 -0000 Archived-At: List-Archive: List-Post: > strace -f /bin/zsh strace -f su - -s /bin/sh test =D7 =DE=C9=D3=CC=C5 =D0=D2=CF=DE=C5=C7=CF = =D7=D9=C4=C1=C5=D4 =D3=CC=C5=C4=D5=C0=DD=C5=C5: fork(Process 5755 attached ) =3D 5755 [pid 5752] waitpid(5755, Process 5752 suspended [pid 5755] chdir("/home/test") =3D 0 [pid 5755] munmap(0xb7f59000, 6032) =3D 0 [pid 5755] munmap(0xb7e23000, 30948) =3D 0 [pid 5755] munmap(0xb7dd8000, 205596) =3D 0 [pid 5755] munmap(0xb7dd5000, 9144) =3D 0 [pid 5755] munmap(0xb7e21000, 8100) =3D 0 [pid 5755] munmap(0xb7dd3000, 5716) =3D 0 [pid 5755] munmap(0xb7dcf000, 14420) =3D 0 [pid 5755] munmap(0xb7dcb000, 15776) =3D 0 [pid 5755] setuid32(500) =3D 0 [pid 5755] rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) =3D 0 [pid 5755] rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) =3D 0 [pid 5755] rt_sigaction(SIGTSTP, {SIG_DFL}, NULL, 8) =3D 0 [pid 5755] rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) =3D 0 [pid 5755] execve("/bin/sh", ["-sh"], [/* 8 vars */]) =3D -1 EACCES=20 (Permission denied) [pid 5755] write(2, "su: exec failed\n", 16su: exec failed [pid 5755] exit_group(1) =3D ? Process 5755 detached <... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) =3D=3D 1}], 0) =3D= 5755 --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =F0=D2=CF=CB=CF=D0=D8=C5=D7 =E5=D7=C7=C5= =CE=C9=CA