forbid hibernation / sleep for users
Luka Renko
lure at ubuntu.com
Fri Nov 30 19:32:42 UTC 2007
On Wednesday 28 November 2007 12:08:14 balazs at rainstorm.org wrote:
> Hi!
>
> I've just installed a fresh Kubuntu 7.10 system. I've noticed that users
> can hibernate / sleep the system by default from the KDE logout window. It
> a desktop computer with minimal server application (e.g ssh, apache etc.)
> so in my case hibernation and sleep must be prohibited to users.
> I've been looking for a soultion from 2 days on Google, but unfortunately I
> didn't find any usable information.
> I've already tried to change permissions of related files under /etc/acpi/
> to 750, but users can still hibernate the system :(
> I've checked /etc/kde3/kdm/kdmrc as well, but there isn't any possibility
> to disable user hibernation.
>
> Do you have any idea?
You can disable Hibernate and Suspend in logout/powermanager by adding this to
power-managerrc:
disableSuspend=1
disableHibernate=1
You should be able to do this globally, for all users, by adding this to this
file:
/usr/share/kubuntu-default-settings/kde-profile/default/share/config/power-managerrc
Regards,
Luka
More information about the kubuntu-users
mailing list