[BusyBox] Cannot reboot with an non root user
Serge Wenger
serge_wenger001 at hotmail.com
Tue Feb 1 16:03:28 UTC 2005
Thanks.
Where did you find documentation about busybox.conf?
Serge
>you may configure that with busybox.con:
>
>cat etc/busybox.conf
>[SUID]
>su = ssx 0.0 # run with euid=0/egid=0
>id = ssx 0.0 # run with euid=0/egid=0
>halt = ssx 0.0 # run with euid=0/egid=0
>reboot = ssx 0.0 # run with euid=0/egid=0
>shutdown= ssx 0.0 # run with euid=0/egid=0
>passwd = --- 0.0 # disabled for all user except for root
>>
># Note, I dit'nt test this, but it should work!
>
>claus
On Monday 31 January 2005 07:46, 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 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
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox
>
Serge Wenger
More information about the busybox
mailing list