Skip to content

Set the Computer Idle Policy on Ubuntu using Landscape #1

@rajannpatel

Description

@rajannpatel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions