Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
After (finally!) obtaining a dual boot, I have one more (for now) issue
Unable to rid the pesky password prompt
Tried several tutorials, searched LQ, to no avail
Password prompt for what, to log in? You can set autologin on most any Linux, whichever one you might be using. You shouldn't need a password unless you are doing administrative tasks such as installing new software or modifying system files.
Okay, you need to be FAR more specific. It is absolutely unclear what issue you are trying to describe, and there are different solutions for the different possible issues.
I was somewhat wrong
not everything
but
for example when I open GParted or GRUB Customizer
since they will be hardly used from now, then perhaps the problem is minor
still, will be nice to eliminate the prompt entirely
You can disable it for sudo (command line).... but that wont affect GUI stuff. What you're talking about, the password from GUI apps that need root (to write outside your home folder), is handled by policykit. Not sure how to disable that... (and dont think its a very good idea either... but still curious if its possible now that you came up with such a crazy idea).
I suggest just make a simple password, thats better than disabling completely I'd think... one or two letters...
hint: sudo passwd username
(if you dont use sudo ubuntu wont let you use simple passwords).
I was somewhat wrong
not everything
but
for example when I open GParted or GRUB Customizer
since they will be hardly used from now, then perhaps the problem is minor
still, will be nice to eliminate the prompt entirely
completely eliminating the usage of root password means every hacker can use your computer without any effort....
completely eliminating the usage of root password means every hacker can use your computer without any effort....
I hope you're exaggerating. I would imagine others shouldn't be able to even get a login prompt in the first place unless you opened things up for them.
I hope you're exaggerating. I would imagine others shouldn't be able to even get a login prompt in the first place unless you opened things up for them.
someone removes root password, enables javascript, allows other important things, forget update....
Yes, you are right, I'm exaggerating
Distribution: Arch Linux, Slackware -current, CRUX Linux
Posts: 26
Rep:
Quote:
Originally Posted by MikeGK
Hi
After (finally!) obtaining a dual boot, I have one more (for now) issue
Unable to rid the pesky password prompt
Tried several tutorials, searched LQ, to no avail
Alright.
Assuming that you're talking about SUDO verification prompts, I don't know how to ABSOLUTELY solve this.
The closest I'd get is disabling it in the CLI. You'd use the command sudo visudo (or run visudo while logged in as root), and uncomment the line under the first "same thing without a password" line. This makes Sudo automatically verify your user account for root-level terminal tasks.
Now, with visudo comes the VI/VIM editor, which is famously hard for newbies to figure out. Now, if you don't want to learn the default keybinds for VIM, you can use the far, Far, FAR riskier undertaking of editing the /etc/sudoers file. BE WARNED: this is pretty dangerous, and if you make an edit that you don't know how to reverse, you may well break your system. BE VERY CAREFUL!
However, this means almost nothing for GUI prompts (prompts for opening graphical apps with your desktop environment). for that, I don't really know what to do. The only thing that comes to mind is logging in as the highly privileged "Root" user account. DO NOT DO THIS. it is HIGHLY unrecommended, as it is foolish, and possibly dangerous to your system.
If none of this makes sense, here's a simple guide: https://www.ubuntugeek.com/how-to-di...in-ubuntu.html
Happy to help :)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.