Quantcast
Viewing all articles
Browse latest Browse all 4552

Skip authentication popup when running command from terminal - Just fail instead

I'm coming from another distro where running a command that required administrator privileges through the terminal without sudo would cause the command to fail, usually while printing out a message requesting super user access.

Ubuntu 22.04 instead opens a GUI "Authentication Required" popup asking me to authenticate for some commands (e.g. systemctl start). I spend a lot of time in the terminal and I'm not going to lie my muscle memory for handling a failed command is pretty baked-in. Having to relearn keystrokes to interact with the GUI is workable, but not my favorite.

Is there any way to disable this popup and just have the commands fail? Or better yet, prompt for authentication within the terminal itself?

Worth mentioning: I do NOT want to turn off password authentication for any commands on my machine, just the GUI popup.

Thanks.


Viewing all articles
Browse latest Browse all 4552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>