Skip to main content
Updated.
Source Link
Jordan Head
  • 7.2k
  • 1
  • 26
  • 41

UPDATE: As of 16.1 this is possible with the following configuration:

set system login idle-timeout n

Where n is the number of minutes.

https://www.juniper.net/documentation/us/en/software/junos/network-mgmt/topics/ref/statement/idle-timeout--edit-system-login.html

For versions of code prior to 16.1, the following answer still works.

Setting idle-timeout for root directly from the CLI is not possible, unfortunately.

Setting idle-timeout for root directly from the CLI is not possible, unfortunately.

UPDATE: As of 16.1 this is possible with the following configuration:

set system login idle-timeout n

Where n is the number of minutes.

https://www.juniper.net/documentation/us/en/software/junos/network-mgmt/topics/ref/statement/idle-timeout--edit-system-login.html

For versions of code prior to 16.1, the following answer still works.

Setting idle-timeout for root directly from the CLI is not possible, unfortunately.

added 4 characters in body
Source Link
Jordan Head
  • 7.2k
  • 1
  • 26
  • 41

Adjusting Timeout for root Shells:Adjusting Timeout for root Shells:

Adjusting Timeout for root Shells:

Adjusting Timeout for root Shells:

added 375 characters in body
Source Link
Jordan Head
  • 7.2k
  • 1
  • 26
  • 41

Adjusting Timeout for root Shells:

Just wanted to add one more quick thing someone brought to my attention.

If you're concerned with idle timeout on root user shell sessions (not CLI), you can jump into a shell and set:

set autologout=X  ## Where X is the number of minutes of idle time before session is terminated.

You add/edit the file /etc/csh.login

Adjusting Timeout for root Shells:

Just wanted to add one more quick thing someone brought to my attention.

If you're concerned with idle timeout on root user shell sessions (not CLI), you can jump into a shell and set:

set autologout=X  ## Where X is the number of minutes of idle time before session is terminated.

You add/edit the file /etc/csh.login

added 287 characters in body
Source Link
Jordan Head
  • 7.2k
  • 1
  • 26
  • 41
Loading
Source Link
Jordan Head
  • 7.2k
  • 1
  • 26
  • 41
Loading