Discussion:
no such user
(too old to reply)
@lbutlr
2016-02-18 11:20:59 UTC
Permalink
# amavisd
drop_priv: No such username: vscan
# grep vscan /etc/*
/etc/group:vscan:*:110:
/etc/master.passwd:vscan:*:110:110::0:0:Scanning Virus Account:/var/maiad:/bin/sh
/etc/passwd:vscan:*:110:110:Scanning Virus Account:/var/maiad:/bin/sh
Binary file /etc/pwd.db matches
Binary file /etc/spwd.db matches
--
'Who's that playing now, Mr. Dibbler?' "'And you".' 'Sorry, Mr.
Dibbler?' 'Only they write it &U,' said Dibbler. --Soul Music
Mark.Martinec+ (Mark Martinec)
2016-02-18 18:29:30 UTC
Permalink
Post by @lbutlr
# amavisd
drop_priv: No such username: vscan
# grep vscan /etc/*
/etc/master.passwd:vscan:*:110:110::0:0:Scanning Virus
Account:/var/maiad:/bin/sh
/etc/passwd:vscan:*:110:110:Scanning Virus Account:/var/maiad:/bin/sh
Binary file /etc/pwd.db matches
Binary file /etc/spwd.db matches
Maybe the database is out of sync, or running in a jail?

Try from a command line:

$ perl -le 'my($user,$pwd,$uid,$gid)=getpwnam("vscan"); print
$user//"UNKNOWN"'


Mark
LuKreme
2016-02-18 19:07:52 UTC
Permalink
$ perl -le 'my($user,$pwd,$uid,$gid)=getpwnam("vscan"); print $user//"UNKNOWN"'
Prints UNKNOWN.

Now what?
LuKreme
2016-02-18 19:09:01 UTC
Permalink
Sorry,meant to add FreeBSD 10.2 and amavis freshly reinstalled from ports following a freebsdupdate.
--
Post by Mark.Martinec+ (Mark Martinec)
Maybe the database is out of sync, or running in a jail?
Mark.Martinec+ (Mark Martinec)
2016-02-18 19:15:46 UTC
Permalink
Post by LuKreme
Post by Mark.Martinec+ (Mark Martinec)
$ perl -le 'my($user,$pwd,$uid,$gid)=getpwnam("vscan"); print
$user//"UNKNOWN"'
Prints UNKNOWN.
Now what?
Sorry,meant to add FreeBSD 10.2 and amavis freshly reinstalled from
ports following a freebsdupdate.
/usr/sbin/pwd_mkdb -p /etc/master.passwd

?

Mark
LuKreme
2016-02-18 19:22:45 UTC
Permalink
Post by Mark.Martinec+ (Mark Martinec)
Post by LuKreme
$ perl -le 'my($user,$pwd,$uid,$gid)=getpwnam("vscan"); print $user//"UNKNOWN"'
Prints UNKNOWN.
Now what?
Sorry,meant to add FreeBSD 10.2 and amavis freshly reinstalled from ports following a freebsdupdate.
/usr/sbin/pwd_mkdb -p /etc/master.passwd
Yes, thank you, I was just about to report back that I'd found that and it fixed the issue. Thanks!

--

Loading...