[BusyBox] su usage

Robert Griebl griebl at gmx.de
Thu Sep 12 10:00:04 MDT 2002


----- Original Message -----
From: "Rolland Dudemaine" <rolland.dudemaine at msg-software.com>
To: "busybox" <busybox at busybox.net>
Sent: Thursday, September 12, 2002 3:11 PM
Subject: [BusyBox] su usage


> Hi,
>
> What's the right way to use the su utility included in busybox cvs ? I
> know that for su to work fine, it needs to have suid. If su is made
> suid, then the whole busybox is, as it's only a link to the main app.
> But then, if busybox has suid, su is not eally useful, if even
meaningful...
>
> Is there a way to build a separate su ? or some other way to use it right
?
>
> Best regards,
> Rolland Dudemaine
>

Currently there is no documentation for this feature, but I'm working on it
...

Create a /etc/busybox.conf containing something like this:

--->8-------------------------------------8<---
[SUID]
su = ssx root.root
--->8-------------------------------------8<---

and compile BB with support for SUID handling with config file.

PS: /etc/busybox.conf has to be chown root.root; chmod 600

cu
Robert





More information about the busybox mailing list