On Mon, May 28, 2007 at 12:09:01AM +0100, Edd Barrett wrote: > [...] > So I try as root (I know I shouldnt have to): > # whoami > root > # ./a.out > ksh: ./a.out: Operation not permitted > # exec a.out > ksh: a.out: not found > $ whoami > edd > > Notice how it logged my root shell out?!?!
That's ok, exec replaces the current process with the new one. > > Can anyone enlighten me? Probably not, but make sure you didn't mount with noexec... Been there, done that ;) Tobias > > Thanks > > -- > Best Regards > > Edd > > --------------------------------------------------- > http://students.dec.bournemouth.ac.uk/ebarrett

