this post was submitted on 30 Jul 2026
32 points (92.1% liked)
Linux
66746 readers
992 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I haven't personally used it but I think that is what pam_time is for.
Is this the Github of it: https://github.com/linux-pam/linux-pam ?
Could I pam_time root or something that has a higher rank and a different password then my main user?
You can prevent root login entirely using sudo and no root password.
Of course you could then override your init to give you a root shell, which you could avoid by having a grub and bios password.
But you'd be able to reset the bios password if you have physical access anyway.
As I only use sudo to update my system, I could use a user that doesn't has sudo access and set up some a cron job to do updates once a day. And flatpak instalation and updating doesn't require sudo at all
looks right