Which of the following should you use to accomplish the task?

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network.
You are a root user on the Linux system. You have to create a user named Trinity and deny
interactive login. Which of the following should you use to accomplish the task?

Each correct answer represents a part of the solution. Choose all that apply.

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network.
You are a root user on the Linux system. You have to create a user named Trinity and deny
interactive login. Which of the following should you use to accomplish the task?

Each correct answer represents a part of the solution. Choose all that apply.

A.
vi /etc/passwd

B.
vi /etc/shadow

C.
useradd Trinity

D.
passwd Trinity

E.
Trinity:x:505:505::/home/Trinity:/sbin/nonlogin



Leave a Reply 0

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