View Issue Details

IDProjectCategoryView StatusLast Update
0000214My infrastructureGeneralpublic2024-02-25 17:15
Reporterdvl Assigned Todvl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000214: disable periodic scripts etc in /jails/freshports
DescriptionWe don't need this:

Mail is building up:

root@freshports:/ # ls -l /var/mail
total 105
-rw--w---- 1 root mail 165074 Feb 10 04:15 root
root@freshports:/ #


root@freshports:/ # less /var/mail/root
From root@freshports Mon Dec 25 03:01:04 2023
Received: from root (uid 0)
        (envelope-from root@freshports)
        id 38491
        by freshports (DragonFly Mail Agent v0.13+ on freshports);
        Mon, 25 Dec 2023 03:01:04 +0000
To: root
Subject: freshports daily security run output
Date: Mon, 25 Dec 2023 03:01:04 +0000
Message-Id: <6588f070.38491.66bb01a6@freshports>
From: <root@freshports>


Checking setuid files and devices:

No /var/log/setuid.today

Checking negative group permissions:

No /var/log/mount.today

Checking for uids of 0:
root 0
toor 0

Checking for passwordless accounts:
root::0:0::0:0:Charlie &:/root:/bin/sh

Checking login.conf permissions:

No /var/log/dmesg.today

TagsNo tags attached.

Activities

dvl

2024-02-25 16:59

manager   ~0000233

Also want to disable periodic and cron.

dvl

2024-02-25 17:15

manager   ~0000234

Disabling cron disables periodics and pretty much everything.

See https://github.com/FreshPorts/host-init/commit/dd68ef36b7c9805a363209a11593bdc87e804ecc

root@freshports:~ # cat /etc/rc.conf
cron_enable="NO"
syslogd_enable="NO"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

Issue History

Date Modified Username Field Change
2024-02-10 21:59 dvl New Issue
2024-02-10 21:59 dvl Status new => assigned
2024-02-10 21:59 dvl Assigned To => dvl
2024-02-25 16:59 dvl Note Added: 0000233
2024-02-25 17:15 dvl Status assigned => closed
2024-02-25 17:15 dvl Resolution open => fixed
2024-02-25 17:15 dvl Note Added: 0000234