Page MenuHomeVyOS Platform

Auto logout user after a period of inactivity
Closed, ResolvedPublicFEATURE REQUEST

Description

Auto logout user (TTY PTS) after a period of inactivity
Ability to terminate interactive sessions after a period of inactivity and allows users to terminate their own authenticated session.

TMOUT variable to a number in seconds you wish for bash/shell to wait before automatically logging out the shell if no command is run.
For example 10 min

[email protected]:~$ sudo cat /etc/profile.d/autologout.sh
#!/usr/bin/env bash

TMOUT=600
readonly TMOUT
export TMOUT
[email protected]:~$

After 10 min

[email protected]:~$ timed out waiting for input: auto-logout
Connection to 192.168.122.14 closed.
$

Proposed CLI

set system login autologout 300

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Related Objects

StatusSubtypeAssignedTask
In progressFEATURE REQUESTNone
ResolvedFEATURE REQUESTViacheslav

Event Timeline

Viacheslav changed the task status from Open to In progress.Sep 27 2022, 10:51 AM
Viacheslav claimed this task.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.