Commit Graph

21 Commits

Author SHA1 Message Date
Iker Pedrosa 9927cffb6f gpasswd: fix password leak 2023-09-29 12:20:42 +00:00
Iker Pedrosa a7e5e041d5 - useradd: check if subid range exists for user
- find_new_[gu]id: Skip over IDs that are reserved for legacy reasons

Resolves: #2179987
Resolves: #2179988

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2023-05-16 13:02:13 +02:00
Iker Pedrosa e4272d78c4 Change "badnames" to "badname" as this is the accepted option name
Resolves: https://issues.redhat.com/browse/RHELX-76

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2022-09-28 16:53:46 +02:00
Iker Pedrosa 90daf3ba00 subordinateio: also compare the owner ID
Resolves: #2109410

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2022-07-21 13:10:52 +02:00
Iker Pedrosa 1fa6b1e5d5 - useradd: modify check ID range for system users
- Fix release sources
- Add subid requirement for subid-devel

Resolves: #2004911

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2022-04-22 15:13:49 +02:00
Iker Pedrosa 4b31c38f8e - getsubids: provide system binary and man page
- useradd: generate home and mail directories with selinux user attribute
- useradd: revert fix memleak of grp
- groupdel: fix SIGSEGV when passwd does not exist
- pwck: fix segfault when calling fprintf()
- newgrp: fix segmentation fault
- Clean spec file: organize dependencies and move License location

Resolves: #2013015
Resolves: #1993081
Resolves: #2020238
Resolves: #2024834

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2021-12-02 13:25:52 +01:00
Iker Pedrosa c565b30bac libmisc: fix default value in SHA_get_salt_rounds()
Resolves: #1993919

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2021-08-17 10:09:22 +02:00
Iker Pedrosa 19b91d37bd - Rebase to version 4.9
- usermod: allow all group types with -G option
- useradd: avoid generating an empty subid range
- Clean spec file

Resolves: #1989556
Resolves: #1975329

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
2021-08-12 09:38:52 +02:00
Mohan Boddu e78f6ce534 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-10 00:51:30 +00:00
Iker Pedrosa 32eb05f002 Fix regression issues
Fix regressions detected in rhbz#667593 and rhbz#672510. Link to gating
test:
https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/38043488

Resolves: #1938871
2021-07-14 10:48:58 +02:00
Iker Pedrosa b1cf008689 Covscan fixes
Resolves: #1938871
2021-07-13 12:53:16 +02:00
Steeve Goveas 2d0fc0bb82 Notify sssd-qe on gating progress 2021-06-28 15:58:14 +05:30
Iker Pedrosa fbf9d3a3ea libsubid initial implementation
Resolves: #1859252

- libsubid: creation and nsswitch support
- Creation of subid and subid-devel subpackages
- man: mention NSS in new[ug]idmap manpages
- libsubid: move development header to shadow folder
- libsubid: don't print error messages on stderr by default
- libsubid: libsubid_init return false if out of memory
- useradd: fix SUB_UID_COUNT=0
- libsubid: don't return owner in list_owner_ranges API call
- libsubid: libsubid_init don't print messages on error
- libsubid: fix newusers when nss provides subids
- man: clarify subid delegation
- libsubid: make shadow_logfd not extern
- login.defs: include HMAC_CRYPTO_ALGO key
2021-06-25 09:28:52 +02:00
Steeve Goveas d3db3c8cb5 Enable gating tests for shadow-utils
Resolves: rhbz#1962811

Files from test directory are updated from the internal 8.5.0 repo
2021-05-28 21:17:33 +05:30
Mohan Boddu 3eb64bd5e9 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 05:37:33 +00:00
DistroBaker cb439223c9 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/shadow-utils.git#4e14ecca65608158ec9eb2418361b1c5dbb61a8d
2021-02-03 05:10:07 +00:00
DistroBaker c8ee8998ad Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/shadow-utils.git#4f395dd42db2c2f6582ac6b1be90c138e090e09f
2020-12-15 15:51:26 +00:00
DistroBaker 2598d3ec83 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/shadow-utils.git#4f395dd42db2c2f6582ac6b1be90c138e090e09f
2020-11-09 10:15:57 +00:00
DistroBaker cbfef75ef7 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/shadow-utils.git#b7aa9ac8ec1d0d0e3c8d7a8eeda42db41754bd80
2020-11-05 13:36:50 +00:00
Troy Dawson 4b110147f6 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/shadow-utils#9f643a301165a0b1bb1fcb7b9c425809d5791a2f
2020-10-15 09:33:35 -07:00
Release Configuration Management 8c347fedcc New branch setup 2020-10-09 04:34:45 +00:00