Some login classes are predefined and the idle-timeout value cannot be changed for the class as a whole. By default, the idle-timeout value is set to 0 (the user will never be disconnected when the connection is idle). If you need to change the idle-timeout value for operators or read-only users, you should configure special classes of users with the desired idle-timeout values in minutes. For example:
- [edit]
- system {
-
- login {
-
- class idle-viewer {
- idle-timeout 30;
- permissions view; # This user class has only view permissions.
- }
-
- class idle-operator {
- idle-timeout 60;
- permissions [ clear network reset trace view ]; #This class
is an operator
- }
- }
- }
These user classes can now be assigned to users.
For more information about configuring users, see the JUNOS System Basics Configuration Guide or the J-series Services Router Administration Guide.