On Tue, 01 Feb 2011 00:30:28 +0530
Gowrishankar Rajaiyan <grajaiya(a)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