LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-29-2015, 05:14 PM   #1
jimskier
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
makokikadur
LQ Newbie
 
Registered: Dec 2014
Posts: 25

Rep: Reputation: 2
To disable sudo password requirement:
Code:
sudo visudo
Add this line to the end of the file (replace username as appropriate)
Quote:
username ALL=(ALL) NOPASSWD: ALL
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
Code:
whoami
2. Create a configuration file instructing lightDM to autologin
Code:
sudo mkdir /etc/lightdm/lightdm.conf.d
sudo nano /etc/lightdm/lightdm.conf.d/50-myconfig.conf
50-myconfig.conf file content:
Quote:
[SeatDefaults]
autologin-user=username
Replace username with your user (the result of whoami)
 
  


Reply


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


All times are GMT -5. The time now is 06:21 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration