Is it possible to configure console idle timeout for root user on Junos?
These two commands did not achieve the goal:
The thing is that logging out the root user from the shell on a console connection seems to be outside of the Junos CLI capabilities because it's a FreeBSD layer thing. So, as of now, it is not possible.
These are the Junos alternatives depending on the security requirements from your organization: