You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A malicious actor can directly power cycle the system without the owner's permission. If the user has unsaved work or is in the middle of something, this can potentially lead to data loss and corruption of the said work. Windows and Macs handle this differently by waiting for the processes to end rather than killing the processes outright as Linux does.
Remedies for the said issue could be:
Not using this module
Only permit user to power cycle (password authentication)
Warn user regarding potential data loss if said work is not saved or backed up (a confirmation prompt) in case this was triggered accidentally
Thank you for this great program :3
The text was updated successfully, but these errors were encountered:
Password authentication seems kinda redundant... You might as well unlock the screen.
Maybe you could use swaynag (or similar) as a confirmation prompt. I wouldn't mind adding such a feature natively but I don't have time to implement it. If anyone comes up with a PR I'll be happy to merge.
A malicious actor can directly power cycle the system without the owner's permission. If the user has unsaved work or is in the middle of something, this can potentially lead to data loss and corruption of the said work. Windows and Macs handle this differently by waiting for the processes to end rather than killing the processes outright as Linux does.
Remedies for the said issue could be:
Thank you for this great program :3
The text was updated successfully, but these errors were encountered: