BusyBox passwd requires root privileges
Scott Wood
scottwood at freescale.com
Sat Aug 4 07:55:26 EST 2007
khollan wrote:
>
>
> Scott Wood-2 wrote:
>
>>
>>passwd needs to be setuid root.
>>
>>
>
> How do you do that?
Make sure it's owned by root, and chmod 4755 the binary. I'm not sure
how to go about telling busybox to drop suid when invoked as something
else. It'd probably be better to build two busyboxes, one with all suid
commands and the other with the rest.
-Scott
More information about the Linuxppc-embedded
mailing list