[sane-devel] [sane-commit] CVS update of sane-backends ( 3 files )

E. MARC e.marc at orange.fr
Sat Dec 6 18:20:34 UTC 2008


Le samedi 6 décembre 2008, à 18:39, Nicolas Martin a écrit :
> Same on Ubuntu:
>
> $ ./getlgn
> method 1 getuid : user=nicolas
> method 2 geteuid: user=nicolas
> $ sudo ./getlgn
> [sudo] password for nicolas:
> method 1 getuid : user=root
> method 2 geteuid: user=root
>
> ?
so it works fine with both functions.
Why do you suggest "Yep, use getuid() instead of geteuid() if you want to 
avoid that."?




More information about the sane-devel mailing list