appletlib.c: make it actally follow _BB_SUID_ALWAYS rules

adduser: implement -S and code shrink / fix uid selection
*: sanitize getspnam_r use

   text    data     bss     dec     hex filename
 777042     974    9676  787692   c04ec busybox_old
 776883     974    9676  787533   c044d busybox_unstripped
This commit is contained in:
Denis Vlasenko
2007-10-29 19:25:45 +00:00
parent 5a28a25b9d
commit 15ca51e3e2
7 changed files with 121 additions and 153 deletions

View File

@ -27,7 +27,7 @@
" -g GECOS GECOS field\n" \
" -s SHELL Login shell\n" \
" -G GROUP Add user to existing group\n" \
" -S Create a system user (ignored)\n" \
" -S Create a system user\n" \
" -D Do not assign a password\n" \
" -H Do not create home directory"