TMAegis
Plus de règles pour aix

TMA-AIX-6.2.1

Ensure at is restricted to authorized users

ÉlevéeNiveau 1Automatiséeaix

Description

at allows fairly complex time specifications, extending the POSIX.2 standard. It accepts times of the form HH:MM to run a job at a specific time of day. (If that time is already past, the next day is assumed.) You may also specify midnight, noon, or teatime (4pm) and you can have a time-of-day suffixed with AM or PM for running in the morning or the evening. Audit: at.deny must not exist and at.allow must exist (review its users).

Méthode de vérification

Méthode d'audit: Commande shell

shell
[ ! -e /var/adm/cron/at.deny ] && [ -f /var/adm/cron/at.allow ] && echo compliant || echo "at.deny present or at.allow missing"
Sortie attendue
compliant

Méthode de correction

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

Remove /var/adm/cron/at.deny if it exists: # /usr/bin/rm /var/adm/cron/at.deny IF /var/adm/cron/at.allow does not exist, create the file: # print "root\nadm" > /var/adm/cron/at.allow IF /var/adm/cron/at.allow already exists, ensure that it contains at least the root and adm users.

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
aixaccounts
Référence
CIS IBM AIX 7 Benchmark v1.2.0 - 6.2.1 Ensure at is restricted to authorized 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 aix