[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] Cannot reboot with an non root user
From: Claus Klein <claus.klein () marconi ! com>
Date: 2005-01-31 10:12:28
Message-ID: 200501311112.29512.claus.klein () marconi ! com
[Download RAW message or body]
Hello,
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@mail.busybox.net
> http://codepoet.org/mailman/listinfo/busybox
>
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic