Debian: Root ohne Zugriff auf /bin/bash nach chroot
Jan-Benedict Glaw
jbglaw at lug-owl.de
Sun Sep 14 15:52:12 CEST 2003
On Sun, 2003-09-14 15:10:44 +0200, Peter.Voigt1 at gmx.net <Peter.Voigt1 at gmx.net>
wrote in message <16771.1063545044 at www59.gmx.net>:
> HalloJan-Benedict,
>
> der Hinweis auf strace brachte folgenden Ausdurck, den ich ebenfalls nicht
> verstehe:
>
> --- snip ---
> execve("/bin/bash", ["/bin/bash", "-i"], [/* 21 years old */]) = -1 ENOENT (No such file or directory)
> write(2, "chroot: ", 8chroot: )
> write(2, "cannot execute /bin/bash", 24cannot execute /bin/bash) = 24
> write(2, ": No such file or directory". 27: No such file or directory) = 27
> --- snap ---
Es wird versucht, "/bin/bash" auszuführen. Das ist aber anscheinend
nicht da (ENOENT -> "Error: No such entry"). Bist Du sicher, daß das da
ist? Mach' doch bitte mal ein 'ls -lR' auf Dein chroot-Verzeichnis.
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20030914/d6f684a0/attachment.sig>
More information about the Linux
mailing list