Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC Exam GSEC Topic 9 Question 21 Discussion

Actual exam question for GIAC's GIAC Security Essentials exam
Question #: 21
Topic #: 9
[All GIAC Security Essentials Questions]

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. He wants to change the startup shell of Maria from bash to tcsh. Which of the following commands will John use to accomplish the task?

Each correct answer represents a complete solution. Choose all that apply.

Show Suggested Answer Hide Answer
Suggested Answer: A, D

The usermod -s and useradd -s commands can be used to change the user startup shell.

Answer option C is incorrect. The usermod -u command is used to set a numerical value of the account's ID. The value must be unique, non-

negative, and greater than 99. The values 0 to 99 are reserved for system accounts.

Answer option B is incorrect. The chage command is used for changing user password expiry information.

Syntax:

chage [-m mindays] [-M maxdays] [-d lastday] [-E expireday] [-I inactive] [-W warndays] [-l] user

The functions of the switches are as follows:


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel