This is a discussion on Re: [AMaViS-user] FATAL error while starting amavisd within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Bartosz, > I am experincing problem with installing newst stable version. > Everything is installed according to INSTALL file. > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Bartosz,
> I am experincing problem with installing newst stable version. > Everything is installed according to INSTALL file. > FATAL: It is possible to change EUID from 0 to root, ABORTING! > FATAL: Perhaps you forgot to patch the Net::Server - see: > FATAL: http://www.ijs.si/software/amavisd/#net-server-sec > FATAL: or start as non-root, e.g. by su(1) or using option -u user > I have also followed http://www.ijs.si/software/amavisd/#net-server-sec but > when I change that file i got compitation error You must have done something wrong when you edited the file ...lib/perl5/...Net/Server/Daemonize.pm Try again, find a subroutine set_uid in that file, remove it entirely, and drop in a replacement: sub set_uid { my $uid = get_uid( shift() ); POSIX::setuid( $uid ) or die "Couldn't POSIX::setuid to \"$uid\" [$!]\n"; $> = $uid; $< = $uid; # just in case return 1; } Or, you can still use the 'amavisd -u vscan' approach, even if you don't update the Daemonize.pm Mark ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |