[BusyBox] Cannot reboot with an non root user

Serge Wenger serge_wenger001 at hotmail.com
Mon Jan 31 06:46:53 UTC 2005


>> Hello,
>>
>> I run busybox 1.0 on a PPC. I need to allow non root user to reboot my
>> machine.
>>
>> Can somebody help a newbie to to this work?

>just do
># chmod u+s /sbin/halt
># chmod u+s /sbin/reboot
># chmod u+s /sbin/shutdown
>
>Then  add PATH=$PATH:/sbin into the user's .bashrc
Thanks for your answer, but it is not so easy: halt, reboot and shutdown are 
link to busybox itself. So I must do a modification in busybox itself.Best 
regardsSerge Wenger 



More information about the busybox mailing list