Plasmashell turned off my PC on low UPS battery level. After this was unable to login with either user in Plasma(X11). In tty1 was able to login with root user only but it prints strange message: POWER FAILURE. Logging with a regular user fails with the message:
POWER FAILURE
Login incorrect
All the users are still present in /etc/passwd. su user also works fine. Tried to change user settings via console Yast - it is unable to save changes for the user for some reason. Also something strange happen with locale: Cyrillic character written by Latin ones in TTY1. 'What could be the problem? How to fix? Thanks!
I have two APC UPSes connected to my TW system - I followed (generally) the instructions at https://wiki.debian.org/apcupsd to configure the auto-startup.
Actually had to redo it recently, because the UPSes were connected to a RPi that, during our last power outage, wouldn’t boot (SD card gone bad it seems), so rather than using the net driver, I’m now using the USB driver for two instances of the daemon.
But either way, the setup is basically the same.
In the apcupsd.conf file, you can just point the NOLOGINDIR somewhere else to prevent it from creating that file in a place where the system would use it. There’s probably other ways to disable it as well, but that’s the easiest way I can see to do it.
I don’t run Plasma, so I don’t know anything about how Plasma’s power management works. Maybe someone else can jump in and answer that question. It may be that you don’t need it, but I wouldn’t call myself an expert on understanding why that might or might not be the case.