LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-25-2021, 03:33 AM   #1
MikeGK
LQ Newbie
 
Registered: Dec 2021
Posts: 18

Rep: Reputation: Disabled
Password prompt


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
 
Old 12-25-2021, 04:49 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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.
 
Old 12-25-2021, 05:17 AM   #3
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,308
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Which distro? They all allow autologin but the specific details about the icon + menu to choose or which file to change vary slightly.

For example if your distro uses the lightdm display manager, then you would add something like the following line to its configuration file:

Code:
autologin-user=mikegk
autologin-user-timeout=10
However, different distros use different display managers and even deal with the display manager configuration file slightly differently.
 
Old 12-25-2021, 09:35 AM   #4
MikeGK
LQ Newbie
 
Registered: Dec 2021
Posts: 18

Original Poster
Rep: Reputation: Disabled
Ubuntu
practically everything!
autologin was set
 
Old 12-25-2021, 10:02 AM   #5
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by MikeGK View Post
Ubuntu
practically everything!
autologin was set
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.
 
Old 12-25-2021, 10:16 AM   #6
MikeGK
LQ Newbie
 
Registered: Dec 2021
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-26-2021, 12:04 AM   #7
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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).

Last edited by enigma9o7; 12-26-2021 at 12:06 AM.
 
Old 12-26-2021, 02:09 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by MikeGK View Post
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....
 
1 members found this post helpful.
Old 12-26-2021, 02:32 AM   #9
MikeGK
LQ Newbie
 
Registered: Dec 2021
Posts: 18

Original Poster
Rep: Reputation: Disabled
ok
thanks
 
Old 12-26-2021, 09:41 AM   #10
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by pan64 View Post
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.
 
Old 12-26-2021, 01:02 PM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by enigma9o7 View Post
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
 
Old 01-03-2022, 07:47 PM   #12
MeCrumbly429
LQ Newbie
 
Registered: Jul 2020
Location: East hill-meridian, Renton, WA
Distribution: Arch Linux, Slackware -current, CRUX Linux
Posts: 26

Rep: Reputation: Disabled
Quote:
Originally Posted by MikeGK View Post
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 :)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Excellent Utilities: Liquid Prompt – adaptive prompt for Bash & Zsh LXer Syndicated Linux News 0 09-23-2019 08:42 AM
disable password reset prompt at login for expired password lois54 Linux - Security 0 08-10-2018 06:44 PM
[SOLVED] Make Bash prompt look like Windows C:\ prompt -- *PROBLEM* arkadios Linux - General 5 07-24-2012 11:29 AM
terminal prompt different from console prompt dh2k Slackware 5 03-29-2010 04:38 PM
passing parameters from a unix shell prompt into a windows cmd.exe prompt nano2 Programming 1 09-01-2009 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration