[SSSD] [PATCH] Fixing traceback call messages for sss_obfuscate command.
Simo Sorce
ssorce at redhat.com
Mon Jan 31 19:21:36 UTC 2011
On Tue, 01 Feb 2011 00:30:28 +0530
Gowrishankar Rajaiyan <grajaiya at redhat.com> wrote:
>
> Hi
>
> Traceback call messages were displayed while testing "sss_obfuscate"
> as a non-root user.
> Attached patch fixes this
> (https://bugzilla.redhat.com/show_bug.cgi?id=674141).
>
I would prefer to catch the permission denied exception and when that
happens, print a neat error that tells you you may have to run as a
more privileged user.
I personally do not really like blanket checks for uid = 0
Simo.
--
Simo Sorce * Red Hat, Inc * New York
More information about the sssd-devel
mailing list