Noob Question Thread: Ask Any Questions About Linux!

https://lemmy.ml/post/14261893

Noob Question Thread: Ask Any Questions About Linux! - Lemmy

I thought I’ll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance! I’ll try my best to answer any questions here, but I hope others in the community will contribute too!

Is there a way to remove having to enter my password for everything?

Wake computer from Screensaver? Password.
Install something? Password.
Updates (biggest one. Updates should in my opinion just work without, because being up to date is important for security reasons)? Password.

I understand sudo needs a password,but all the other stuff I just want off. The frequency is rediculous. I don’t ever leave my house with my computer, and I don’t want to enter a password for my wife everytime she wants to use it.

You can configure this behavior for CLI, and by proxy could run GUI programs that require elevation through the CLI:

wiki.archlinux.org/title/Sudo#Using_visudo

Defaults passwd_timeout=0 Defaults timestamp_timeout=10 (change to any amount of minutes you wish)

The last one may be the difference between having to type the password every 5 minutes versus 1-2 times a day. Make sure you take security implications into account.

Sudo - ArchWiki

I think something like

%wheel ALL= NOPASSWD: /bin/apt

should be the right way of disabling the password for apt.