Busybox Gurus,

I am looking into providing the login functionality to non-root users.
When I make the busybox executable setuid by root, login is accesible
by non-root users. However, I don't understand the need for this? Why
is login being required to get root permissions. It isn't this way on
typical linux installs.

Also, how do I change login to not require suid root? I tried to
change busybox/include/applets.h:
IF_LOGIN(APPLET(login, _BB_DIR_BIN, _BB_SUID_REQUIRE))

to:
IF_LOGIN(APPLET(login, _BB_DIR_BIN, _BB_SUID_MAYBE))

but that does not work. It just gets overwritten from somewhere on
make. Any ideas on how to do this are appreciated.

Also, please let me know if it is not a good idea to run login with suid root.

tia,
rouble
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to