234 Commits

Author SHA256 Message Date
52da2ce5db Accepting request 1330357 from Base:System
- Update to 4.19.3:
  * chpasswd(8):  Don't reject hashes containing backslashes or 'n'
    characters. Affected SHA-256, SHA-512, MD5.
- Update shadow.keyring according to AUTHORS.md and shadow/keys

OBS-URL: https://build.opensuse.org/request/show/1330357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=85
2026-02-03 20:25:29 +00:00
9a40113161 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=227 2026-02-02 08:40:10 +00:00
e228f25ea0 - Update to 4.19.3:
* chpasswd(8):  Don't reject hashes containing backslashes or 'n'
    characters. Affected SHA-256, SHA-512, MD5.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=226
2026-02-02 07:15:34 +00:00
4f8bbd81f2 Accepting request 1329809 from Base:System
- Add shadow-utils Provides for compatibility with RH/Fedora packages

- Remove --enable-account-tools-setuid build flag:
  This was a leftover. The package builds chgpasswd, chpasswd,
  groupadd, groupdel, groupmod, newusers, useradd, userdel,
  and usermod as setuid binaries via this flag and then strips
  the setuid bit again in the install section.
  See gh/shadow-maint/shadow#1518
- Cleanup PAM config files which are no longer needed:
  groupadd, groupdel, groupmod, useradd, userdel, usermod

OBS-URL: https://build.opensuse.org/request/show/1329809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=84
2026-01-30 17:19:27 +00:00
82264abfac - Add shadow-utils Provides for compatibility with RH/Fedora packages
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=224
2026-01-29 12:24:44 +00:00
d5f3676ef0 Accepting request 1320078 from home:Pharaoh_Atem:branches:Base:System
- Add shadow-utils Provides for compatibility with RH/Fedora packages

OBS-URL: https://build.opensuse.org/request/show/1320078
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=223
2026-01-29 12:23:32 +00:00
0edc88fdfa - Cleanup PAM config files which are no longer needed:
groupadd, groupdel, groupmod, useradd, userdel, usermod

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=222
2026-01-29 12:09:50 +00:00
51a4495dfa Accepting request 1329767 from home:silverhadch:branches:Base:System
- Remove --enable-account-tools-setuid build flag:
  This was a leftover. The package builds chgpasswd, chpasswd,
  groupadd, groupdel, groupmod, newusers, useradd, userdel,
  and usermod as setuid binaries via this flag and then strips
  the setuid bit again in the install section.
  See gh/shadow-maint/shadow#1518

OBS-URL: https://build.opensuse.org/request/show/1329767
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=221
2026-01-29 08:22:47 +00:00
92a1d197f0 Accepting request 1328842 from Base:System
* Change lock mechanism #605 (bsc#1213189)
  * Send UID range warning to stderr (bsc#1230972)

OBS-URL: https://build.opensuse.org/request/show/1328842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=83
2026-01-23 16:32:48 +00:00
4c1f11eba1 * Change lock mechanism #605 (bsc#1213189)
* Send UID range warning to stderr (bsc#1230972)

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=219
2026-01-23 10:00:05 +00:00
742ce50b88 Accepting request 1328649 from Base:System
* gpasswd: Fix password leak (bsc#1214806, CVE-2023-4641)

OBS-URL: https://build.opensuse.org/request/show/1328649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=82
2026-01-22 14:13:24 +00:00
1dc938319b * gpasswd: Fix password leak (bsc#1214806, CVE-2023-4641)
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=217
2026-01-22 10:00:11 +00:00
07c8036169 Accepting request 1328142 from Base:System
- Update to 4.19.2:
  Regression fixes usermod(8):
  * Revert an incorrect commit. See #1509 and #1510.

- Update to 4.19.1:
  Regression fixes in chpasswd(8):
  * Don't reject leading '!' in password hashes or a hash consisting
    of "*". These were accidentally rejected in 4.19.0.
    See #1483 and #1486.
  * Don't reject a passwordless account ("" or "!").
    See #1483 (comment) and #1505.

- Update to 4.19.0:
  Breaking changes:
  * Remove support for escaped newlines in configuration files.
    It never worked correctly.
    b0a7ce5 (2025-12-05; "lib/, po/: Remove fgetsx() and fputsx()")
  * Some user names and group names are too dangerous and are rejected,
    even with --badname.
    25aea74 (2025-12-25; "lib/chkname.c, src/: Strictly disallow really bad names")
  Future breaking changes:
  * SHA512 and SHA256 will be supported unconditionally in the next
    release. The build-time flag '--with-sha-crypt' will be removed.
    See #1452.
  Support:
  * Several years ago, there were talks about deprecating su(1) and
    login(1), back when this project was maintained as part of Debian.
    However, nothing was clearly stated, and there were doubts about the
    status of these programs. Let's clarify them now.
  * Our implementations of su(1) and login(1) are fully supported, and we

OBS-URL: https://build.opensuse.org/request/show/1328142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=81
2026-01-20 20:02:15 +00:00
f31fbeed04 - Update to 4.19.2:
Regression fixes usermod(8):
  * Revert an incorrect commit. See #1509 and #1510.

- Update to 4.19.1:
  Regression fixes in chpasswd(8):
  * Don't reject leading '!' in password hashes or a hash consisting
    of "*". These were accidentally rejected in 4.19.0.
    See #1483 and #1486.
  * Don't reject a passwordless account ("" or "!").
    See #1483 (comment) and #1505.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=215
2026-01-19 19:06:27 +00:00
88f72db49b OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=214 2026-01-09 19:15:06 +00:00
eb7bf72be1 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=213 2026-01-07 15:28:59 +00:00
c69c83d7ff OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=212 2026-01-06 20:06:14 +00:00
937573c02a - Update to 4.19.0:
Breaking changes:
  * Remove support for escaped newlines in configuration files.
    It never worked correctly.
    b0a7ce5 (2025-12-05; "lib/, po/: Remove fgetsx() and fputsx()")
  * Some user names and group names are too dangerous and are rejected,
    even with --badname.
    25aea74 (2025-12-25; "lib/chkname.c, src/: Strictly disallow really bad names")
  Future breaking changes:
  * SHA512 and SHA256 will be supported unconditionally in the next
    release. The build-time flag '--with-sha-crypt' will be removed.
    See #1452.
  Support:
  * Several years ago, there were talks about deprecating su(1) and
    login(1), back when this project was maintained as part of Debian.
    However, nothing was clearly stated, and there were doubts about the
    status of these programs. Let's clarify them now.
  * Our implementations of su(1) and login(1) are fully supported, and we
    don't have any plans to remove them. They are NOT deprecated.
    See #464.
  Deprecations:
  * groupmems(8)
    The program will be removed in a future release.
    See #1343.
  * logoutd(8)
    The program will be removed in the next release.
    See #999,
    and #1344.
  * DES
    This hashing algorithm has been deprecated for a long time,

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=211
2025-12-31 11:09:29 +00:00
6d3bdef110 Accepting request 1322917 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1322917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=80
2025-12-16 14:49:29 +00:00
66fba9ae5e Accepting request 1322908 from home:kukuk:no_new_privs
- Add permissions file for shadow-pw-mgmt
  [bsc#1253052#c12], [bsc#1254844]

OBS-URL: https://build.opensuse.org/request/show/1322908
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=209
2025-12-15 08:13:18 +00:00
e2b898695f Accepting request 1320966 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1320966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=79
2025-12-04 10:21:00 +00:00
642d6386e6 Accepting request 1320941 from home:kukuk:no_new_privs
- Move chage, chfn, chsh, passwd and new?idmap into own 
  pw-mgmt sub-package

OBS-URL: https://build.opensuse.org/request/show/1320941
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=207
2025-12-03 10:45:08 +00:00
48c772df8d Accepting request 1288422 from Base:System
- Update to 4.18.0:
  * CI: purge man-db #1241
  * passwd: document exit code when PAM has errored #1244
  * Man patches #1175
  * Quick fix: define E_PAM_ERR in lib/pam_pass.c #1245
  * Accept /usr/sbin/nologin as an alternate to /sbin/nologin #1246
  * Add LOGIN_ENV_SAFELIST to FOREIGNDEFS #1248
  * ci: add gawk as a fedora dependency #1252
  * man/useradd.8.xml: fix the CREATE_HOME description #1251
  * lib/getdate.y: Restrict the date formats that we support #1238
  * newuidmap: better error logging on failure #1254
  * Extend basic test cases to check shadow and gshadow entries #1237
  * lib/sizeof.h: Make sure STRLEN() only accepts string literals #1260
  * Add strprefix(), and use it instead of its pattern #1152
  * src/: Simplify, using strpbrk(3) #1167
  * lib/string/strdup/: STRNDUPA(): Reimplement in terms of strndupa(3) #1189
  * Remove dead beef #1230
  * lib/atoi/a2i/: Simplify these macros #1137
  * strtolower(): Add API, and use it instead of its pattern #1211
  * lib/: sget*ent(): Simplify #1146
  * fields #1150
  * yacc(1) is a dead language; bury it deep in the ground #1217
  * Test expiration date #1233
  * [scp] Add strcaseprefix(), and use it instead of its pattern #1262
  * valid_field(): Improve readability #1208
  * lib/, src/, tests/: Use the standard countof() instead of our NITEMS() #1259
  * lib/fs/mkstemp/, src/: Move fmkomstemp() to separate files under
    lib/fs/mkstemp/, and split into mkomstemp() #1139
  * [x][v]aprintf(): Add APIs, and use them instead of [x][v]asprintf(3) #1168
  * lib/get_pid.c: pid_t is a signed integer #1264

OBS-URL: https://build.opensuse.org/request/show/1288422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=78
2025-06-26 09:34:23 +00:00
7a9d94585a - Update to 4.18.0:
* CI: purge man-db #1241
  * passwd: document exit code when PAM has errored #1244
  * Man patches #1175
  * Quick fix: define E_PAM_ERR in lib/pam_pass.c #1245
  * Accept /usr/sbin/nologin as an alternate to /sbin/nologin #1246
  * Add LOGIN_ENV_SAFELIST to FOREIGNDEFS #1248
  * ci: add gawk as a fedora dependency #1252
  * man/useradd.8.xml: fix the CREATE_HOME description #1251
  * lib/getdate.y: Restrict the date formats that we support #1238
  * newuidmap: better error logging on failure #1254
  * Extend basic test cases to check shadow and gshadow entries #1237
  * lib/sizeof.h: Make sure STRLEN() only accepts string literals #1260
  * Add strprefix(), and use it instead of its pattern #1152
  * src/: Simplify, using strpbrk(3) #1167
  * lib/string/strdup/: STRNDUPA(): Reimplement in terms of strndupa(3) #1189
  * Remove dead beef #1230
  * lib/atoi/a2i/: Simplify these macros #1137
  * strtolower(): Add API, and use it instead of its pattern #1211
  * lib/: sget*ent(): Simplify #1146
  * fields #1150
  * yacc(1) is a dead language; bury it deep in the ground #1217
  * Test expiration date #1233
  * [scp] Add strcaseprefix(), and use it instead of its pattern #1262
  * valid_field(): Improve readability #1208
  * lib/, src/, tests/: Use the standard countof() instead of our NITEMS() #1259
  * lib/fs/mkstemp/, src/: Move fmkomstemp() to separate files under
    lib/fs/mkstemp/, and split into mkomstemp() #1139
  * [x][v]aprintf(): Add APIs, and use them instead of [x][v]asprintf(3) #1168
  * lib/get_pid.c: pid_t is a signed integer #1264

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=205
2025-06-25 04:31:06 +00:00
8f059276ec Accepting request 1268156 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1268156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=77
2025-04-10 19:57:13 +00:00
3923fba5ed Accepting request 1268137 from home:sbrabec:branches:util-linux-2.41
- shadow-util-linux.patch: util-linux-2.41 introduced new variable:
  LOGIN_ENV_SAFELIST. Recognize it and update dependencies. The
  patch includes gh/shadow-maint/shadow/pull#1248.
- shadow-login_defs-check-login_defs.lst: Make the util-linux.spec
  multibuild file compatible with quilt. Make it working with new
  quilt.

OBS-URL: https://build.opensuse.org/request/show/1268137
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=203
2025-04-09 12:16:52 +00:00
664abeea0e Accepting request 1254773 from Base:System
- Update to 4.17.4:
  * Revert "lib/, src/: Use local time for human-readable dates"
  * lib/getdate.y: Ignore time-zone information and use UTC
  * src/chfn.c: Partially revert "lib/, src/: Use strsep(3) instead of its pattern"
  * src/chfn.c: Use stpsep() instead of its pattern
  * src/chfn.c: Add local variable to refer to the separated field
  * src/chfn.c: copy_field(): Rename local variable
  * lib/commonio.c: Rely on the POSIX.1-2008 behavior of realpath(3)
  * lib/fs/readlink/: readlinknul(): Use ssize_t to simplify
  * autogen.sh: Promote -Wsign-compare to an error
  * lib/sizeof.h: ssizeof(): Add signed variant of sizeof
  * src/lastlog.c: Use ssizeof() to avoid a -Wsign-compare diagnostic
  * tests/unit/test_xasprintf.c: Fix sign-mismatch diagnostic
  * configure.ac: stop checking for utmp location
  * configure.ac: be deterministic about passwd location
  * lib/, src/: update audit messages
  * lib/: audit function for groups
  * src/: update group audit messages
  * doc/: Remove list of distributions

OBS-URL: https://build.opensuse.org/request/show/1254773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=76
2025-03-24 12:25:33 +00:00
5139c9e96f - Update to 4.17.4:
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=201
2025-03-20 15:27:59 +00:00
ed26e9a0ec - Update o 4.17.4:
* Revert "lib/, src/: Use local time for human-readable dates"
  * lib/getdate.y: Ignore time-zone information and use UTC
  * src/chfn.c: Partially revert "lib/, src/: Use strsep(3) instead of its pattern"
  * src/chfn.c: Use stpsep() instead of its pattern
  * src/chfn.c: Add local variable to refer to the separated field
  * src/chfn.c: copy_field(): Rename local variable
  * lib/commonio.c: Rely on the POSIX.1-2008 behavior of realpath(3)
  * lib/fs/readlink/: readlinknul(): Use ssize_t to simplify
  * autogen.sh: Promote -Wsign-compare to an error
  * lib/sizeof.h: ssizeof(): Add signed variant of sizeof
  * src/lastlog.c: Use ssizeof() to avoid a -Wsign-compare diagnostic
  * tests/unit/test_xasprintf.c: Fix sign-mismatch diagnostic
  * configure.ac: stop checking for utmp location
  * configure.ac: be deterministic about passwd location
  * lib/, src/: update audit messages
  * lib/: audit function for groups
  * src/: update group audit messages
  * doc/: Remove list of distributions

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=200
2025-03-20 06:54:14 +00:00
2307fddffa Accepting request 1248228 from Base:System
- Update to 4.17.3:
  * chsh: do not warn about blank shell
  * lib/: Use strisdigit() instead of its pattern
  * lib/string/ctype/strisascii/: strisdigit(): Add function
  * lib/string/: Add comments expanding the letter-soup API names
  * lib/basename.c: Basename(): Use stprcspn() instead of its pattern
  * lib/string/strspn/, lib/, src/: stprspn(), strrspn_(): Split API into function and macro
  * lib/string/strspn/, lib/, src/: Move *spn() APIs to separate subdir
  * lib/string/strchr/: strrcspn(), stprcspn(): Add function and macro
  * src/useradd.c: Use !strcaseeq() instead of its pattern
  * lib/, src/: Use strcaseeq() instead of its pattern
  * lib/string/strcmp/: strcaseeq(): Add function
  * man/useradd.8.xml: Document new exit code 19 (E_BAD_NAME)
  * src/useradd.c: E_BAD_NAME: Use a different error code for bad login names
  * src/useradd.c: create_home(): Use !streq() instead of its pattern
  * lib/chkname.c: is_valid_name(): Use streq() instead of its pattern
  * configure.ac, lib/: Use __has_include(<gshadow.h>) instead of HAVE_GSHADOW_H
  * configure.ac: Remove unused AC_CHECK_HEADERS() checks
  * configure.ac, lib/: Use __has_include(<sys/capability.h>) instead of HAVE_SYS_CAPABILITY_H
  * lib/idmapping.c: Unconditionally include <sys/prctl.h>
  * lib/: Use __has_include(<security/openpam.h>) instead of HAVE_SECURITY_OPENPAM_H
  * lib/: Use __has_include(<security/pam_misc.h>) instead of HAVE_SECURITY_PAM_MISC_H
  * configure.ac, lib/: Use __has_include(<sys/random.h>) instead of HAVE_SYS_RANDOM_H
  * configure.ac, lib/: Use __has_include(<crypt.h>) instead of HAVE_CRYPT_H
  * lib/, src/: motd(): Report errors instead of exiting from library code
  * lib/motd.c: motd(): Invert logic to reduce indentation
  * lib/, src/, doc/: Remove pw_auth()'s $3 as dead code
  * lib/pwauth.*: PW_{ADD,CHANGE,DELETE,FTP,REXEC}: Remove dead code
  * lib/, src/, doc/: Remove dead code
  * src/vipw.c: Restore the original terminal pgrp after editing

OBS-URL: https://build.opensuse.org/request/show/1248228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=75
2025-02-27 13:48:57 +00:00
a8dc59c7e2 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=198 2025-02-24 18:13:41 +00:00
fbb1535ace OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=197 2025-02-24 18:11:28 +00:00
060ca44f7b OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=196 2025-02-24 18:09:36 +00:00
a5b1959803 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=195 2025-02-24 18:07:06 +00:00
fdbb8b740d OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=194 2025-02-24 18:04:44 +00:00
54d509c4d9 - Update to 4.17.3:
* chsh: do not warn about blank shell
  * lib/: Use strisdigit() instead of its pattern
  * lib/string/ctype/strisascii/: strisdigit(): Add function
  * lib/string/: Add comments expanding the letter-soup API names
  * lib/basename.c: Basename(): Use stprcspn() instead of its pattern
  * lib/string/strspn/, lib/, src/: stprspn(), strrspn_(): Split API into function and macro
  * lib/string/strspn/, lib/, src/: Move *spn() APIs to separate subdir
  * lib/string/strchr/: strrcspn(), stprcspn(): Add function and macro
  * src/useradd.c: Use !strcaseeq() instead of its pattern
  * lib/, src/: Use strcaseeq() instead of its pattern
  * lib/string/strcmp/: strcaseeq(): Add function
  * man/useradd.8.xml: Document new exit code 19 (E_BAD_NAME)
  * src/useradd.c: E_BAD_NAME: Use a different error code for bad login names
  * src/useradd.c: create_home(): Use !streq() instead of its pattern
  * lib/chkname.c: is_valid_name(): Use streq() instead of its pattern
  * configure.ac, lib/: Use __has_include(<gshadow.h>) instead of HAVE_GSHADOW_H
  * configure.ac: Remove unused AC_CHECK_HEADERS() checks
  * configure.ac, lib/: Use __has_include(<sys/capability.h>) instead of HAVE_SYS_CAPABILITY_H
  * lib/idmapping.c: Unconditionally include <sys/prctl.h>
  * lib/: Use __has_include(<security/openpam.h>) instead of HAVE_SECURITY_OPENPAM_H
  * lib/: Use __has_include(<security/pam_misc.h>) instead of HAVE_SECURITY_PAM_MISC_H
  * configure.ac, lib/: Use __has_include(<sys/random.h>) instead of HAVE_SYS_RANDOM_H
  * configure.ac, lib/: Use __has_include(<crypt.h>) instead of HAVE_CRYPT_H
  * lib/, src/: motd(): Report errors instead of exiting from library code
  * lib/motd.c: motd(): Invert logic to reduce indentation
  * lib/, src/, doc/: Remove pw_auth()'s $3 as dead code
  * lib/pwauth.*: PW_{ADD,CHANGE,DELETE,FTP,REXEC}: Remove dead code
  * lib/, src/, doc/: Remove dead code
  * src/vipw.c: Restore the original terminal pgrp after editing

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=193
2025-02-24 17:47:40 +00:00
071dc2cc97 Accepting request 1238984 from Base:System
- bsc#1235453: Set SYS_{UID,GID}_MIN to 201:
  After repeated similar requests to change the ID ranges we set the
  above mentioned value to 201. The max value will stay at 499.
  This range should be sufficient and will give us leeway for the
  future.
  It's not straightforward to find out which static UIDs/GIDs are
  used in all packages.
  Update shadow-login_defs-suse.patch

OBS-URL: https://build.opensuse.org/request/show/1238984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=74
2025-01-21 20:09:56 +00:00
909648104e - bsc#1235453: Set SYS_{UID,GID}_MIN to 201:
After repeated similar requests to change the ID ranges we set the
  above mentioned value to 201. The max value will stay at 499.
  This range should be sufficient and will give us leeway for the
  future.
  It's not straightforward to find out which static UIDs/GIDs are
  used in all packages.
  Update shadow-login_defs-suse.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=191
2025-01-20 10:26:02 +00:00
a714415b8b Accepting request 1237059 from Base:System
- Update to 4.17.2:
  * src/login_nopam.c: Fix compiler warnings #1170
  * lib/chkname.c: Put limits for LOGIN_NAME_MAX and sysconf(_SC_LOGIN_NAME_MAX) #1169
  * Use HTTPS in link to Wikipedia article on password strength #1164
  * lib/attr.h: use C23 attributes only with gcc >= 10 #1172
  * login: Fix no-pam authorization regression #1174
  * man: Add Portuguese translation #1178
  * Update French translation #1177
  * Add cheap defense mechanisms #1171
  * Add Romanian translation #1176

OBS-URL: https://build.opensuse.org/request/show/1237059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=73
2025-01-14 15:21:06 +00:00
64bc01ef02 - Update to 4.17.2:
* src/login_nopam.c: Fix compiler warnings #1170
  * lib/chkname.c: Put limits for LOGIN_NAME_MAX and sysconf(_SC_LOGIN_NAME_MAX) #1169
  * Use HTTPS in link to Wikipedia article on password strength #1164
  * lib/attr.h: use C23 attributes only with gcc >= 10 #1172
  * login: Fix no-pam authorization regression #1174
  * man: Add Portuguese translation #1178
  * Update French translation #1177
  * Add cheap defense mechanisms #1171
  * Add Romanian translation #1176

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=189
2025-01-11 16:38:29 +00:00
3b2a7e1c97 Accepting request 1234180 from Base:System
- Update to 4.17.1:
  * Fix `su -` regression #1163

OBS-URL: https://build.opensuse.org/request/show/1234180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=72
2025-01-02 18:19:11 +00:00
0e69bde62d * Fix su - regression #1163
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=187
2024-12-31 19:43:29 +00:00
a2928ffce5 - Update to 4.17.1:
* su: Fix `su -` regression #1163

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=186
2024-12-31 19:43:06 +00:00
f6ddbc4afa Accepting request 1233577 from Base:System
- Update to 4.17.0:
  * Fix the lower part of the domain of csrand_uniform()
  * Fix use of volatile pointer
  * Use 'dist-hook' to clean up <tests/unit/Makefile>
  * Use str2[u]l() instead of atoi(3)
  * Use a2i() in various places
  * Fix const correctness
  * Use uid_t for holding UIDs (and GIDs)
  * Move all sprintf(3)-like APIs to a subdirectory
  * Move all copying APIs to a subdirectory
  * Fix forever loop on ENOMEM
  * Fix REALLOC() nmemb calculation
  * Remove id(1)
  * Remove groups(1)
  * Use local time for human-readable dates
  * Use %F instead of %Y-%m-%d with strftime(3)
  * is_valid{user,group}_name(): Set errno to distinguish the reasons
  * Recommend --badname only if it is useful
  * Add fmkomstemp() to fix mode of </etc/default/useradd>
  * Fix use-after-free bug in sgetgrent()
  * Update Catalan translation
  * Remove references to cppw, cpgr
  * groupadd, groupmod: Update gshadow file with -U
  * Added option -a for listing active users only, optimized using if aflg,return
  * Added information in lastlog man page for new option '-a'
  * Plenty of code cleanup and clarifications

- Update to 4.17.0 RC1:
  Pre-release without changelog

OBS-URL: https://build.opensuse.org/request/show/1233577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=71
2024-12-30 11:50:27 +00:00
142f171b39 - Update to 4.17.0:
* Fix the lower part of the domain of csrand_uniform()
  * Fix use of volatile pointer
  * Use 'dist-hook' to clean up <tests/unit/Makefile>
  * Use str2[u]l() instead of atoi(3)
  * Use a2i() in various places
  * Fix const correctness
  * Use uid_t for holding UIDs (and GIDs)
  * Move all sprintf(3)-like APIs to a subdirectory
  * Move all copying APIs to a subdirectory
  * Fix forever loop on ENOMEM
  * Fix REALLOC() nmemb calculation
  * Remove id(1)
  * Remove groups(1)
  * Use local time for human-readable dates
  * Use %F instead of %Y-%m-%d with strftime(3)
  * is_valid{user,group}_name(): Set errno to distinguish the reasons
  * Recommend --badname only if it is useful
  * Add fmkomstemp() to fix mode of </etc/default/useradd>
  * Fix use-after-free bug in sgetgrent()
  * Update Catalan translation
  * Remove references to cppw, cpgr
  * groupadd, groupmod: Update gshadow file with -U
  * Added option -a for listing active users only, optimized using if aflg,return
  * Added information in lastlog man page for new option '-a'
  * Plenty of code cleanup and clarifications

- Update to 4.17.0 RC1:
  Pre-release without changelog

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=184
2024-12-27 16:21:20 +00:00
7e9e93e61e Accepting request 1193090 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1193090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=70
2024-08-13 11:21:47 +00:00
ac17a3fde2 Accepting request 1193029 from home:scabrero:branches:Base:System
- Disable flushing sssd caches. The sssd's files provider is no
  longer available.

OBS-URL: https://build.opensuse.org/request/show/1193029
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=182
2024-08-10 04:34:41 +00:00
684c7ecaee Accepting request 1183021 from Base:System
- bsc#1226850: Drop incorrect econf patch (until time to fix it)
  Drop shadow-4.16.0-econf.patch

OBS-URL: https://build.opensuse.org/request/show/1183021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=69
2024-06-25 21:06:26 +00:00
488bb5c23e - bsc#1226850: Drop incorrect econf patch (until time to fix it)
Drop shadow-4.16.0-econf.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=180
2024-06-24 13:05:26 +00:00
f96bdfee3e Accepting request 1181876 from Base:System
- Update to 4.16.0:
  * The shadow implementations of id(1) and groups(1) are deprecated
    in favor of the GNU coreutils and binutils versions.
    They will be removed in 4.17.0.
  * The rlogind implementation has been removed.
  * The libsubid major version has been bumped, since it now requires
    specification of the module's free() implementation.
- Update shadow-login_defs-suse.patch
- Add shadow-4.16.0-econf.patch:
  Replace deprecated econf_readDirs with econf_readConfig

OBS-URL: https://build.opensuse.org/request/show/1181876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=68
2024-06-21 14:03:18 +00:00