Passwordless login

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
User avatar
hairy_Palms
Level 4
Level 4
Posts: 292
Joined: Mon Nov 27, 2006 10:46 am

Passwordless login

Post by hairy_Palms »

i recently set up a user for my mum on the home computer, she cant remember a username or password for the life of her, i can fix the username by using a different gdm theme, but the password? hmm so i dug around and found out how

First open up /etc/pam.d/gdm in a Text Editor

the first two lines should look like
auth requisite pam_nologin.so
auth required pam_env.so
below them add the line below
auth sufficient pam_listfile.so item=user sense=allow file=/etc/X11/gdm/nopassusers onerr=fail
now in /etc/X11/gdm/ create a new text file called nopassusers

users that are to login without a password need their username on its own line in this file.

if you want 1 click login, (ala winxp) then change to a gdm theme with a facebrowser

such as http://www.gnome-look.org/content/show. ... tent=48213

SECURITY WARNING!!! DONT do this for the root account, or it will cause a puppy to develop aids and die!
Post Reply

Return to “Tutorials”