making "expire" work

Ken Brassler ken at maxepr.UUCP
Wed Mar 9 06:58:45 AEST 1988


In article <260 at bacchus> darren at bacchus (Darren Friedlein) writes:
>
>but every time I run expire, no matter what the parameters, I get the message:
>
>expire: Cannot get NEWSGRP gr entry
>

If you look though expire.c, you'll see that this error message is
produced when a call to getgrnam() fails. getgrnam() is a library
function, explained in getgrent(3c), which tries to find the group
id, "NEWSGRP", in the /etc/group file. Obviously, the group is not
there.

So, find out what group NEWSGRP is, (ls -l /usr/lib/news) then add it
to /etc/group.
-- 

Ken Brassler {ihnp4|qantel|pyramid|lll-crg}!pacbell!maxepr!ken



More information about the Unix-pc.general mailing list