Which attribute must be defined when configunng a non-root user in Junos OS?
Which attribute must be defined when configunng a non-root user in Junos OS?
When configuring a non-root user in Junos OS, the 'class' attribute must be defined. This attribute assigns the user to a specific login class that outlines the permissions and access levels for that user. Without defining the 'class' attribute, the user's account cannot be correctly configured.
UID is optional (it is automatically set) whereas class is required: https://www.juniper.net/documentation/us/en/software/junos/user-access/topics/topic-map/junos-os-user-accounts.html
# commit and-quit [edit system login] 'user "NEWUSER" Missing mandatory statement: 'class' error: commit failed: (missing mandatory statements) Answer is "Class"
Class is mandatory, either system defined or user defined class should be assigned.
When configuring a non-root user in Junos OS, the attribute that must be defined is C. authentication. The "authentication" attribute is used to specify the authentication method for the user. This can include options such as local authentication, remote authentication using RADIUS or TACACS+, or other authentication mechanisms supported by Junos OS. While attributes like "class," "uid," and "full-name" are also important for configuring a non-root user, they are not specifically required. The "class" attribute is used to assign a specific configuration class to the user, the "uid" attribute is used to assign a unique user ID, and the "full-name" attribute is used to specify the full name of the user. However, the authentication attribute is essential to define how the user will be authenticated in the system.
Answer A
Ref: User Accounts | Junos OS | Juniper Networks "User Accounts ... User Accounts Overview ... For each user account, you can define the following: ... User’s access privilege: (Required) One of the login classes you defined in the class statement at the [edit system login] hierarchy or one of the default login classes. ..."
A = always requires both a class and a password , in this case class is the only option
I have tried to configure new user and class was required...
Should be A
"A" is the answer due the fact that it is an attribute...
I think I should be uid cause you are assigning the user’s name.
Class is required
UID is optional (it is automatically set) whereas class is required: https://www.juniper.net/documentation/us/en/software/junos/user-access/topics/topic-map/junos-os-user-accounts.html
A . UID is optional
it's auto-generated by linux system
class is mandatory
Correct answer is A.
A is the correct answer