| Commit message (Expand) | Author | Age | Lines |
* | Remove support for rlogind in login(1), that is, remove the '-r' flag | Alejandro Colomar | 4 days | -71/+12 |
* | libsubid: Add routine to free allocated memory | Daniel Bershatsky | 5 days | -1/+1 |
* | libsubid: Dealocate memory on exit | Daniel Bershatsky | 5 days | -0/+1 |
* | src/groupmod.c: delete gr_free_members(&grp) to avoid double free | lixinyun | 10 days | -2/+0 |
* | src/check_subid_range.c: Call str2ul() instead of strtoul_noneg() | Alejandro Colomar | 2024-05-27 | -5/+3 |
* | src/login.c: main(): Use login_name_max_size() | Alejandro Colomar | 2024-05-21 | -2/+5 |
* | src/usermod.c: update_gshadow(): Add helper function | Alejandro Colomar | 2024-05-20 | -107/+116 |
* | src/usermod.c: update_group(): Add helper function | Alejandro Colomar | 2024-05-20 | -80/+87 |
* | src/usermod.c: update_gshadow_file(): Reduce scope of local variable | Alejandro Colomar | 2024-05-20 | -5/+3 |
* | src/usermod.c: update_group_file(): Reduce scope of local variable | Alejandro Colomar | 2024-05-20 | -4/+4 |
* | src/usermod.c: update_gshadow_file(): Fix RESOURCE_LEAK (CWE-772) | Alejandro Colomar | 2024-05-20 | -3/+3 |
* | src/usermod.c: update_group_file(): Fix RESOURCE_LEAK (CWE-772) | Alejandro Colomar | 2024-05-20 | -3/+3 |
* | src/usermod.c: Rename update_gshadow() => update_gshadow_file() | Alejandro Colomar | 2024-05-20 | -3/+4 |
* | src/usermod.c: Rename update_group() => update_group_file() | Alejandro Colomar | 2024-05-20 | -3/+4 |
* | src/usermod.c: Reduce scope of local variables | Alejandro Colomar | 2024-05-20 | -11/+11 |
* | src/useradd.c: set_defaults(): Fix FILE* leak | Alejandro Colomar | 2024-05-18 | -1/+2 |
* | src/useradd.c: Add fmkstemp() to fix file-descriptor leak | Alejandro Colomar | 2024-05-18 | -10/+24 |
* | src/useradd.c: De-duplicate code | Alejandro Colomar | 2024-05-18 | -2/+1 |
* | src/useradd.c: set_defaults(): Do not free(3) the result of asprintf(3) if it... | Alejandro Colomar | 2024-05-18 | -1/+2 |
* | src/useradd.c: set_defaults(): Rename goto label | Alejandro Colomar | 2024-05-18 | -11/+13 |
* | src/useradd.c: set_defaults(): Fix order of clean-ups | Alejandro Colomar | 2024-05-18 | -3/+2 |
* | lib/, src/: Rename some local variables | Alejandro Colomar | 2024-05-04 | -3/+3 |
* | lib/, src/: str2*(): Rename functions and reorder parameters | Alejandro Colomar | 2024-03-29 | -29/+29 |
* | lib/, src/, po/: get[u]long(): Move functions to lib/atoi/str2i.h | Alejandro Colomar | 2024-03-29 | -0/+16 |
* | src/login.c: Use localtime_r(3) instead of localtime(3) | Alejandro Colomar | 2024-03-24 | -3/+4 |
* | lib/, src/: Use STRFTIME() instead of its pattern | Alejandro Colomar | 2024-03-24 | -7/+16 |
* | lib/, src/: Call gmtime_r(3) instead of gmtime(3) | Alejandro Colomar | 2024-03-14 | -6/+6 |
* | src/passwd.c: print_status(): Fix typo (bogus use of the comma operator) | Alejandro Colomar | 2024-03-14 | -1/+1 |
* | src/: Use DAY_TO_STR() instead of its pattern | Alejandro Colomar | 2024-03-14 | -13/+12 |
* | lib/, src/, po/: date_to_str(): Move function to header, and make inline | Alejandro Colomar | 2024-03-14 | -3/+8 |
* | src/sulogin.c: Invert logic to reduce indentation | Alejandro Colomar | 2024-03-14 | -6/+4 |
* | lib/, src/: Use int main(void) where appropriate | Alejandro Colomar | 2024-03-14 | -12/+12 |
* | lib/, src/: Remove all code wrapped in defined(USE_NIS) | Alejandro Colomar | 2024-03-14 | -159/+0 |
* | src/passwd.c: Don't print the program name twice in a log entry | Alejandro Colomar | 2024-03-14 | -2/+2 |
* | Adding checks for fd omission | Skyler Ferrante | 2024-03-10 | -7/+18 |
* | src/vipw.c: Use string literals to initialize 'Prog' | Alejandro Colomar | 2024-03-08 | -5/+5 |
* | src/vipw.c: Reverse logic and variable name | Alejandro Colomar | 2024-03-08 | -27/+27 |
* | Hardcoding Prog to known value | Skyler Ferrante | 2024-03-07 | -171/+85 |
* | lib/utmp.c: Replace UT_LINESIZE by a NITEMS() calculation | Alejandro Colomar | 2024-02-20 | -1/+1 |
* | lib/, src/, configure.ac: Use utmpx instead of utmp | Alejandro Colomar | 2024-02-20 | -15/+19 |
* | src/passwd.c: check password length upper limit | Tomas Halman | 2024-02-16 | -2/+14 |
* | src/passwd.c: inconsistent password length limit | Tomas Halman | 2024-02-16 | -2/+2 |
* | src/login.c: Fix off-by-one bugss | Alejandro Colomar | 2024-02-13 | -2/+2 |
* | src/login.c: Fix off-by-one buggs | Alejandro Colomar | 2024-02-13 | -8/+11 |
* | usermod: refuse invalid uidmaps during --add-sub{u,g}ids | Tycho Andersen | 2024-02-13 | -0/+7 |
* | src/chage.c: Unify long overflow checks in print_day_as_date() | Tobias Stoeckmann | 2024-02-13 | -25/+27 |
* | src/sulogin.c: Remove unused variable | Samanta Navarro | 2024-02-01 | -1/+0 |
* | src/sulogin.c: Simplify password handling | Samanta Navarro | 2024-02-01 | -10/+6 |
* | src/sulogin.c: Use a do-while loop | Samanta Navarro | 2024-02-01 | -7/+8 |
* | src/passwd.c: implement reading password from pipe | Tomas Halman | 2024-01-31 | -43/+77 |