[BusyBox] Chroot problem
Stéphane Esté-Gracias
sestegra at free.fr
Sun Mar 13 11:29:46 UTC 2005
Hello,
I'm using BusyBox and Tinylogin. A special user have to be chrooted
to /var/captive.
I have set 'suid' to /sbin/chroot without an error occured (permission
denied).
I have created an user with command :
# adduser -h /var/captive -s /sbin/captive
Where "/sbin/captive" script is following :
#!/bin/sh
exec /sbin/chroot /var/captive /bin/sh
User is rightly chrooted but it has 'root' privileges.
I don't want this user have 'root' privileges : what have I missed ?
Regards
More information about the busybox
mailing list