The user: tom’s login shell should be non-interactive.

CORRECT TEXT
Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group. The
user: tom’s login shell should be non-interactive.

CORRECT TEXT
Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group. The
user: tom’s login shell should be non-interactive.

Answer: A

Explanation:
# useradd -G admin harry
# useradd -G admin natasha
# useradd -s /sbin/nologin tom
# id harry;id Natasha (Show additional group)
# cat /etc/passwd

(Show the login shell)
OR
# system-config-users



Leave a Reply 1

Your email address will not be published. Required fields are marked *


steven kunjachan

steven kunjachan

useradd -G admin harry
useradd -G admin natasha

usermod -s /sbin/nologin tom