CONFIG_FEATURE_SUID and login

Rob Landley rob at landley.net
Mon Oct 31 23:05:06 UTC 2005


On Monday 31 October 2005 14:17, John Kelly wrote:
> With busybox 1.00 (and busybox snapshot 20051030), the login applet
> forces CONFIG_FEATURE_SUID, and the help text for login says "note
> that Busybox binary must be setuid root for this applet to work
> properly."
>
> Is this a config/docementation bug?
>
> When busybox is not suid root, I can still log in as a non-root user,
> no matter whether busybox is configured for internal passwd and group
> functions, or system passwd and group functions.

In which case you're already running it _as_ root, so the suid bit is a moot 
point.

Rob



More information about the busybox mailing list