add/remove-shell,add/deluser,add/delgroup: make them NOEXEC
[oweals/busybox.git] / loginutils / deluser.c
index 3b6bd952d04e2eebc3f47551dcf37913bae41f17..f5bc3c28abb74dcc0f8b511e778e01c088e2b688 100644 (file)
@@ -28,8 +28,9 @@
 //config:      If called with two non-option arguments, deluser
 //config:      or delgroup will remove an user from a specified group.
 
-//applet:IF_DELUSER(APPLET(deluser, BB_DIR_USR_SBIN, BB_SUID_DROP))
-//applet:IF_DELGROUP(APPLET_ODDNAME(delgroup, deluser, BB_DIR_USR_SBIN, BB_SUID_DROP, delgroup))
+//                   APPLET_NOEXEC:name      main     location         suid_type     help
+//applet:IF_DELUSER( APPLET_NOEXEC(deluser,  deluser, BB_DIR_USR_SBIN, BB_SUID_DROP, deluser))
+//applet:IF_DELGROUP(APPLET_NOEXEC(delgroup, deluser, BB_DIR_USR_SBIN, BB_SUID_DROP, delgroup))
 
 //kbuild:lib-$(CONFIG_DELUSER) += deluser.o
 //kbuild:lib-$(CONFIG_DELGROUP) += deluser.o