aboutsummaryrefslogtreecommitdiff
path: root/loginutils
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Tito to unify deluser and delgroup, and generally shrink code.Gravatar Rob Landley2006-04-104-213/+72
|
* Rewrite/shrink by tito.Gravatar Rob Landley2006-04-042-252/+95
|
* From Jan Kiszka: This patch fixes the security labelling of the login terminalGravatar Rob Landley2006-03-271-13/+9
| | | | | | 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-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of ↵Gravatar Mike Frysinger2006-03-221-1/+1
| | | | sys/signal.h.
* - revert back to r14406Gravatar Bernhard Reutner-Fischer2006-03-131-7/+15
|
* - backout using features which are not available with the previous stableGravatar Bernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionGravatar Rob Landley2006-03-064-4/+4
| | | | definitions. (That should only be on prototypes.)
* - remove unused lists *-mGravatar Bernhard Reutner-Fischer2006-03-021-3/+0
|
* - use absolute path for top_builddir and top_srcdir.Gravatar Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Gravatar Bernhard Reutner-Fischer2006-03-011-14/+5
| | | | - use less resources for the buildsystem itself
* Don't build directory libraries unless we're building an applet that needs it.Gravatar Rob Landley2006-02-211-0/+2
| | | | Cherry-picked from Devin Bayer's big MacOS X patch.
* make the build system puuuuuuuuuuurtyGravatar Mike Frysinger2006-02-021-3/+2
|
* - bzero -> memsetGravatar Bernhard Reutner-Fischer2006-01-312-25/+25
| | | | | | | | | | | | | | | text data bss dec hex filename 1652855 14444 1215616 2882915 2bfd63 busybox.oorig.gcc-3.3 1652823 14444 1215616 2882883 2bfd43 busybox.gcc-3.3 1603655 14412 1215552 2833619 2b3cd3 busybox.oorig.gcc-3.4 1603655 14412 1215552 2833619 2b3cd3 busybox.gcc-3.4 1609755 14508 1215744 2840007 2b55c7 busybox.oorig.gcc-4.0 1609755 14508 1215744 2840007 2b55c7 busybox.gcc-4.0 1590495 13516 1215392 2819403 2b054b busybox.oorig.gcc-4.1-HEAD 1590495 13516 1215392 2819403 2b054b busybox.gcc-4.1-HEAD 1589079 13036 1213248 2815363 2af583 busybox.oorig.gcc-4.2-HEAD 1589079 13036 1213248 2815363 2af583 busybox.gcc-4.2-HEAD
* more destroy potential overflow for x86_64.Gravatar "Vladimir N. Oleynik"2006-01-311-1/+3
|
* destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSEDGravatar "Vladimir N. Oleynik"2006-01-311-3/+6
|
* fix up yet more annoying signed/unsigned and mixed type errorsGravatar Eric Andersen2006-01-301-2/+2
|
* just whitespaceGravatar Tim Riker2006-01-255-8/+8
|
* - add platform.h.Gravatar Bernhard Reutner-Fischer2006-01-222-16/+3
| | | | - use shorter boilerplate while at it.
* - Document -m, -c, -s and provide a default shell for standalone build.Gravatar Bernhard Reutner-Fischer2006-01-191-9/+17
| | | | | - Wrap overlong lines plus a few whitespace fixes. - add GPL header.
* - shared libbusybox.Gravatar Bernhard Reutner-Fischer2006-01-151-1/+6
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* declare const for funGravatar Mike Frysinger2006-01-081-1/+1
|
* patch from tito: consolidate delay functions as bb_do_delay()Gravatar Rob Landley2006-01-064-26/+4
|
* Second attempt to simplify the login menu. Shadow password stuff at the top,Gravatar Rob Landley2005-12-211-2/+1
| | | | | | | with no dependencies (since depending on 9 of the 13 apps in the menu gets a bit silly). And fix my attempt to make internal shadow password support automatically depend on internal password support plus shadow password support.
* Shadow password support went beyond the dependency event horizon, just makeGravatar Rob Landley2005-12-201-32/+28
| | | | | it an independent menu. And make internal shadow password support a subset of the other internal password function support.
* Shadow password support involves vlock too.Gravatar Rob Landley2005-12-191-3/+3
|
* Patch from Tito to make vlock much smaller.Gravatar Rob Landley2005-12-191-94/+14
|
* strncmp isn't automatically superior to strcmp. Especially when it isn'tGravatar Rob Landley2005-12-181-2/+2
| | | | used right.
* remove strange bloat dup2() usage, sync this code with mainstream ↵Gravatar "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 ↵Gravatar Mike Frysinger2005-11-151-1/+1
| | | | dragan_marinkovic in Bug 544
* common BUFSIZ BSS buffer, small reduce code, data and bssGravatar "Vladimir N. Oleynik"2005-10-152-17/+10
|
* change interface to bb_xasprintf() - more perfect for me.Gravatar "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() perfectGravatar "Vladimir N. Oleynik"2005-09-291-221/+180
|
* use the shorter license headerGravatar Mike Frysinger2005-09-241-15/+2
|
* use brief license lineGravatar Mike Frysinger2005-09-241-15/+2
|
* - rename libbb's password helpers as suggested in libbb.hGravatar Bernhard 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 notGravatar Eric 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 quietGravatar Mike Frysinger2005-07-271-1/+1
|
* 2005-06-30 Shaun Jackman <sjackman@gmail.com>Gravatar 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>Gravatar 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 ↵Gravatar Mike Frysinger2005-07-014-25/+33
| | | | WTMP options
* A patch from Takeharu KATO to update/fix SE-Linux support.Gravatar Rob Landley2005-05-033-28/+35
|
* Patch from Bernhard Fischer to make a bunch of symbols staticGravatar Eric Andersen2005-04-164-6/+6
| | | | which were otherwise cluttering the global namespace.
* In Bug 208, bernhardf writes:Gravatar 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 settingGravatar Eric Andersen2005-04-141-1/+1
|
* egor duda writes:Gravatar 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 ↵Gravatar Glenn L McGrath2004-09-151-5/+4
| | | | modified by myself to retain check for shadow file access.
* Patch from tito to add argument checking.Gravatar Glenn L McGrath2004-09-141-2/+2
|
* Tito writes:Gravatar 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:Gravatar 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 apparentGravatar Eric Andersen2004-08-261-0/+16
| | | | | when people really ought to make busybox setuid root. -Erik