aboutsummaryrefslogtreecommitdiff
path: root/loginutils/login.c
AgeCommit message (Collapse)Author
2006-09-07getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-26- introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer
- fix last.c to also look at the double-underscore UT_ defines.
2006-05-26- use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-03-27From Jan Kiszka: This patch fixes the security labelling of the login terminalRob Landley
and process... There still remains some stuff to clean up (the whole set_current_security_context() appears unnecessary complex to me), but this is now at least working.
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-01-31more destroy potential overflow for x86_64."Vladimir N. Oleynik"
2006-01-31destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED"Vladimir N. Oleynik"
2006-01-30fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-25just whitespaceTim Riker
2006-01-06patch from tito: consolidate delay functions as bb_do_delay()Rob Landley
2005-07-01Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵Mike Frysinger
WTMP options
2005-05-03A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16In Bug 208, bernhardf writes:Mike Frysinger
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
2004-08-26Save a line or twoEric Andersen
2004-08-25Patch from Manousaridis Angelos to cleanup stale file descriptors, it was ↵Glenn L McGrath
preventing unmounting an initial filesystem.
2004-07-30Umm. Not guilty by reason of insanity.Eric Andersen
-Erik
2004-07-30Fixup getty, login, etc so the utmp and wtmp are updated, allowingEric Andersen
the 'who' and 'last' applets among other things to work as expected. -Erik
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-04-12Sigh. The patch from David Anders (prpplague) broke standardEric Andersen
securetty files since the /dev was not stripped.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-09David Anders (prpplague) submitted this patch to allow login to workEric Andersen
when the device nodes are symlinks on a read only file system.
2003-09-02move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath
constant. Vodz last_patch_107
2003-07-30Ronny L Nilsson writes:Eric Andersen
The login process should always timeout if user don't login sucessfully within reasonable time. Otherwise we're sensetive to a DOS attack by simply doing a bunch of simultaneous telnet connections (deploys all availible TTY's). This patch make login.c terminate the connection after "TIMEOUT" seconds.
2003-07-03Patch from Russell Coker:Eric Andersen
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
2003-03-19Major coreutils update.Manuel Novoa III
2003-01-21run telnet from inetd, present login prompt if login is configured,Glenn L McGrath
patch from Bastian Blank
2002-12-03A missing /etc/securetty is not an error when checking the tty name - theRobert Griebl
comment is right, but the code was wrong ..
2002-11-14A missing securetty file is not an error.Eric Andersen
-Erik
2002-11-07Remove gratuitous and unnecessary "BusyBox" refernece in login promptEric Andersen
-Erik
2002-10-10last_patch61 from vodz:Eric Andersen
New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in.
2002-10-10last_patch60 from vodz:Eric Andersen
login and getty applets writes utmp/wtmp but init do clearing not. I think, in current time deny wtmp/utmp writes as undefault features.
2002-06-23Port over the last of the tinylogin appletsEric Andersen
-Erik
2002-06-22Several login cleanups from vodzEric Andersen
2002-06-04Bigger patch for (partial) tinylogin integrationRobert Griebl
- Made a new dir loginutils - Moved all applets from pwd_grp to loginutils - Added new applets su.c login.c to loginutils - Made a new dir libpwdgrp - Moved everything from pwd_grp/libpwd_grp there - Added shadow.c to libpwdgrp - Removed dir pwd_grp - Added usage strings for login and su to usage.h - Changed main Makefile to reflect the dir rearrangements [Parts of this patch may overlap with my other two patches]