logcheck doesn't work anymore
Marco Beishuizen
mbeis at xs4all.nl
Sun Sep 14 19:34:50 UTC 2008
On Sun, 14 Sep 2008 13:00:47 -0400
Greg Larkin <glarkin at freebsd.org> wrote:
> Finally, I'll add the members of the wheel group to the logcheck group
> so anyone in that group can still read the file as they could before:
> --------------------------------------------------------------------
> fbsd70# grep ^wheel: /etc/group
> wheel:*:0:root,glarkin
> fbsd70# grep ^wheel: /etc/group | awk -F : '{ print $4 }' | xargs
> \ -n1 pw groupmod logcheck -m
> fbsd70# grep ^logcheck: /etc/group
> logcheck:*:915:root,glarkin
> --------------------------------------------------------------------
When trying to add root and marco to the logcheck group I get:
...
#grep ^wheel: /etc/group | awk -F : '{ print $4 }' | xargs \ -n1 pw
groupmod logcheck -m
#xargs: -n1: No such file or directory
...
Should I add them manually to /etc/group? Or is this not enough to make
it work.
Regards,
Marco
--
Around computers it is difficult to find the correct unit of time to
measure progress. Some cathedrals took a century to complete. Can you
imagine the grandeur and scope of a program that would take as long?
-- Epigrams in Programming, ACM SIGPLAN Sept. 1982
More information about the freebsd-questions
mailing list