summaryrefslogtreecommitdiff
path: root/loginutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not fail password check if shadow password does not exist -Denis Vlasenko2007-03-134-55/+66
| | | | | | | | | | | | | | | | | | | | | | fall back to ordinary one Reduced usage of functions returning datain static buffers. (mostly passwd/group/shadow related): function old new delta correct_password 143 193 +50 sulogin_main 490 533 +43 adduser_main 732 774 +42 passwd_main 1875 1915 +40 addgroup_main 330 365 +35 bb_internal_getspnam 38 - -38 bb_internal_fgetpwent 38 - -38 bb_internal_fgetgrent 38 - -38 static.resultbuf 168 88 -80 static.buffer 1872 1104 -768 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes
* clean up accumulated whitespace damageDenis Vlasenko2007-03-071-1/+1
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-062-2/+2
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-039-0/+9
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #3Denis Vlasenko2007-01-294-15/+15
|
* use bb_sanitize_stdio() where appropriateDenis Vlasenko2007-01-271-3/+4
|
* - sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer2007-01-221-1/+0
|
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-191-20/+12
| | | | | | | | | (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();
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-112-2/+2
|
* fix for uclibc-without-shadow.h compilationDenis Vlasenko2006-12-302-2/+6
|
* fix build without shadow supportDenis Vlasenko2006-12-281-2/+1
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko2006-12-281-2/+2
| | | | | | | 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
* adduser: trivial code movementDenis Vlasenko2006-12-261-6/+6
|
* style fixesDenis Vlasenko2006-12-261-1/+1
| | | | last xcalloc replaced by xzalloc
* su: fix typo: "argv -= optind" should be +=Denis Vlasenko2006-12-231-1/+1
|
* - rename SU_SYSLOG to FEATURE_SU_SYSLOGBernhard Reutner-Fischer2006-12-192-8/+9
|
* passwd: add option to check passwords for weaknessDenis Vlasenko2006-12-192-1/+9
|
* su: make /etc/shells check configurableDenis Vlasenko2006-12-192-11/+21
| | | | ash: missing ';'
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-162-8/+12
|
* passwd: fix indentationDenis Vlasenko2006-12-121-3/+2
|
* passwd: added commentDenis Vlasenko2006-12-121-1/+6
|
* passwd: shrink by ~10 bytes, use PRNG instead of usleep.Denis Vlasenko2006-12-121-17/+10
|
* passwd: made smaller by ~130 bytes. size can go negativeDenis Vlasenko2006-12-011-56/+50
| | | | if current trend will continue ;)
* passwd: micro-optimizationDenis Vlasenko2006-11-301-4/+4
|
* passwd: small size optimization. salt generation improvedDenis Vlasenko2006-11-301-22/+28
| | | | (really generated different salts even if called back-to-back).
* passwd: rework:Denis Vlasenko2006-11-301-283/+249
| | | | | | | | | * 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
* - save 4 bytesBernhard Reutner-Fischer2006-11-301-1/+1
| | | | | | text data bss dec hex filename 764 0 80 844 34c vlock.o.oorig 760 0 80 840 348 vlock.o
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-3/+3
|
* safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko2006-11-271-2/+2
| | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
* - minor shrinkageBernhard Reutner-Fischer2006-11-271-8/+6
| | | | | | text data bss dec hex filename 773 0 80 853 355 vlock.o.orig 766 0 80 846 34e vlock.o
* deluser: the same code, but a bit less obfuscated.Denis Vlasenko2006-11-271-15/+16
|
* deluser: size reduction by 60 bytes.Denis Vlasenko2006-11-271-62/+48
| | | | patch from Tito <farmatito@tiscali.it>
* - fix typoBernhard Reutner-Fischer2006-11-221-1/+1
|
* login: use %s - we know that string is not too long thereDenis Vlasenko2006-11-201-3/+3
| | | | | ping[6]: use getopt32: smaller (-50 bytes) and handles -c6 correctly (was requiring '-c 6' with mandatory space)
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-5/+5
|
* getty: remove ancient termio support (was using termois anyway)Denis Vlasenko2006-11-071-101/+65
|
* mostly style fixesDenis Vlasenko2006-11-011-1/+1
|
* login: add big fat comment about SIGINT - preventDenis Vlasenko2006-10-311-1/+8
| | | | adding/deleting that code again and again
* login: re-enable Ctrl-^C before execing shell.Denis Vlasenko2006-10-311-2/+12
|
* rename functions to more understandable namesDenis Vlasenko2006-10-261-2/+2
|
* watch: fix warningDenis Vlasenko2006-10-231-22/+22
| | | | getty: fix breakage; fix excessive stack usage
* getty: conditionally disable handling of all-caps terminals.Denis Vlasenko2006-10-231-57/+25
|
* getty: cleanup part 2Denis Vlasenko2006-10-231-31/+28
|
* getty: cleanup part 1Denis Vlasenko2006-10-231-44/+47
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-202-2/+2
|
* sulogin: add support for $SUSHELL & $sushellDenis Vlasenko2006-10-142-9/+19
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-1/+1
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-084-16/+14
|
* build system overhaulDenis Vlasenko2006-10-054-109/+51
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-035-5/+5
|