This article provides information how to assign different user templates and login classes to RADIUS authenticated users. By using this procedure, different RADIUS authenticated users can be granted different administrative permissions on the Junos device.
By default, RADIUS authenticated users use the remote user template and get the class assigned, which is specified in the remote user template, if the remote user template is configured. In the Junos configuration, a user template is configured in the same way as a regular local user account; except that no local authentication (password) is configured. This is due to the authentication being remotely performed on the RADIUS server. For example:
set system login user remote class read-only
set system authentication-order [ password radius ] set system radius-server 10.2.2.1 secret abc set system login user RO class read-only set system login user OP class operator set system login user SU class super-user set system login user remote full-name "default remote access user template" set system login user remote class read-only