TMAegis
Plus de règles pour solaris

Oracle Solaris

TMA-SOLARIS-7.4

Set Default File Creation Mask for FTP Users

ÉlevéeNiveau 1Automatiséesolaris

Description

If FTP is permitted, set a strong, default file creation mask to apply to files created by the FTP server. Many users assume that the FTP server will use their system file creation mask; generally it does not. This setting ensures that files transmitted over FTP use a strong file creation mask. Audit: only evaluated where the FTP server is installed.

Méthode de vérification

Méthode d'audit: Motif de fichier

Fichier
/etc/proftpd.conf
Motif
(?m)^Umask\s+0?27\b

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

Perform the following to implement the recommended state: # cd /etc # if [ "`grep '^Umask' proftpd.conf`" ]; then awk '/^Umask/ { $2 = "027" } { print }' proftpd.conf > proftpd.conf.CIS mv proftpd.conf.CIS proftpd.conf else echo "Umask 027" >> proftpd.conf fi

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
solarisaccounts
Référence
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 7.4 Set Default File Creation Mask for FTP Users

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target solaris