You are not logged in.

#1 2010-06-09 08:18:08

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

[SOLVED] Can't figure out how to bypass user passwords at login!

Hey, Thanks for reading this!

I've tried editing the settings (in Gnome) located in System > Administration > Users and Groups to disable my user password so I don't need it when logging in but that didn't work.

I also tried to edit my PAM settings, but that didn't do anything at all either!

So how in the world do you disable a selected user's password so all he has to do is click on his name to log in with no password?

Thanks!

Last edited by trusktr (2010-06-11 01:03:14)


joe@trusktr.io - joe at true skater dot io.

Offline

#2 2010-06-09 09:08:19

gablink
Member
Registered: 2010-05-21
Posts: 22

Re: [SOLVED] Can't figure out how to bypass user passwords at login!

Hi trusktr! Check this page at the end wink

http://wiki.archlinux.org/index.php/Gnome_2.30_Changes

Offline

#3 2010-06-09 09:15:45

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [SOLVED] Can't figure out how to bypass user passwords at login!

Hey, gablink, thanks for that info but it's not exactly what i'm looking for.

In my login screen, i have more than one user (for my sister, mom, dad, etc...)

I want to be able to set up selected accounts so that all you have to do is click on the username to log in without it asking you for a password.

So for example, I might have my screen name ask for apssword, but if my sister clicks on her screen name, then it will just log in right away, no password required.

Any idea how to do this?

Thanks for the imput!


joe@trusktr.io - joe at true skater dot io.

Offline

#4 2010-06-09 09:23:17

gablink
Member
Registered: 2010-05-21
Posts: 22

Re: [SOLVED] Can't figure out how to bypass user passwords at login!

Oh ok!

I think this solution is more appropriate for your problem

http://ubuntuforums.org/showthread.php?t=819198

Offline

#5 2010-06-10 10:37:57

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [SOLVED] Can't figure out how to bypass user passwords at login!

Thanks for the link gablink!

Unfortunately, that post seems a little outdated and it doesn't work for me.

Both of the files it says to edit, namely /etc/pam.d/common-auth, don't exist.

There has got to be a simple way to do this! roll


joe@trusktr.io - joe at true skater dot io.

Offline

#6 2010-06-11 01:11:51

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [SOLVED] Can't figure out how to bypass user passwords at login!

OK, i've figured it out!

By default, Gnome is supposed to have this feature available in the "Users and Groups" app (System > Administration > Users and Groups.  Also accessible by the command "users-admin").

If you might notice, this doesn't work in Arch Linux. That's because one of the Arch Developers has forgotten to include the following line in /etc/pam.d/gdm:

auth            sufficient      pam_succeed_if.so  user ingroup nopasswdlogin

Place this line right before the first line containing "pam_unix.so". Also, create the group "nopasswdlogin".

Viola, logging in without GDM prompting you for the password now works! wooo!! So simple!

This works because users-admin (Users and Groups) automatically adds the desired user to the group "nopasswdlogin" when you enable the option for "Don't ask for password on login".

Now, with this added line in /etc/pam.d/gdm, GDM will know to skip the password prompt for any users who are in the nopasswdlogin group.

This line was missing before and that's why the settings weren't working.

Arch developers need to include this line by default to retain full GDM/Gnome functionality.

Last edited by trusktr (2010-08-18 07:10:45)


joe@trusktr.io - joe at true skater dot io.

Offline

#7 2010-06-11 01:21:53

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Can't figure out how to bypass user passwords at login!

Thanks for the info, file a bug report. smile


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#8 2010-08-16 20:35:04

Sloshy
Member
Registered: 2010-04-15
Posts: 56

Re: [SOLVED] Can't figure out how to bypass user passwords at login!

EDIT: it worked after I made the nopasswdlogin group. Thanks!

Last edited by Sloshy (2010-08-16 20:56:42)

Offline

#9 2010-08-18 07:11:03

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [SOLVED] Can't figure out how to bypass user passwords at login!

You're welcome.


joe@trusktr.io - joe at true skater dot io.

Offline

Board footer

Powered by FluxBB