aboutsummaryrefslogtreecommitdiff
path: root/loginutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sulogin: add support for $SUSHELL & $sushellvda2006-10-142-9/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16380 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add open_read_close() and similar stuffvda2006-10-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-084-16/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-054-109/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_applet_name -> applet_namevda2006-10-035-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-038-12/+12
| | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* several fixes from openWRT projectvda2006-09-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: fix getopt_ulflags fallout (wasn't taking username supplied by getty)vda2006-09-261-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16228 69ca8d6d-28ef-0310-b511-8ec308f3f277
* vlock: make message shortervda2006-09-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16211 69ca8d6d-28ef-0310-b511-8ec308f3f277
* correct_password: undo whitespace damage.vda2006-09-232-5/+4
| | | | | | | vlock + correct_password: fix incorrect line breaks in messages. git-svn-id: svn://busybox.net/trunk/busybox@16201 69ca8d6d-28ef-0310-b511-8ec308f3f277
* passwd: getopt_ulflags'isationvda2006-09-231-61/+52
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16197 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change license statements (and clean up headers) on some of the files thatlandley2006-09-221-6/+1
| | | | | | | Erik or I are primary copyright holders on. git-svn-id: svn://busybox.net/trunk/busybox@16175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getty: oops... removing duplicate #include <syslog.h>vda2006-09-191-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getty: #include <syslog.h>vda2006-09-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupvda2006-09-174-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: apply fixes + getopt_ulflag'ification by Bernhardvda2006-09-171-44/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: eliminate forward decls and #ifdefsvda2006-09-141-191/+166
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix copy'n paste errors that got introduced when switching to the shorter ↵aldot2006-09-131-1/+1
| | | | | | | | | boilerplate. No object code changes. git-svn-id: svn://busybox.net/trunk/busybox@16113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some ↵aldot2006-09-131-28/+11
| | | | | | more cleanup (see FIXME in the patch). git-svn-id: svn://busybox.net/trunk/busybox@16112 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove pointless "const". Bloatcheck says 0 bytes difference.landley2006-09-121-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16110 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Error reporting fix for sulogin, plus remove help entries for options we neverlandley2006-09-111-1/+1
| | | | | | | | implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...) git-svn-id: svn://busybox.net/trunk/busybox@16097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sulogin: minor cleanup.vda2006-09-091-17/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16086 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: use some ideas from util-linux's login.vda2006-09-081-25/+15
| | | | | | | | | | | O_NONBLOCKing output on login timeout. fchmod instead of chmod (latter is racy). is_my_tty() is not needed anymore after race is fixed (is_my_tty() was racy too anyway...). git-svn-id: svn://busybox.net/trunk/busybox@16077 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: make it saner and smaller by ~0.5k.vda2006-09-081-185/+131
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16075 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: small fixes like \n removal, bb_error_msg'ification, etc.vda2006-09-081-19/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16074 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: previous commit comment was wrong :)vda2006-09-081-131/+133
| | | | | | | | | That commit added login script support. Now _this commit_ is a style fix. Sorry.... git-svn-id: svn://busybox.net/trunk/busybox@16073 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: style fixesvda2006-09-082-0/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16072 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shrinkage/cleanup from Tito.landley2006-09-081-87/+45
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16071 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getty, sulogin: convert to using bb_msg for syslog outputvda2006-09-074-108/+76
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16065 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add CONFIG_FEATURE_SYSLOG which controls whethervda2006-09-071-0/+5
| | | | | | | | | | | bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build. git-svn-id: svn://busybox.net/trunk/busybox@16063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed a lot of trailing \n in bb_msg() calls. It is addedvda2006-09-062-8/+8
| | | | | | | | automatically by function itself. git-svn-id: svn://busybox.net/trunk/busybox@16059 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sulogin: fix bug: -tNNN didn't workvda2006-09-031-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Antti Seppala (with dots over the last two a's) wants our getty to initializelandley2006-08-241-1/+2
| | | | | | | | | | the terminal the way mingetty does instead of the way agetty does. It's a bit ugly for somebody else to be writing to a console sitting at a login: prompt, but it's uglier when newline doesn't work as expected if they do. git-svn-id: svn://busybox.net/trunk/busybox@15984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-036-66/+14
| | | | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove apparent typo in "bool" line.rpjday2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix from Tito to make sure /etc/group gets updated.landley2006-07-161-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15705 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert setuid/setgid users to xsetuid/xsetgid.landley2006-07-161-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15702 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Comment tweak from tito.landley2006-07-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15699 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add one-line GPL boilerplate to numerous (but not all yet) source files.rpjday2006-07-125-13/+28
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15686 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito to remove pwd_to_spwd (which we don't actually need), withlandley2006-07-111-14/+7
| | | | | | | some #ifdef removal from me. git-svn-id: svn://busybox.net/trunk/busybox@15685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito to make syslog configurable and remove #ifdefs. Furtherlandley2006-07-102-111/+50
| | | | | | | cleanups by me. git-svn-id: svn://busybox.net/trunk/busybox@15672 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove all usage of the "register" storage class specifier.rpjday2006-07-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15568 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Missed one. Based on suggestions from Erik Hovland.landley2006-06-251-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Undo all of the ugliness and some of the bloat from 15412.landley2006-06-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do away with the fwd-decls of functions. Should not contain any code changesaldot2006-06-161-267/+260
| | | | | | | AFAICT. git-svn-id: svn://busybox.net/trunk/busybox@15409 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - minor size tweakaldot2006-06-141-8/+7
| | | | | | | | | text data bss dec hex filename 613 0 0 613 265 loginutils/su.o.orig 605 0 0 605 25d loginutils/su.o git-svn-id: svn://busybox.net/trunk/busybox@15385 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-273-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).aldot2006-05-262-7/+7
| | | | | | | - fix last.c to also look at the double-underscore UT_ defines. git-svn-id: svn://busybox.net/trunk/busybox@15193 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use portability wrapper define bb_setpgrp.aldot2006-05-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15192 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove emacs layout block as suggested by Robert P.J. Dayaldot2006-05-191-22/+1
| | | | | | | - use shorter boilerplate while at it git-svn-id: svn://busybox.net/trunk/busybox@15141 69ca8d6d-28ef-0310-b511-8ec308f3f277