Commit Graph

179 Commits

Author SHA256 Message Date
Michael Vetter
c714985a2e - Update to 4.12.1:
* Fix uk manpages
- Remove shadow-4.12-remove-uk.patch: fixed upstream

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=123
2022-08-15 17:45:21 +00:00
Michael Vetter
ccb51bf365 - Update to 4.12:
* Add absolute path hint to --root
  * Various cleanups
  * Fix Ubuntu release used in CI tests
  * add -F options to userad
  * useradd manpage updates
  * Check for ownerid (not just username) in subid ranges
  * Declare file local functions static
  * Use strict prototypes
  * Do not drop const qualifier for Basename
  * Constify various pointers
  * Don't return uninitialized memory
  * Don't let compiler optimize away memory cleaning
  * Remove many obsolete compatibility checks  and defines
  * Modify ID range check in useradd
  * Use "extern "C"" to make libsubid easier to use from C++
  * French translation updates
  * Fix s/with-pam/with-libpam/
  * Spanish translation updates
  * French translation fixes
  * Default max group name length to 32
  * Fix PAM service files without-selinux
  * Improve manpages
    - groupadd, useradd, usermod
    - groups and id
    - pwck
  * Add fedora to CI builds
  * Fix condition under which pw_dir check happens
  * logoutd: switch to strncat
  * AUTHORS: improve markdown output

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=122
2022-08-12 06:09:36 +00:00
Michael Vetter
0ca771d496 Accepting request 993912 from home:kukuk:branches:Base:System
- Remove duplicate pam.d/useradd entry
- Provide /etc/login.defs.d on SLE15 since we support and use it
- Use %_pam_vendordir macro

OBS-URL: https://build.opensuse.org/request/show/993912
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=121
2022-08-09 09:45:37 +00:00
Dominique Leuenberger
d2ca3da6d4 Accepting request 946483 from Base:System
- The legacy code does not support /etc/login.defs.d used by YaST.
  Enable libeconf to read it (bsc#1192954).

- Update to 4.11.1:
  * build: include lib/shadowlog_internal.h in dist tarballs

- Update to 4.11:
  * Handle possible TOCTTOU issues in usermod/userdel
  	- (CVE-2013-4235)
  	- Use O_NOFOLLOW when copying file
  	- Kill all user tasks in userdel
  * Fix useradd -D segfault
  * Clean up obsolete libc feature-check ifdefs
  * Fix -fno-common build breaks due to duplicate Prog declarations
  * Have single date_to_str definition
  * Fix libsubid SONAME version
  * Clarify licensing info, use SPDX.

- Update to 4.10:
  * From this release forward, su from this package should be
    considered deprecated. Please replace any users of it with su
	from util-linux
  * libsubid fixes
  * Rename the test program list_subid_ranges to getsubids, write
    a manpage, so distros can ship it.
  * Add libeconf dep for new*idmap
  * Allow all group types with usermod -G
  * Avoid useradd generating empty subid range
  * Handle NULL pw_passwd
  * Fix default value SHA_get_salt_rounds

OBS-URL: https://build.opensuse.org/request/show/946483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=47
2022-01-16 22:18:02 +00:00
Michael Vetter
a4f7b923a4 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=120 2022-01-14 17:43:13 +00:00
Michael Vetter
123ea0a422 Accepting request 945900 from home:sbrabec:branches:shadow-j23399
This is submitted just to sync with SLE/Leap. It has no effect for Factory.
- The legacy code does not support /etc/login.defs.d used by YaST.
  Enable libeconf to read it (bsc#1192954).

OBS-URL: https://build.opensuse.org/request/show/945900
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=119
2022-01-14 17:26:54 +00:00
Michael Vetter
bba5d5413c - Update to 4.11.1:
* build: include lib/shadowlog_internal.h in dist tarballs

- Update to 4.11:
  * Handle possible TOCTTOU issues in usermod/userdel
  	- (CVE-2013-4235)
  	- Use O_NOFOLLOW when copying file
  	- Kill all user tasks in userdel
  * Fix useradd -D segfault
  * Clean up obsolete libc feature-check ifdefs
  * Fix -fno-common build breaks due to duplicate Prog declarations
  * Have single date_to_str definition
  * Fix libsubid SONAME version
  * Clarify licensing info, use SPDX.

- Update to 4.10:
  * From this release forward, su from this package should be
    considered deprecated. Please replace any users of it with su
	from util-linux
  * libsubid fixes
  * Rename the test program list_subid_ranges to getsubids, write
    a manpage, so distros can ship it.
  * Add libeconf dep for new*idmap
  * Allow all group types with usermod -G
  * Avoid useradd generating empty subid range
  * Handle NULL pw_passwd
  * Fix default value SHA_get_salt_rounds
  * Use https where possible in README
  * Update content and format of README
  * Translation updates

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=118
2022-01-03 12:19:45 +00:00
Dominique Leuenberger
2406289d86 Accepting request 935176 from Base:System
OBS-URL: https://build.opensuse.org/request/show/935176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=46
2021-12-17 22:54:20 +00:00
Michael Vetter
87fcc1bbed Accepting request 934763 from home:kukuk:branches:Base:System
- Really enable USERGROUPS_ENAB [bsc#1189139].
  Did go lost during merges.

OBS-URL: https://build.opensuse.org/request/show/934763
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=117
2021-12-02 13:01:23 +00:00
Dominique Leuenberger
6f9efa1aed Accepting request 932263 from Base:System
- Fix segfaults in newgrp and pwck
  * Add shadow-4.9-newgrp-segfault.patch 
    https://github.com/shadow-maint/shadow/pull/437
  * Add shadow-4.9-pwck-segfault.patch
    https://github.com/shadow-maint/shadow/pull/445

- Added hardening to systemd service(s) (bsc#1181400). Modified:
  * shadow.service

- shadow-util-linux.patch:
  * Remove the section patching lib/getdef.c in favor of the
    upstream FOREIGNDEFS.
  * Add LOGIN_KEEP_USERNAME to login.defs.
  * Remove PREVENT_NO_AUTH from login.defs. Only used by the
    unpackaged login and su.
- shadow-login_defs-unused-by-pam.patch:
  * Remove variables BCRYPT_MIN_ROUNDS, BCRYPT_MAX_ROUNDS,
    YESCRYPT_COST_FACTOR, not supported by the current
    configuratiton.
- Update login_defs-support-for-pam symbol to version 1.5.2
  (support for new variable HMAC_CRYPTO_ALGO).
- Update login_defs-support-for-util-linux to version 2.37
  (support for new variable LOGIN_KEEP_USERNAME).
- Refresh shadow-login_defs-comments.patch and
  shadow-login_defs-suse.patch.
- Improve shadow-login_defs-check.sh:
  * Add helper to import local new version in the parent dir.
  * Fix spec editing sed expression.
  * Add PREVENT_NO_AUTH to known unused variables.
  * Update pam sed expression to find HMAC_CRYPTO_ALGO.

OBS-URL: https://build.opensuse.org/request/show/932263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=45
2021-11-21 22:51:28 +00:00
Michael Vetter
9d0c114d24 - Fix segfaults in newgrp and pwck
* Add shadow-4.9-newgrp-segfault.patch 
    https://github.com/shadow-maint/shadow/pull/437
  * Add shadow-4.9-pwck-segfault.patch
    https://github.com/shadow-maint/shadow/pull/445

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=116
2021-11-18 13:50:59 +00:00
Michael Vetter
815e18bc02 Accepting request 932180 from home:jsegitz:branches:systemdhardening:Base:System
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/932180
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=115
2021-11-18 13:38:29 +00:00
Michael Vetter
2204667d89 Accepting request 931937 from home:sbrabec:branches:Base:System
- shadow-util-linux.patch:
  * Remove the section patching lib/getdef.c in favor of the
    upstream FOREIGNDEFS.
  * Add LOGIN_KEEP_USERNAME to login.defs.
  * Remove PREVENT_NO_AUTH from login.defs. Only used by the
    unpackaged login and su.
- shadow-login_defs-unused-by-pam.patch:
  * Remove variables BCRYPT_MIN_ROUNDS, BCRYPT_MAX_ROUNDS,
    YESCRYPT_COST_FACTOR, not supported by the current
    configuratiton.
- Update login_defs-support-for-pam symbol to version 1.5.2
  (support for new variable HMAC_CRYPTO_ALGO).
- Update login_defs-support-for-util-linux to version 2.37
  (support for new variable LOGIN_KEEP_USERNAME).
- Refresh shadow-login_defs-comments.patch and
  shadow-login_defs-suse.patch.
- Improve shadow-login_defs-check.sh:
  * Add helper to import local new version in the parent dir.
  * Fix spec editing sed expression.
  * Add PREVENT_NO_AUTH to known unused variables.
  * Update pam sed expression to find HMAC_CRYPTO_ALGO.
  * Add more sanity checks.

OBS-URL: https://build.opensuse.org/request/show/931937
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=114
2021-11-17 16:18:12 +00:00
Dominique Leuenberger
7f56492672 Accepting request 920286 from Base:System
- bsc#1190146: Fix empty subid range
  Add shadow-4.9-useradd-subuid.patch
  https://github.com/shadow-maint/shadow/pull/399

- bsc#1190145: Fix double free in gpasswd:
  Add shadow-4.9-sgent-free.patch upstreamed as
  https://github.com/shadow-maint/shadow/pull/417

- Fix shadow-login_defs-check.sh:
  In the last update we switched from calling make to %make_build
  macro. Using sed to adapt the spec file now.

- libsubid-devel: add missing requires for libsubid3
- Remove README.changes-pwdutils, all distros you can upgrade from
  use already shadow

- login.defs: Enable USERGROUPS_ENAB and CREATE_HOME to
  be compatible with other Linux distros and the other tools
  creating user accounts in use on openSUSE. Set HOME_MODE to 700
  for security reasons and compatibility. [bsc#1189139] [bsc#1182850]

- Update to 4.9:
  * Updated translations
  * Major salt updates
  * Various coverity and cleanup fixes
  * Consistently use 0 to disable PASS_MIN_DAYS in man
  * Implement NSS support for subids and a libsubid
  * setfcap: retain setfcap when mapping uid 0
  * login.defs: include HMAC_CRYPTO_ALGO key
  * selinux fixes

OBS-URL: https://build.opensuse.org/request/show/920286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=44
2021-09-22 20:12:46 +00:00
Michael Vetter
c9c98a79f2 - bsc#1190146: Fix empty subid range
Add shadow-4.9-useradd-subuid.patch
  https://github.com/shadow-maint/shadow/pull/399

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=113
2021-09-20 09:46:44 +00:00
Michael Vetter
c08b0a69cc OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=112 2021-09-20 09:36:14 +00:00
Michael Vetter
1864140f9d - bsc#1190145: Fix double free in gpasswd:
Add shadow-4.9-sgent-free.patch upstreamed as
  https://github.com/shadow-maint/shadow/pull/417

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=111
2021-09-20 09:10:46 +00:00
Michael Vetter
c47e0f3e3c for security reasons and compatibility. [bsc#1189139] [bsc#1182850]
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=110
2021-09-16 10:24:51 +00:00
Michael Vetter
31b62a4fb1 - Add shadow-passwd-handle-null.patch [bsc#1188307]:
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=109
2021-09-16 10:15:59 +00:00
Michael Vetter
8f871cae62 - Fix shadow-login_defs-check.sh:
In the last update we switched from calling make to %make_build
  macro. Using sed to adapt the spec file now.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=108
2021-09-07 15:09:34 +00:00
Michael Vetter
c8f7c173d8 Accepting request 912922 from home:kukuk:tiu
- libsubid-devel: add missing requires for libsubid3
- Remove README.changes-pwdutils, all distros you can upgrade from
  use already shadow
- login.defs: Enable USERGROUPS_ENAB and CREATE_HOME to
  be compatible with other Linux distros and the other tools
  creating user accounts in use on openSUSE. Set HOME_MODE to 700
  for security reasons and compatibility. [bsc#1189139]

OBS-URL: https://build.opensuse.org/request/show/912922
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=107
2021-08-18 17:54:07 +00:00
Michael Vetter
3317029e04 Accepting request 912915 from home:jubalh:branches:Base:System
- Update to 4.9:
  * Updated translations
  * Major salt updates
  * Various coverity and cleanup fixes
  * Consistently use 0 to disable PASS_MIN_DAYS in man
  * Implement NSS support for subids and a libsubid
  * setfcap: retain setfcap when mapping uid 0
  * login.defs: include HMAC_CRYPTO_ALGO key
  * selinux fixes
  * Fix path prefix path handling
  * Manpage updates
  * Treat an empty passwd field as invalid(Haelwenn Monnier)
  * newxidmap: allow running under alternative gid
  * usermod: check that shell is executable
  * Add yescript support
  * useradd memleak fixes
  * useradd: use built-in settings by default
  * getdefs: add foreign
  * buffer overflow fixes
  * Adding run-parts style for pre and post useradd/del
- Refresh:
  * shadow-login_defs-unused-by-pam.patch
  * userdel-script.patch
  * useradd-script.patch
  * chkname-regex.patch
  * useradd-default.patch: bbf4b79 stopped shipping default file.
    change group in code now.
  * shadow-login_defs-suse.patch
  * useradd-userkeleton.patch
- Remove because upstreamed:

OBS-URL: https://build.opensuse.org/request/show/912915
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=106
2021-08-18 14:25:29 +00:00
Dominique Leuenberger
5460746738 Accepting request 903625 from Base:System
OBS-URL: https://build.opensuse.org/request/show/903625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=43
2021-07-06 21:30:00 +00:00
Michael Vetter
e27cf8c34f Accepting request 903400 from home:kukuk:branches:Base:System
- login.defs/MOTD_FILE: Use "" instead of blank entry [bsc#1187536]
- Add /etc/login.defs.d directory

OBS-URL: https://build.opensuse.org/request/show/903400
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=105
2021-07-02 06:52:55 +00:00
Michael Vetter
faf07ff787 Accepting request 897717 from home:mauriziogalli:branches:Base:System
- Enable shadowgrp so that we can set more secure group passwords 
  using shadow.

OBS-URL: https://build.opensuse.org/request/show/897717
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=104
2021-06-08 06:39:30 +00:00
Michael Vetter
b6e8d920e2 Accepting request 897344 from home:kukuk:tiu
- Disable MOTD_FILE to allow the use of pam_motd to unify motd
  message output [bsc#1185897]. Else motd entries of e.g. cockpit
  will not be shown.

OBS-URL: https://build.opensuse.org/request/show/897344
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=103
2021-06-08 06:36:00 +00:00
Dominique Leuenberger
c2abc15313 Accepting request 872327 from Base:System
OBS-URL: https://build.opensuse.org/request/show/872327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=42
2021-04-15 14:56:33 +00:00
Michael Vetter
451a55ed1d Accepting request 871006 from home:sbrabec:branches:distconfdir-fix
No change in code. Integrate changes in SLE/Leap branch into older changelog entries in Factory.

OBS-URL: https://build.opensuse.org/request/show/871006
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=101
2021-02-15 09:45:08 +00:00
1b82897569 Accepting request 867612 from home:sbrabec:branches:distconfdir-fix
- Do not require libeconf-devel on products without /usr/etc.

OBS-URL: https://build.opensuse.org/request/show/867612
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=100
2021-01-30 08:05:35 +00:00
Michael Vetter
a4ea6b15c3 Accepting request 865245 from home:kukuk:branches:Base:System
- Split login.defs configuration file into own sub-package, which
  allows to install util-linux or pam on small embedded/edge
  systems or container without the need to pull in the full shadow
  suite.

OBS-URL: https://build.opensuse.org/request/show/865245
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=99
2021-01-21 08:48:53 +00:00
Dr. Werner Fink
ff3f23e669 Accepting request 848094 from home:favogt:boo1178296
- Amend patches/useradd-userkeleton.patch to also write into
  existing directories and prefer files from /etc

OBS-URL: https://build.opensuse.org/request/show/848094
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=98
2020-11-12 10:32:46 +00:00
Dr. Werner Fink
cf082dac01 Add support for /usr/etc/skel to useradd binary its self
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=97
2020-11-11 11:39:56 +00:00
Dominique Leuenberger
2ab464b379 Accepting request 845486 from Base:System
- Change again useradd.local script to let it work even for system
  accounts and work together with SELinux (bsc#1178296)
- Change patch useradd-script.patch to support the four arguments
  used by the useradd.local script (bsc#1178296)

OBS-URL: https://build.opensuse.org/request/show/845486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=41
2020-11-07 20:00:53 +00:00
Dr. Werner Fink
5d3b7a8e02 bsc#1178296
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=95
2020-11-02 15:56:45 +00:00
Dominique Leuenberger
ca326d2c6f Accepting request 840431 from Base:System
- Add support for /usr/etc/skel to useradd.local script (boo#1173321) 

- shadow-login_defs-check.sh: Fix the regexp to get a real variable
  list (boo#1164274).

OBS-URL: https://build.opensuse.org/request/show/840431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=40
2020-10-15 11:43:47 +00:00
Dr. Werner Fink
6ffcde29a4 boo#1173321
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=93
2020-10-09 13:16:40 +00:00
Michael Vetter
0b9efbf5e4 Accepting request 840138 from home:sbrabec:branches:util-linux-multibuild
- shadow-login_defs-check.sh: Fix the regexp to get a real variable
  list (boo#1164274).

OBS-URL: https://build.opensuse.org/request/show/840138
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=92
2020-10-08 20:42:21 +00:00
Dominique Leuenberger
f7538674ac Accepting request 834532 from Base:System
OBS-URL: https://build.opensuse.org/request/show/834532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=39
2020-09-23 16:38:48 +00:00
Michael Vetter
a52384dc01 Accepting request 833343 from home:sbrabec:branches:util-linux-multibuild
- login.defs: Add support for new util-linux-2.36 login variable
  MOTD_FIRSTONLY (shadow-util-linux.patch).
- shadow-login_defs-comments.patch: Remove duplicated
  LASTLOG_UID_MAX.
- shadow-login_defs-check.sh: Update for new build system.
- shadow-util-linux.patch: Restore lost chunk: SYSLOG_SU_ENAB is
  not used in SUSE Linux.
- Refresh shadow-login_defs-suse.patch and
  shadow-login_defs-comments.patch.

OBS-URL: https://build.opensuse.org/request/show/833343
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=90
2020-09-15 07:22:16 +00:00
Dominique Leuenberger
165d60dff5 Accepting request 809695 from Base:System
OBS-URL: https://build.opensuse.org/request/show/809695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=38
2020-06-11 12:37:08 +00:00
Michael Vetter
57f8487ce4 Accepting request 808197 from home:favogt:branches:Base:System
- Use pure #!/bin/sh in:
  * useradd.local
  * userdel-post.local
  * userdel-pre.local

OBS-URL: https://build.opensuse.org/request/show/808197
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=88
2020-05-27 20:51:02 +00:00
Dominique Leuenberger
a4b4076f54 Accepting request 767297 from Base:System
- Update to 4.8.1:
  * selinux: include stdio
  * man: don't suggest making groupmems user-writeable
  * Makefile: bail out on error in for loops
  * Adding logging of SSH_ORIGINAL_COMMAND to nologin
  * add new HOME_MODE login.defs option
  * Add tty logging to useradd
  * Useradd: make non-executable shell check only a warning
  * Update Dutch translation
  * user_busy: Do not mistake a regular user process for a namespaced one
  * Revert "Honor --sbindir and --bindir for binary installation"
- Remove shadow-4.8-shell-check.patch: included
- Remove shadow-4.8-selinux-include.patch: upstreamed

OBS-URL: https://build.opensuse.org/request/show/767297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=37
2020-02-04 18:50:58 +00:00
Michael Vetter
1600e1cd6f - Update to 4.8.1:
* selinux: include stdio
  * man: don't suggest making groupmems user-writeable
  * Makefile: bail out on error in for loops
  * Adding logging of SSH_ORIGINAL_COMMAND to nologin
  * add new HOME_MODE login.defs option
  * Add tty logging to useradd
  * Useradd: make non-executable shell check only a warning
  * Update Dutch translation
  * user_busy: Do not mistake a regular user process for a namespaced one
  * Revert "Honor --sbindir and --bindir for binary installation"
- Remove shadow-4.8-shell-check.patch: included
- Remove shadow-4.8-selinux-include.patch: upstreamed

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=86
2020-01-26 08:10:24 +00:00
Dominique Leuenberger
9f37ba3939 Accepting request 765745 from Base:System
- Set 0755 for chpasswd, groupadd, groupdel, groupmod, newusers,
  useradd, userdel, usermod explicitly.

- bsc#1160729: Make valid shell check only a warning
  * Add shadow-4.8-shell-check.patch

- Update to 4.8:
  * Initial optional bcrypt support.
  * Make build/install of 'su' optional.
  * Fix for vipw not resuming correctly when suspended
  * Sync password field descriptions in manpages
  * Check for valid shell argument in useradd
  * Allow translation of new strings through POTFILES.in
  * Migrate to itstool for translations
  * Migrate to new SELinux api
  * Support --enable-vendordir
  * pwck: Only check homedir if set and not a system user
  * Support nonstandard usernames
  * sget{pw,gr}ent: check for data at EOL
  * Add YYY-MM-DD support in chage
  * Fix failing chmod calls for suidubins
  * Fix --sbindir and --bindir for binary installations
  * Fix LASTLOG_UID_MAX in login.defs
  * Fix configure error with dash
- Remove because upstreamed:
  * libeconf.patch
  * shadow-usermod-variable.patch
- Rebase:
  * shadow-login_defs-unused-by-pam.patch
  * chkname-regex.patch

OBS-URL: https://build.opensuse.org/request/show/765745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=36
2020-01-25 12:22:40 +00:00
Michael Vetter
66751a06ed - Set 0755 for chpasswd, groupadd, groupdel, groupmod, newusers,
useradd, userdel, usermod explicitly.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=84
2020-01-20 10:38:01 +00:00
Michael Vetter
50741a7c13 - bsc#1160729: Make valid shell check only a warning
* Add shadow-4.8-shell-check.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=83
2020-01-16 13:01:03 +00:00
Michael Vetter
9b62b0468b OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=82 2019-12-17 12:46:08 +00:00
Michael Vetter
93639b1c76 - Update to 4.8:
* Initial optional bcrypt support.
  * Make build/install of 'su' optional.
  * Fix for vipw not resuming correctly when suspended
  * Sync password field descriptions in manpages
  * Check for valid shell argument in useradd
  * Allow translation of new strings through POTFILES.in
  * Migrate to itstool for translations
  * Migrate to new SELinux api
  * Support --enable-vendordir
  * pwck: Only check homedir if set and not a system user
  * Support nonstandard usernames
  * sget{pw,gr}ent: check for data at EOL
  * Add YYY-MM-DD support in chage
  * Fix failing chmod calls for suidubins
  * Fix --sbindir and --bindir for binary installations
  * Fix LASTLOG_UID_MAX in login.defs
  * Fix configure error with dash
- Remove because upstreamed:
  * libeconf.patch
  * shadow-usermod-variable.patch
- Rebase:
  * shadow-login_defs-unused-by-pam.patch
  * chkname-regex.patch
  * shadow-util-linux.patch
  * shadow-login_defs-comments.patch
- Add shadow-4.8-selinux-include.patch
  See https://github.com/shadow-maint/shadow/pull/200

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=81
2019-12-17 12:44:46 +00:00
Dominique Leuenberger
299551910f Accepting request 736424 from Base:System
OBS-URL: https://build.opensuse.org/request/show/736424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=35
2019-10-22 13:36:45 +00:00
Michael Vetter
6511638aa9 Accepting request 735615 from home:kukuk:etc
- libeconf.patch: Add support for libeconf and /usr/etc for
  login.defs.
- Move first configuration files and pam config files to /usr/etc

OBS-URL: https://build.opensuse.org/request/show/735615
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=79
2019-10-09 08:44:59 +00:00