[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] fetchnews suid/sgid news?



Hi,

as a side effect of using setuid()/setgid() instead of
setreuid()/setregid() in miscutil.c it's now impossible to have a
fetchnews binary that is suid/sgid news (setgid()/setuid() can't
change the real UID/GID to news).

Is that intended behavior or a bug? And why does fetchnews try to
change it's real UID/GID anyway, wouldn't changing the effective
UID/GID be sufficient?

Ciao,
	Stefan

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list