TMA-AIX-4.8.2
Ensure root user default shell is ksh
ÉlevéeNiveau 1Automatiséeaix
Description
Ensure that the shell for the root user is set to /usr/bin/ksh Although the bash shell is available there are administrative processes that require the root user to be configured with the ksh shell as its default shell. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.
Méthode de vérification
Méthode d'audit: Commande shell
shell
command -v lsuser >/dev/null 2>&1 || exit 1; lsuser -a shell root 2>/dev/null- Sortie attendue
root shell=/usr/bin/ksh
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Execute the following command chuser shell=/usr/bin/ksh root
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- aixaccounts
- Référence
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.8.2 Ensure root user default shell is ksh
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