I get that requiring a password for any 'important' change increases security and all that fun stuff, but the reality is i dual boot Kubuntu and Windows, and I really only care about the big boost to compile time I get running native Linux over WSL2. The issue I have is that I've been logged into Kubuntu for about 10 minutes to make some minor changes, and I've been asked for my password 5 times. This is extremely annoying. I want to disable all password prompts. If it requires giving my username root access, I am okay with that. I understand the risks and do not have any concern about security or losing my data because this is an expendable installation that I can easily completely redo whenever I want or need to. Please inform me of a way to disable this nuisance, thanks!
Announcement
Collapse
No announcement yet.
Annoying password prompts for everything
Collapse
This topic is closed.
X
X
-
if you are being prompted for a password, you are accessing non-user system, level stuff, not simple, unimportant things.
Code:sudo -i
though sudo usually holds for 10-15 minutes in a session/window
For GUi stuff, your user account is already in the sudo group, ie has admin privileges. The systems in kubuntu/Kubuntu/other distros are set up to utilize this sort of setup
if you are mostly just editing text/config files using kate/kwrite, you can use pkexec to start them as 'root'. You can create a custom shortcut for it
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true kate
One option is to enable the root account (easily searched, not recommended), and log in to that account, no sudo needed. Probably for your use case, is likely fine.
I know there are still other ways to get rid of passwords in *buntu without logging in as root, I just haven't looked for them in years, decades, even.Last edited by claydoh; Jul 31, 2022, 04:08 PM.
- Top
- Bottom
-
Maybe you're getting kwallet password prompts. You can set the "kdewallet" password to a single space, to disable the password and automatically open the wallet.
If you use sudo in a terminal, by default it holds on to the password for 15 minutes, but that only works for the same terminal session.Regards, John Little
- Top
- Bottom
Comment
-
Originally posted by jlittle View PostMaybe you're getting kwallet password prompts. You can set the "kdewallet" password to a single space, to disable the password and automatically open the wallet.
If you use sudo in a terminal, by default it holds on to the password for 15 minutes, but that only works for the same terminal session.
- Top
- Bottom
Comment
-
Originally posted by claydoh View Post
One option is to enable the root account (easily searched, not recommended), and log in to that account, no sudo needed. Probably for your use case, is likely fine.
- Top
- Bottom
Comment
-
Originally posted by Ryuhouji View PostI also get keyring prompts for whenever I open discord or my browser.
kwallet is normally set up to unlock when logging in, set to the user account password. You usually never see a password prompt for it at all.
Some applications seem to assume that *everyone* is using Gnome, and installs gnome-keyring. Manually installed browsers and other third party software, the sort that store login credentials, mostly.. It is easy enough to uninstall gnome-keyring if you don't use a Gnome desktop at all.
it is not a hand holding, it is kind of a mis-configuration of sorts (the 'keyring' prompts, that is). Unless I am editing multiple system level configs using a GUI text editor, I hardly ever see a barrage of password prompts. throughout my day, even when building or compiling things.
You get much fewer prompts when using the command line, for sure. But in Linux, you will still have more prompts for a password than Windows, especially when modifying or doing other system-level actions.
- Top
- Bottom
Comment
Comment