On Mon, Jan 15, 2007 at 11:59:21AM -0800, Dennis Peterson said:
> Stephen Gran wrote:
> >./clamscan/manager.c:
> >if(!geteuid()) {
> 
> I guess I never lit off clamscan where I didn't have a UID. I don't even 
>  know how I could. Clamscan always runs as the executing in all of my 
> scripts.

That actually doesn't mean "doesn't have a UID".  geteuid returns a
number, and the test in this case is to see whether the number is 0,
which is root.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | If elected, Zippy pledges to each and   |
|  [EMAIL PROTECTED]             | every American a 55-year-old houseboy   |
|  http://www.lobefin.net/~steve | ...                                     |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to