[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Prevent shutdown with systemctl



Put each subaccount one per line into /etc/shutdown.deny then reboot.

On Mon, 4 Jan 2016, Floris wrote:

Date: Mon, 4 Jan 2016 10:55:56
From: Floris <jkfloris@dds.nl>
To: "debian-user@lists.debian.org" <debian-user@lists.debian.org>
Subject: Prevent shutdown with systemctl
Resent-Date: Mon,  4 Jan 2016 15:56:13 +0000 (UTC)
Resent-From: debian-user@lists.debian.org

Dear list,

Often there are multiple users working on my multiseat [1] system, some of them are kids and they are not paying attention if someone else is logged in. They can shutdown the computer even if someone else is logged in and have an active session.

Is it possible that only root can shutdown/ reboot the computer if multiple users are logged in and when there is only one user that user is able to shutdown the computer?

Thanks,

Floris

[1] https://en.wikipedia.org/wiki/Multiseat_configuration


--


Reply to: