Passwordless login

Write tutorials here
There are more tutorials here
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
User avatar
Level 4
Level 4
Posts: 292
Joined: Mon Nov 27, 2006 10:46 am

Passwordless login

Postby hairy_Palms » Mon Apr 09, 2007 2:20 pm

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
auth required

below them add the line below

auth sufficient 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 ... tent=48213

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

User avatar
Level 2
Level 2
Posts: 86
Joined: Tue Apr 17, 2007 2:40 pm
Location: Abilene TX

Postby allforcarrie » Wed Apr 18, 2007 8:12 pm

or you could go to the session manager and make a sertain user auto log in.

User avatar
Totally Infected
Level 1
Level 1
Posts: 32
Joined: Fri Jan 05, 2007 7:40 pm

oh, I was just thinking about how to do this

Postby Totally Infected » Wed Jun 27, 2007 6:40 pm

I just installed Bianca KDE for my parents and while they can remember their usernames as long as they = their real names, they can't handle the password issue. On KDE, in the 'Sys. Settings' => 'Sys Admin' => 'Login Manager' --> 'Convenience' and then checked their usernames for on the 'No password required for:' list... I thought that was pretty straig forward and should handle it, but no, didn't do a thing.

And since there are 2 of them the auto login doesn't really work.

I'm now going to give your fix a try.


Level 1
Level 1
Posts: 1
Joined: Wed Sep 09, 2009 2:51 pm

Re: Passwordless login

Postby arielfx » Wed Sep 09, 2009 3:18 pm

I was running this on my Ubuntu 8.10 to facilitate entry to my children. Install "Gloria" and I can not run it more. What could happen?

Return to “Tutorials”