forked from cockpit/cockpit
Compare commits
1 Commits
drop_dup_m
...
check_user
Author | SHA256 | Date | |
---|---|---|---|
8a0cc8a5e9
|
@@ -23,7 +23,7 @@ if [ $? -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /etc/nsswitch.conf ]; then
|
if [ -f /etc/nsswitch.conf ]; then
|
||||||
grep -Exq "passwd:.*?compat systemd" /etc/nsswitch.conf
|
grep -Eq "passwd:.*systemd" /etc/nsswitch.conf
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "/etc/nsswitch.conf is out of date, please update it from /usr/etc/nsswitch.conf to use cockpit"
|
echo "/etc/nsswitch.conf is out of date, please update it from /usr/etc/nsswitch.conf to use cockpit"
|
||||||
failed=true
|
failed=true
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 14 08:04:06 UTC 2025 - Luna D Dragon <luna.dragon@suse.com>
|
||||||
|
|
||||||
|
- update check_cockpit_users to only check for systemd support in /etc/nsswitch.conf bsc#1246408
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 11 06:50:17 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
|
Fri Jul 11 06:50:17 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user