From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Description of problem: The out-of-the-box /etc/passwd file has problems, according to pwck: [root@localhost root]# pwck user adm: directory /var/adm does not exist user news: directory /etc/news does not exist user uucp: directory /var/spool/uucp does not exist user gopher: directory /var/gopher does not exist user ftp: directory /var/ftp does not exist user pcap: directory /var/arpwatch does not exist pwck: no changes Probably a dupe of an old bug 53532, which I do not have permission to reopen.
The first four are legacy and cannot be changed. /var/ftp is created by vsftpd on install. The pcap user is created by arpwatch; assigning there.
$ rpm -qf /var/arpwatch arpwatch-2.1a13-7 well, user pcap is created by arpwatch on install assigning back
It's complaining about the home directory arpwatch puts in /etc/passwd not existing. Either it's a arpwatch pre problem, or not-a-bug.
why is it in /etc/passwd prior to arpwatch installation anyway?
FC3t3 with latest rpms still has a passwd file that pwck doesn't like.
Surely pre-existing accounts shouldn't be necessary, since we have /usr/share/doc/setup-*/uidgid ?
pcap user is created by _either_ arpwatch or tcpdump; both packages have the preinstall script doing useradd/groupadd for pcap. Could it be (possibly unrelated) problem that neither arpwatch nor tcpdump requires shadow-utils (which provides /usr/sbin/{user,group}add)?