landscape-scripts icon indicating copy to clipboard operation
landscape-scripts copied to clipboard

Set the Computer Idle Policy on Ubuntu using Landscape

Open rajannpatel opened this issue 3 years ago • 0 comments

We need a script that can set the computer lockout policy on Linux. For example, after 10 minutes of the computer being idle, force a screensaver or login screen which requires a password. Beyond pushing this policy out to each machine through Landscape, there needs to be a means to audit the Ubuntu estate, and use Landscape annotations to ensure machines have this policy applied.

These lockout policy settings can be configured in /etc/systemd/logind.conf

Relevant manpage: http://manpages.ubuntu.com/manpages/focal/man5/logind.conf.5.html

rajannpatel avatar Oct 02 '22 00:10 rajannpatel