Advertisement
Guest User

Untitled

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