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.
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.