[BusyBox] Cannot reboot with an non root user

Arjun Asthana arjunasthana at gmx.net
Fri Jan 28 11:38:44 UTC 2005


On Wednesday 26 January 2005 17:36, Serge Wenger wrote:
> 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
>
> Serge

-- 
Regards,
 Arjun Asthana
 Registered Linux User #293731       / /\
    #&                              / /  \
   #&    (_)  __   __ __ __  __    / / /\ \
  #&    / / / _ \ / // / \ \/ /   / /_/\ \ \
 #&@!8 /_/ /_//_/ \___/  /_/\_\  /______\ \ \
 May the Source be with you      \_________\/





More information about the busybox mailing list