aboutsummaryrefslogtreecommitdiff
path: root/loginutils
AgeCommit message (Collapse)Author
2007-01-29preparatory patch for -Wwrite-strings #3Denis Vlasenko
2007-01-27use bb_sanitize_stdio() where appropriateDenis Vlasenko
2007-01-22- sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2006-12-30fix for uclibc-without-shadow.h compilationDenis Vlasenko
2006-12-28fix build without shadow supportDenis Vlasenko
2006-12-28bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko
uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
2006-12-26adduser: trivial code movementDenis Vlasenko
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-23su: fix typo: "argv -= optind" should be +=Denis Vlasenko
2006-12-19- rename SU_SYSLOG to FEATURE_SU_SYSLOGBernhard Reutner-Fischer
2006-12-19passwd: add option to check passwords for weaknessDenis Vlasenko
2006-12-19su: make /etc/shells check configurableDenis Vlasenko
ash: missing ';'
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-12-12passwd: fix indentationDenis Vlasenko
2006-12-12passwd: added commentDenis Vlasenko
2006-12-12passwd: shrink by ~10 bytes, use PRNG instead of usleep.Denis Vlasenko
2006-12-01passwd: made smaller by ~130 bytes. size can go negativeDenis Vlasenko
if current trend will continue ;)
2006-11-30passwd: micro-optimizationDenis Vlasenko
2006-11-30passwd: small size optimization. salt generation improvedDenis Vlasenko
(really generated different salts even if called back-to-back).
2006-11-30passwd: rework:Denis Vlasenko
* do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes
2006-11-30- save 4 bytesBernhard Reutner-Fischer
text data bss dec hex filename 764 0 80 844 34c vlock.o.oorig 760 0 80 840 348 vlock.o
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
2006-11-27- minor shrinkageBernhard Reutner-Fischer
text data bss dec hex filename 773 0 80 853 355 vlock.o.orig 766 0 80 846 34e vlock.o
2006-11-27deluser: the same code, but a bit less obfuscated.Denis Vlasenko
2006-11-27deluser: size reduction by 60 bytes.Denis Vlasenko
patch from Tito <farmatito@tiscali.it>
2006-11-22- fix typoBernhard Reutner-Fischer
2006-11-20login: use %s - we know that string is not too long thereDenis Vlasenko
ping[6]: use getopt32: smaller (-50 bytes) and handles -c6 correctly (was requiring '-c 6' with mandatory space)
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-11-07getty: remove ancient termio support (was using termois anyway)Denis Vlasenko
2006-11-01mostly style fixesDenis Vlasenko
2006-10-31login: add big fat comment about SIGINT - preventDenis Vlasenko
adding/deleting that code again and again
2006-10-31login: re-enable Ctrl-^C before execing shell.Denis Vlasenko
2006-10-26rename functions to more understandable namesDenis Vlasenko
2006-10-23watch: fix warningDenis Vlasenko
getty: fix breakage; fix excessive stack usage
2006-10-23getty: conditionally disable handling of all-caps terminals.Denis Vlasenko
2006-10-23getty: cleanup part 2Denis Vlasenko
2006-10-23getty: cleanup part 1Denis Vlasenko
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-14sulogin: add support for $SUSHELL & $sushellDenis Vlasenko
2006-10-14add open_read_close() and similar stuffDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-05build system overhaulDenis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-09-26several fixes from openWRT projectDenis Vlasenko
2006-09-26login: fix getopt_ulflags fallout (wasn't taking username supplied by getty)Denis Vlasenko
2006-09-24vlock: make message shorterDenis Vlasenko