Re:How to get root on Ubuntu 20.04 by pretending nobody’s /home
by NieDzejkob on Wednesday November 11, 2020 @09:07AM
(#25058487)
When configured properly, xsecurelock does fix this type of bug. The key is to use the -l option of xss-lock, which passes a lock file descriptor to xsecurelock and waits for it to be closed before allowing the suspend.
https://github.com/google/xsecurelock#automatic-locking