- A quick note that bsc#1227574 is expected behavior in this version of sudo. OBS-URL: https://build.opensuse.org/request/show/1190077 OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=253
15 lines
258 B
Bash
15 lines
258 B
Bash
#!/bin/sh
|
|
|
|
if [ $(id -u) -ne 0 ]; then
|
|
printf "Please run the test as root.\n"
|
|
exit 1
|
|
fi
|
|
|
|
if sudo -V | grep -q -- --with-sssd; then
|
|
printf "OK: Sudo has support for SSSD compiled in.\n"
|
|
exit 0
|
|
fi
|
|
|
|
printf "Error: SSSD support isn't compiled in.\n"
|
|
exit 1
|