aboutsummaryrefslogtreecommitdiff
path: root/loginutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Shadow password support involves vlock too.Rob Landley2005-12-191-3/+3
|
* Patch from Tito to make vlock much smaller.Rob Landley2005-12-191-94/+14
|
* strncmp isn't automatically superior to strcmp. Especially when it isn'tRob Landley2005-12-181-2/+2
| | | | used right.
* remove strange bloat dup2() usage, sync this code with mainstream ↵"Vladimir N. Oleynik"2005-12-131-3/+2
| | | | login-utils, size reduce
* Quote the user we pass to addgroup so funky chars are preserved. Fix by ↵Mike Frysinger2005-11-151-1/+1
| | | | dragan_marinkovic in Bug 544
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-152-17/+10
|
* change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"2005-09-291-1/+1
| | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
* getty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect"Vladimir N. Oleynik"2005-09-291-221/+180
|
* use the shorter license headerMike Frysinger2005-09-241-15/+2
|
* use brief license lineMike Frysinger2005-09-241-15/+2
|
* - rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer2005-09-202-2/+2
| | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug
* The change in getty.c in Busybox 1.01 caused the /etc/issue file to notEric Andersen2005-07-271-5/+6
| | | | | be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended result.
* use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger2005-07-271-1/+1
|
* 2005-06-30 Shaun Jackman <sjackman@gmail.com>Mike Frysinger2005-07-011-16/+14
| | | | | * loginutils/getty.c: (open_tty): Use dup2 instead of close/dup.
* 2005-06-30 Shaun Jackman <sjackman@gmail.com>Mike Frysinger2005-07-011-0/+6
| | | | | | * loginutils/getty.c: Include utmp.h only if CONFIG_FEATURE_U_W_TMP is defined. (getty_main): Use ISSUE only if it is defined.
* Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵Mike Frysinger2005-07-014-25/+33
| | | | WTMP options
* A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley2005-05-033-28/+35
|
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-164-6/+6
| | | | which were otherwise cluttering the global namespace.
* In Bug 208, bernhardf writes:Mike Frysinger2005-04-161-1/+1
| | | | | | On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
* Use a sane VEOL settingEric Andersen2005-04-141-1/+1
|
* egor duda writes:Eric Andersen2004-10-082-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
* Only write to shadow file is shadow passwords are enabled. Patch by magicfox ↵Glenn L McGrath2004-09-151-5/+4
| | | | modified by myself to retain check for shadow file access.
* Patch from tito to add argument checking.Glenn L McGrath2004-09-141-2/+2
|
* Tito writes:Eric Andersen2004-09-021-7/+2
| | | | | | | | | | The second patch contains: 1) a size optimization for adduser.c 2) removes a warning about an unused variable in syslogd.c if CONFIG_FEATURE_REMOTE_LOG is not set 3)cosmetic fixes for addgroup_full_usage and adduser_full_usage Ciao, Tito
* Tito writes:Eric Andersen2004-09-021-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi Erik, Hi to all, This is part five of the my_get*id story. I've tweaked a bit this two functions to make them more flexible, but this changes will not affect existing code. Now they work so: 1) my_getpwuid( char *user, uid_t uid, int bufsize) if bufsize is > 0 char *user cannot be set to NULL on success username is written on static allocated buffer on failure uid as string is written to buffer and NULL is returned if bufsize is = 0 char *user can be set to NULL on success username is returned on failure NULL is returned if bufsize is < 0 char *user can be set to NULL on success username is returned on failure an error message is printed and the program exits 2) 1) my_getgrgid( char *group, uid_t uid, int bufsize) if bufsize is > 0 char *group cannot be set to NULL on success groupname is written on static allocated buffer on failure gid as string is written to buffer and NULL is returned if bufsize is = 0 char *group can be set to NULL on success groupname is returned on failure NULL is returned if bufsize is < 0 char *group can be set to nULL on success groupname is returned on failure an error message is printed and the program exits This changes were needed mainly for my new id applet. It is somewhat bigger then the previous but matches the behaviour of GNU id and is capable to handle usernames of whatever length. BTW: at a first look it seems to me that it will integrate well (with just a few changes) with the pending patch in patches/id_groups_alias.patch. The increase in size is balanced by the removal of my_getpwnamegid.c from libbb as this was used only in previous id applet and by size optimizations made possible in whoami.c and in passwd.c. I know that we are in feature freeze but I think that i've tested it enough (at least I hope so.......).
* Improve the setuid situation a bit, and make it more apparentEric Andersen2004-08-261-0/+16
| | | | | when people really ought to make busybox setuid root. -Erik
* Save a line or twoEric Andersen2004-08-262-6/+3
|
* Patch from Manousaridis Angelos to cleanup stale file descriptors, it was ↵Glenn L McGrath2004-08-252-3/+6
| | | | preventing unmounting an initial filesystem.
* Bertrand Baudet writes:Eric Andersen2004-08-161-2/+2
| | | | | | | | | | | | Looks like the -D and -H options of the adduser applet aren't handle properly in BusyBox. This patch fixes the masks definition for those options according to there position in the optstring. Patch against RC2 but should also apply cleanly against CVS. Bertrand
* Umm. Not guilty by reason of insanity.Eric Andersen2004-07-302-3/+3
| | | | -Erik
* Fixup getty, login, etc so the utmp and wtmp are updated, allowingEric Andersen2004-07-303-5/+21
| | | | | the 'who' and 'last' applets among other things to work as expected. -Erik
* Patch from Bastian Blank:Eric Andersen2004-06-221-1/+3
| | | | | | | | | | | On Sat, Jun 19, 2004 at 10:57:37PM +0200, Bastian Blank wrote: > The following patch changes klogd to use openlog/syslog themself > instead of calling syslog_msg which always calls the triple > openlog/syslog/closelog. Updated patch: get rid of syslog_msg entirely. Request from Erik Andersen. Bastian
* Do not use getpass(3)Eric Andersen2004-05-013-35/+7
|
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Sigh. The patch from David Anders (prpplague) broke standardEric Andersen2004-04-121-1/+3
| | | | securetty files since the /dev was not stripped.
* passwd and sulogin also need libcrypt, via libbb/pw_encrypt()Eric Andersen2004-03-271-3/+6
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-157-43/+43
|
* David Anders (prpplague) submitted this patch to allow login to workEric Andersen2004-03-091-2/+2
| | | | when the device nodes are symlinks on a read only file system.
* Fix/eliminate use of atolEric Andersen2004-03-061-12/+5
|
* Using vlock also requires libcryptEric Andersen2003-12-161-0/+1
|
* Andreas Mohr writes:Eric Andersen2003-10-221-12/+12
| | | | | | | | | | | the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer
* Set the default password to md5, patch by Joshua JacksonGlenn L McGrath2003-09-041-1/+1
|
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath2003-09-023-7/+7
| | | | | constant. Vodz last_patch_107
* Vodz, last patch 105Glenn L McGrath2003-08-291-74/+66
| | | | | | Busybox "mount" applet unsupport "user" option and result: must have _BB_SUID_NEVER applet option (my bug). Last patch have reducing 216 bytes for "su" applet also.
* Ronny L Nilsson writes:Eric Andersen2003-07-301-5/+2
| | | | | | | | 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.
* the word "only" is repeated for CONFIG_FEATURE_SHADOWPASSWDSEric Andersen2003-07-221-1/+1
|
* Patch from Terje Kvernes adding quite a lot of missing documentationEric Andersen2003-07-221-4/+18
|
* Document CONFIG_USE_BB_PWD_GRPEric Andersen2003-07-151-1/+17
|
* Looks like I forgot one little tiny detail...Eric Andersen2003-07-142-3/+5
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-142-2/+2
|