aboutsummaryrefslogtreecommitdiff
path: root/loginutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* chpasswd: fixes and code shrinkDenis Vlasenko2007-07-211-17/+12
| | | | | | | | | | | update_passwd 732 734 +2 chpasswd_main 318 292 -26 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-26) Total: -24 bytes text data bss dec hex filename 781564 1168 11900 794632 c2008 busybox_old 781548 1168 11900 794616 c1ff8 busybox_unstripped
* chpasswd: now with svn addDenis Vlasenko2007-07-201-0/+77
|
* chpasswd: new applet by Alexander Shishkin <virtuoso@slind.org>Denis Vlasenko2007-07-204-117/+17
|
* adduser: close /etc/{passwd,shadow} before calling passwd etc.Denis Vlasenko2007-07-141-5/+5
| | | | | Spotted by Natanael Copa <natanael.copa@gmail.com>
* xioctl and friends by Tito <farmatito@tiscali.it>Denis Vlasenko2007-07-142-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta do_iptunnel 203 977 +774 process_dev 5328 5494 +166 ioctl_or_perror - 54 +54 ioctl_or_perror_and_die - 51 +51 ioctl_alt_func - 49 +49 bb_ioctl_or_warn - 47 +47 do_add_ioctl 102 145 +43 bb_xioctl - 39 +39 print_value_on_off - 31 +31 get_lcm 105 123 +18 arp_main 2155 2167 +12 .................. zcip_main 1576 1566 -10 setlogcons_main 92 82 -10 dumpkmap_main 263 253 -10 do_get_ioctl 85 75 -10 setkeycodes_main 165 154 -11 write_table 244 232 -12 vconfig_main 318 306 -12 do_del_ioctl 93 81 -12 set_address 75 62 -13 maybe_set_utc 30 16 -14 loadfont_main 495 479 -16 slattach_main 712 695 -17 do_loadfont 191 174 -17 do_iplink 1155 1136 -19 getty_main 2583 2562 -21 fbset_main 2058 2035 -23 do_time 588 565 -23 xioctl 25 - -25 read_rtc 186 160 -26 parse_conf 1299 1270 -29 udhcp_read_interface 269 239 -30 bb_ioctl 45 - -45 bb_ioctl_alt 70 - -70 bb_ioctl_on_off 78 - -78 .rodata 129370 129018 -352 do_show 799 - -799 ------------------------------------------------------------------------------ (add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864) Total: -548 bytes text data bss dec hex filename 675352 2740 13968 692060 a8f5c busybox_old 674804 2740 13968 691512 a8d38 busybox_unstripped
* init: make sure fd 0,1,2 are not closed, + related optimizations.Denis Vlasenko2007-06-141-2/+3
| | | | | | init_main 929 920 -9 bb_daemonize_or_rexec 145 127 -18
* login: make /etc/nologin support configurable. -240 bytes if not selected.Denis Vlasenko2007-06-122-11/+23
|
* login: ask passwords even for wrong usernames.Denis Vlasenko2007-06-081-4/+3
| | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 680099 2704 15648 698451 aa853 busybox_old 680110 2704 15648 698462 aa85e busybox_unstripped
* Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko2007-06-041-6/+5
| | | | | | tr: stop using globals needlessly. code: -103 bytes
* use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko2007-05-311-1/+0
| | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
* whitespace fixesDenis Vlasenko2007-05-304-8/+8
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-2610-10/+10
| | | | | *: s/include "busybox.h"/include "libbb.h"
* cryptpw: size reductionDenis Vlasenko2007-05-091-18/+9
| | | | | | | | function old new delta cryptpw_main 198 140 -58 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-58) Total: -58 bytes
* cryptpw: forgot svn add... how typical of me :(Denis Vlasenko2007-05-081-0/+37
|
* cryptpw: new applet (a bit less than 3k added)Denis Vlasenko2007-05-083-50/+7
| | | | | (by Thomas Lundquist <lists@zelow.no>)
* deluser: add optional support for removing users from groupsDenis Vlasenko2007-04-152-53/+103
| | | | (by Tito <farmatito@tiscali.it>)
* login: fixing my brainfart: xspawn(t_argv) <- was using argv!Denis Vlasenko2007-04-121-1/+1
|
* login: remove setpgrp call (makes it work from shell prompt again).Denis Vlasenko2007-04-121-20/+25
| | | | | login: sanitize stdio descriptors (we are suid, need to be careful!) shrink login and set_environment by ~100 bytes.
* - clean up addgroup, fix adding users to existing groups and make it ↵Bernhard Reutner-Fischer2007-04-052-41/+111
| | | | optional (Tito)
* Attempt to get more applets compile for NOMMU.Denis Vlasenko2007-03-261-18/+17
| | | | | | | TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko2007-03-251-1/+1
|
* login: nuke nonblock() - we have it in libbb; -400 bytes bss.Denis Vlasenko2007-03-241-34/+28
|
* adduser: don't bomb out if shadow password file doesn't existDenis Vlasenko2007-03-241-10/+14
| | | | (from Tito <farmatito@tiscali.it>)
* 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