Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-29-2015, 05:14 PM   #1
LQ Newbie
Registered: Apr 2015
Location: Colorado Springs, CO
Posts: 5

Rep: Reputation: Disabled
Smile How to eliminate password requirement on login ubuntu 15.05

Trying to eliminate login password requirement ubuntu 15.04.
instructions say

sudo visudo

I can make changes but have no idea how to save and exit!
Old 04-29-2015, 06:29 PM   #2
LQ Newbie
Registered: Dec 2014
Posts: 25

Rep: Reputation: 2
To disable sudo password requirement:
sudo visudo
Add this line to the end of the file (replace username as appropriate)
CTRL+X (^x) to close the file, type Y to save changes.

To skip user login at start you can set LightDM to autologin:
1. Verify which is your username with the command
2. Create a configuration file instructing lightDM to autologin
sudo mkdir /etc/lightdm/lightdm.conf.d
sudo nano /etc/lightdm/lightdm.conf.d/50-myconfig.conf
50-myconfig.conf file content:
Replace username with your user (the result of whoami)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Password Never Expire Setting help needed , How?Hi , I have a requirement from the c redhat70 Linux - Security 1 06-21-2012 01:24 AM
Ubuntu 11.04 encrypted LVM password not working after user login password change prateekm21 Linux - Security 0 10-29-2011 02:20 PM
shell script ssh: how to eliminate the login process output figo Programming 1 06-01-2009 03:05 PM
Kubuntu 6.06/ x64. I want to eliminate login at startup brocki1 Linux - Desktop 2 11-06-2006 12:36 PM
SuSE 10.- How to eliminate root password klipp Linux - Security 4 12-01-2005 03:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 PM.

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