Re: execve() fails for everyone but root (2.0.>33)

Pavel Machek (pavel@bug.ucw.cz)
Thu, 15 Oct 1998 02:12:31 +0200


Hi!

> I have a problem with the linux kernels 2.0.x where x>=34. They boot ok,
> but I can only work as root, since no other user is allowed to execute
> anything (including the shell), no matter what the permissions are.
>
> The file system is an ext2 fs, my libc is 5.4.38. With kernel 2.0.33,
> everything works fine. /bin has permissions drwxr-xr-x, btw.
> strace shows that the execve() call fails with "permission denied".
>
> I append a short listing of a test program I wrote in order to examine this
> and its output:

Look for permissions of /lib/ld.so and similar beasts.

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/