diff options
author | Michal Židek <mzidek@redhat.com> | 2016-07-07 15:43:11 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2016-07-11 12:07:07 +0200 |
commit | 9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c (patch) | |
tree | ca78fc2d7942164e00068f8dd529de038a797b7a | |
parent | 4b18d0c25471150940c1a552bc2504ff9debb703 (diff) | |
download | sssd-9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c.tar.gz sssd-9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c.tar.xz sssd-9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/sssctl/sssctl_config.c b/src/tools/sssctl/sssctl_config.c index fc13582ac..4f6dbcdd7 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; } |