Thursday 30 april, 2020 14:58:25 CET you wrote:
> Hello,
> 
> when run with inetd with an user != root, oidentd refuses to run:
> Apr 30 14:50:54 xxx oidentd[29962]: Fatal: Failed to drop privileges
> (kernel)
> 
> ident           stream  tcp     nowait  oidentd    /usr/sbin/tcpd  oidentd
> -i -I

Sorry for taking three years to look at this. As far as I can tell, oidentd 
doesn't try to drop privileges if not run as uid and/or gid 0. The only 
problem I can see is that oidentd tries to change its primary group to its 
fallback oidentd or nogroup if it's started with gid 0, even if it's not 
started with uid 0. The user created by the package is called oident, not 
oidentd. Did you create your own user and give it root as its primary group?

-- 
Magnus Holmgren        holmg...@debian.org
Debian Developer 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to