37 Commits

Author SHA1 Message Date
yixiangzhike
d17aaba7b3 Backport patches from upstream 2025-03-11 15:10:16 +08:00
hugel
1c9fdd46e5 limit username length to 32
(cherry picked from commit 430589ba91cf502f377b2743886f421dbe49b11a)
2025-02-08 10:38:57 +08:00
beta
a0976048f3 backport patches from upstream
Signed-off-by: beta <beta@yfqm.date>
(cherry picked from commit 8d81a7257a249449e6bf37a1153d8f506d4baf28)
2024-12-16 21:00:55 +08:00
beta
c657843ace chpasswd fix coredump with s parameter
Signed-off-by: beta <beta@yfqm.date>
(cherry picked from commit dd0c07f504b803d557353d4252b4ce550ddd7d1a)
2024-12-12 10:08:10 +08:00
zhangxingrong
037109f63c add soma patchs from upstream 2024-10-08 17:51:49 +08:00
zhangzikang1992
e6e10e3d84 libsubid: Dealocate memory on exit 2024-09-06 11:24:34 +08:00
zhengxiaoxiao
0d384a248f update to 4.14.3 2024-02-05 19:32:59 +08:00
lvgenggeng
b8bc22b20d fix: backport patches from upstream
Signed-off-by: lvgenggeng <lvgenggeng@uniontech.com>
2023-09-20 14:40:03 +08:00
xiongshenglan
321b447d60 shadow: Remove encrypted passwd for useradd-groupadd-groupmod-usermod
Remove encrypted passwd for useradd/groupadd/groupmod/usermod
In groupadd/useradd, p parameter does not meet password complexity checks. Do
not satisfy security requirements.

Signed-off-by: xiongshenglan <xiongshenglan@huawei.com>
2023-08-14 22:29:34 +08:00
xiongshenglan
e024307bdc shadow: Remove encrypted passwd for useradd-groupadd-groupmod-usermod
Remove encrypted passwd for useradd/groupadd/groupmod/usermod
In groupadd/useradd, p parameter does not meet password complexity checks. Do
not satisfy security requirements.
use CONFIG_SHADOW_REMOVE_POPTION

Signed-off-by: xiongshenglan <xiongshenglan@huawei.com>
2023-08-11 10:45:41 +08:00
yunjia_w
100975d1ce backport some patches
Signed-off-by: yunjia_w <yunjia.wang@huawei.com>
2023-06-19 15:44:03 +08:00
yunjia_w
3106446ab5 fix CVE-2023-29383
Signed-off-by: yunjia_w <yunjia.wang@huawei.com>
2023-04-20 19:44:47 +08:00
fly_fzc
32fd795eab backport patches from upstream 2023-03-23 11:33:53 +08:00
yunjia_w
8cae51152c SM3 patch is compatible with version 4.13
Signed-off-by: yunjia_w <yunjia.wang@huawei.com>
2023-02-09 11:48:49 +08:00
yunjia_w
ebbcf53efe update version to 4.13
Signed-off-by: yunjia_w <yunjia.wang@huawei.com>
2023-02-08 15:08:43 +08:00
xiongshenglan
c0010da5ea backport useradd check if subid range exists for user 2022-12-01 15:39:48 +08:00
yunjia_w
9414d28742 chpasswd fix function problem with R parameter
Signed-off-by: yunjia_w <yunjia.wang@huawei.com>
2022-11-23 14:22:39 +08:00
yunjia_w
ef7a956ef6 add some backport to optimize some functions
Signed-off-by: yunjia_w <yunjia.wang@huawei.com>
2022-10-31 11:00:45 +08:00
付善庆
c91f04deac Merge branch 'master' of gitee.com:src-openeuler/shadow into master
Signed-off-by: 付善庆 <fushanqing@kylinos.cn>
2022-08-23 02:11:31 +00:00
zhengxiaoxiao
dc9ca24c72 add-sm3-crypt-support.patch add update release to 4.9-4 2022-08-02 15:16:17 +08:00
fushanqing
172733c79a remove redundant patches 2022-03-26 16:49:32 +08:00
panxiaohe
d168ce83f3 update to 4.9 and modify check ID range for system users 2022-02-21 10:35:04 +08:00
Steven.YGui
c9766468d2 backport patches to fix memory leak 2021-09-30 11:35:58 +08:00
wangchen2020
dda5d88fd1 delete unnecessary gdb from BuildRequires 2021-07-26 15:38:49 +08:00
Hugel
43a11ba273 shadow should depend on audit-libs 2021-04-30 10:04:55 +08:00
Anakin Zhang
e8edb108c7 fix zh_CN typo 2020-07-09 11:53:52 +08:00
Anakin Zhang
30f4f6d7f5 generate mail USER with proper selinux identity 2020-06-28 10:59:56 +08:00
huangzq6
93f986da59 enable --with-libpam 2020-05-12 20:23:25 +08:00
steven
1ab3a7831c upgrade to 4.8.1 2020-05-11 11:48:31 +08:00
guoxiaoqi
ce2808c402 only package man files into shadow-help 2020-03-21 20:45:44 +08:00
guoxiaoqi
789f877c7b Remove redundant file 2020-03-17 20:10:48 +08:00
guoxiaoqi
22ae2f3caf remove redundant patches 2020-02-21 16:25:46 +08:00
guoxiaoqi
595190e27c user name can start with an upper case letter 2020-02-06 11:42:54 +08:00
guoxiaoqi
43bcbe5dea delete ALWAYS_SET_PATH which has been set by security-tool 2020-01-18 12:41:27 +08:00
openeuler-basic
67872f2199 fix unknown item 'LASTLOG_MAX_UID' 2020-01-16 15:16:01 +08:00
guoxiaoqi
223c5c62d6 update config 2020-01-13 14:40:57 +08:00
dogsheng
73b3a76d84 Package init 2019-12-25 17:13:08 +08:00