How to authenticate permissions of a local user?

Werner Koch wk@isil.d.shuttle.de
Thu, 17 Jun 1999 08:31:28 +0200


Art Hampton <arth@pacsg.css.mot.com> writes:


> Within rndunix.c, it is intentionally bailing out because of my attempt
> to use it in a setuid script:
> /* make sure we are not setuid */
> if( getuid() != geteuid() )
> BUG();
Oh great! Doing such asserts seems to be good thing. -- Werner Koch at guug.de www.gnupg.org keyid 621CC013