Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ramboot rpi # ls bin/bash -lh
- -rwxr-xr-x 1 root root 795K Jan 11 2013 bin/bash
- ramboot rpi # strace chroot . bin/bash
- execve("/usr/bin/chroot", ["chroot", ".", "bin/bash"], [/* 49 vars */]) = 0
- ...
- chroot(".") = 0
- chdir("/") = 0
- execve("bin/bash", ["bin/bash"], [/* 49 vars */]) = -1 ENOENT (No such file or directory)
- open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE|O_NOFOLLOW) = -1 ENOENT (No such file or directory)
- write(2, "chroot: ", 8chroot: ) = 8
- write(2, "failed to run command \342\200\230bin/bas"..., 36failed to run command ‘bin/bash’) = 36
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement