Which command creates a read-only user named 'monitor' with password 'secure'?

Study for the MTCNA Foundation Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your certification!

Multiple Choice

Which command creates a read-only user named 'monitor' with password 'secure'?

Explanation:
Creating a read-only user means assigning the user to a read-only group and supplying a password with the proper parameter name. The command that does this exactly uses the user name, puts the user in the read group, and sets the password with the password parameter: name=monitor, group=read, password=secure. This creates a user named monitor who only has read permissions and whose password is set to secure. The other options fail because one grants admin privileges instead of read-only, another uses an incorrect parameter name (pass instead of password), and the remaining form either uses a nonstandard order or would be interpreted differently in some environments.

Creating a read-only user means assigning the user to a read-only group and supplying a password with the proper parameter name. The command that does this exactly uses the user name, puts the user in the read group, and sets the password with the password parameter: name=monitor, group=read, password=secure. This creates a user named monitor who only has read permissions and whose password is set to secure. The other options fail because one grants admin privileges instead of read-only, another uses an incorrect parameter name (pass instead of password), and the remaining form either uses a nonstandard order or would be interpreted differently in some environments.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy