LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Passwordless gdm login howto (https://www.linuxquestions.org/questions/linux-software-2/passwordless-gdm-login-howto-309119/)

fannymites 04-02-2005 09:44 PM

Passwordless gdm login howto
 
I found instructions a while ago on how to login to gdm as regular user without typing the password, I could do it just by double-clicking on the face picture.
I've since re-installed linux after messing a few things up and I can't remember the procedure for doing this and can't find the instructions on the net again.
Can anyone point me in the right direction please?

[EDIT] I know about automatic login but that isn't what I want, I login to gnome, kde or xfce4 depending on my mood so auto is no good.

fclock 04-02-2005 09:49 PM

Run `gdmsetup` (you should be able to get to it via "Settings" or somesuch link from the login screen, or from the "System Settings" on menu). General tab -> Automatic login.

fannymites 04-03-2005 04:41 AM

As I said, I know about automatic login and that isn't what I want, I want the login screen but I want to login by double-clicking the face pic without inputting the password.

I remember it involves adding the following line to gdm.conf - LocalNoPasswordUsers=<username>
but there is something else that needs to be done and that's the part I can't remember.

linuxxed 04-03-2005 10:27 AM

I'm not sure but have you tried removing the password for that user by using "passwd -d"?

fannymites 04-03-2005 09:59 PM

I didn't think of that, I just installed, set up the password as instructed and left it at that, it never crossed my mind to remove it.
The user in question is myself and it is the only user account (other than root) which the missus and myself both use.
Could removing the password cause any problems at all in the future for any reason?

Brian1 04-03-2005 10:18 PM

If you are running pam then I think you need to make a change to /etc/pam.d/gdm-autologin. Probably change require to optional. May need to make changes to other files for gdm here as well.

Never done this type of setup. I only made changes to other items here in the pam.d section like for printer control and a few others so password is not required.

Brian1
" Google the Linux way @ http://www.google.com/linux "


All times are GMT -5. The time now is 05:30 AM.