[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chrooting an emulated binary?
C. Bensend wrote:
> 3777 bash CALL getlogin(0x480a28cc,0xcfbfd414)
> 3777 bash RET getlogin 0
> 3777 bash CALL setlogin(0x480a28cc)
> 3777 bash RET setlogin -1 errno 1 Operation not permitted
>
You've got your chrooted /etc correct? Does it have a (dummy) pwd.db and
spwd.db for example?
> 3777 bash CALL ktrace(0xcfbfd1e4,0x4809b7f0,0,0x480a28cc)
> 3777 bash RET ktrace -1 errno 2 No such file or directory
>
Analyse the scriptfile you're trying to run. Emulate that step by step
with the chrootuid command.
Good luck.
Raymond.