Iker Pedrosa
cbc60528c3
libsubid improvements
...
- 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
2021-06-21 13:24:36 +02:00
Iker Pedrosa
1ec5088225
- man: mention NSS in new[ug]idmap manpages
...
- libsubid: move development header to shadow folder
2021-05-06 11:41:05 +02:00
Iker Pedrosa
5292920d9b
- libsubid: creation and nsswitch support
...
- Creation of subid and subid-devel subpackages
2021-04-23 17:13:51 +02:00
Iker Pedrosa
3e39e1d4e3
- man: include lastlog file caveat ( #951564 )
...
- Upstream links to several patches
- Spec file cleanup by Robert Scheck
- Add BuildRequires: make by Tom Stellard
2021-03-29 12:30:28 +02:00
Fedora Release Engineering
4e14ecca65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 20:17:47 +00:00
Tom Stellard
cc27294138
Add BuildRequires: make
...
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 21:26:08 +00:00
Robert Scheck
7abff5646c
Spec file cleanup
2020-12-24 21:10:44 +00:00
ipedrosa
4f395dd42d
commonio: force lock file sync ( #1862056 )
2020-11-09 10:53:20 +01:00
Petr Lautrbach
b7aa9ac8ec
Rebuild with libsemanage.so.2
2020-11-03 16:14:35 +01:00
Ludwig Nussel
9f643a3011
Add Provides: shadow
...
The upstream source tarball is actually called 'shadow' rather than 'shadow-utils'.
Add a compat provides for the former.
2020-10-01 13:23:15 +00:00
Fedora Release Engineering
a222f7e825
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 10:37:48 +00:00
ipedrosa
59585bb370
check only local groups when adding new supplementary groups to a user
2020-05-14 14:28:59 +02:00
ikerexxe
a66f10a891
useradd: clarify the useradd -d parameter behavior in man page
2020-03-24 10:46:27 +01:00
ikerexxe
b926b118d9
Rebased to 4.8.1
2020-03-17 18:18:50 +01:00
ikerexxe
7309a53c2a
Synchronized login.defs with upstream file ( #1261099 and #1807957 )
2020-03-17 12:17:29 +01:00
ikerexxe
f5a51331fe
useradd: generate /var/spool/mail/$USER with the proper SELinux user identity
...
Explanation: use set_selinux_file_context() and reset_selinux_file_context() for create_mail() just as is done for create_home()
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1690527
2020-02-24 16:36:57 +01:00
Fedora Release Engineering
c44360b6f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 23:20:27 +00:00
Tomas Mraz
a1cd6a4b05
Fix grammar mistake in invalid shell check patch
2020-01-16 13:00:26 +01:00
Tomas Mraz
fd2aa2917b
make the invalid shell check into warning
2020-01-16 09:04:30 +01:00
Tomas Mraz
88156a4067
make the invalid shell check into warning
2020-01-16 09:04:04 +01:00
Tomas Mraz
b76250c68a
update to current upstream release 4.8
2020-01-13 11:46:38 +01:00
Tomas Mraz
36709cd2d7
fix SELinux related problem in chpasswd/chgpasswd when run with -R
...
(patch by Petr Lautrbach) (#1747215 )
2019-09-02 15:48:01 +02:00
Petr Lautrbach
3e9ca2fc33
chpasswd, chgpasswd: Run SELinux checks before chroot()
...
libselinux checks the state of SELinux only in the library constructor and then
uses a cached value. It can be a problem for processes which do chroot() as
there's usually no SELinux interface (/sys/fs/selinux) in the chroot. For
chpasswd/chgpasswd is enough to do SELinux checks before processes are
chroot()ed.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1747215
2019-09-02 14:37:23 +02:00
Fedora Release Engineering
6065752fdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 23:10:38 +00:00
Tomas Mraz
e17e2fa767
minor auditing fixes
2019-06-07 14:40:46 +02:00
Tomas Mraz
c2e806d82c
use lckpwdf() again to disable concurrent edits of databases by other applications
2019-05-03 11:22:39 +02:00
Tomas Mraz
c5ff8b2cd3
force regeneration of getdate.c
...
otherwise the date parsing fix is not applied
2019-04-02 16:53:44 +02:00
Tomas Mraz
713a388dfc
clarify chage manual page in regards to shadow and passwd inconsistency ( #1686440 )
2019-03-22 13:24:42 +01:00
Tomas Mraz
75c680d318
Ignore LOGIN_PLAIN_PROMPT variable in login.defs
2019-03-21 15:09:54 +01:00
Tim Landscheidt
875723a30b
Remove obsolete requirements for post/pre scriptlets
2019-03-07 03:45:18 +00:00
Tomas Mraz
39afa9e9fb
Drop the user name regexp from the manual as it is not exact.
2019-02-06 17:24:50 +01:00
Fedora Release Engineering
6f7a2acd68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 15:17:20 +00:00
Tomas Mraz
1181911534
Fix manpage default for SUB_UID/GID_COUNT variables.
2019-01-31 13:44:45 +01:00
Igor Gnatenko
a5c5d1f162
Remove obsolete BuildRoot tag
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 05:36:30 +01:00
Igor Gnatenko
aa9270652f
Remove obsolete Group tag
...
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:49 +01:00
Björn Esser
2fcf41cf88
Rebuilt for libcrypt.so.2 ( #1666033 )
2019-01-14 18:53:28 +01:00
Tomas Mraz
7eb46d2996
usermod: guard against unsafe change of ownership of special home directories
2018-12-18 15:30:26 +01:00
Tomas Mraz
6283287fd2
Remove a trailing space from login.defs
2018-11-28 13:13:17 +01:00
Tomas Mraz
b9927e87e2
Release bump
2018-11-19 11:02:43 +01:00
Tomas Mraz
b41cff1956
use itstool instead of xml2po
2018-11-19 11:02:06 +01:00
Tomas Mraz
1a1e7474b6
Fix malformed patch.
2018-11-06 10:53:00 +01:00
Tomas Mraz
f38d60a562
Use cap_setxid file capabilities for newxidmap instead of making them setuid
...
Also:
limit the SYS_U/GID_MIN value to 1 as the algorithm does not work with 0
and the 0 is always used by root anyway
manual page improvements
2018-11-06 10:40:50 +01:00
Tomas Mraz
d80def3861
fix some issues from Coverity scan
...
flush sssd caches - patch by Jakub Hrozek
2018-10-12 17:38:01 +02:00
Fedora Release Engineering
8362f15341
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 06:02:14 +00:00
Jason Tibbitts
0aa8060034
Remove needless use of %defattr
2018-07-10 01:20:51 -05:00
Tomas Mraz
38a12ac864
update to current upstream release 4.6
2018-05-28 15:25:08 +02:00
Tomas Mraz
4cb5077b68
Raise limit for passwd and shadow entry length
...
- also prevent writing longer entries (#1422497 )
2018-04-20 16:23:31 +02:00
Tomas Mraz
8d62f944dd
Add gcc buildrequires
2018-03-01 13:11:34 +01:00
Igor Gnatenko
eb66bf0ca5
Remove %clean section
...
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 08:49:44 +01:00
Björn Esser
41955fa9ab
Add patch to include crypt.h, if present
...
Use %%make_{build,install} macros
Refresh other patches for proper alignment
2018-02-06 11:33:37 +01:00