summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Židek <mzidek@redhat.com>2016-07-07 15:43:11 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2016-07-11 12:07:07 +0200
commit9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c (patch)
treeca78fc2d7942164e00068f8dd529de038a797b7a
parent4b18d0c25471150940c1a552bc2504ff9debb703 (diff)
downloadsssd-9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c.zip
sssd-9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c.tar.gz
sssd-9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c.tar.xz
sssctl: config-check access check report
Improve output when access check error is detected by sssctl config-check command. Reviewed-by: Pavel Březina <pbrezina@redhat.com>
-rw-r--r--src/tools/sssctl/sssctl_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/sssctl/sssctl_config.c b/src/tools/sssctl/sssctl_config.c
index fc13582..4f6dbcd 100644
--- a/src/tools/sssctl/sssctl_config.c
+++ b/src/tools/sssctl/sssctl_config.c
@@ -68,7 +68,8 @@ errno_t sssctl_config_check(struct sss_cmdline *cmdline,
/* Check the file permissions */
ret = sss_ini_config_access_check(init_data);
if (ret != EOK) {
- printf(_("Access check on sssd.conf file failed.\n"));
+ printf(_("File ownership and permissions check failed. "
+ "Expected root:root and 0600.\n"));
ret = EPERM;
goto done;
}