You are not logged in.

#1 2008-08-18 15:33:48

RAH
Member
Registered: 2008-06-20
Posts: 205

[SOLVED] Passwordless Login

Hello,

How do I make user accounts passwordless?  Or perhaps blank?

Thanks.

Last edited by RAH (2008-08-20 09:29:19)

Offline

#2 2008-08-18 15:42:18

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED] Passwordless Login

You should read the manual... (man passwd), what you're looking for is

passwd -d <username>

Offline

#3 2008-08-18 15:52:18

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Passwordless Login

Ramses de Norre wrote:

You should read the manual... (man passwd), what you're looking for is

passwd -d <username>

I've tried this but now I can't login to Gnome.

Offline

#4 2008-08-18 15:57:42

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] Passwordless Login

What you want is probably auto-login. GDM lets you automatically log in given user on boot, bypassing the password.

Offline

#5 2008-08-18 15:58:28

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Passwordless Login

The issue is - there's two users on this particular machine.

Offline

#6 2008-08-18 17:15:54

kett
Member
Registered: 2008-04-21
Posts: 104

Re: [SOLVED] Passwordless Login

Add the line "PasswordRequired=false" to /etc/gdm/custom.conf under the [security] section.  I'm not using gdm at the moment, so I can't test it, but that should do the trick.

Offline

#7 2008-08-18 17:26:03

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Passwordless Login

Thanks - will try that.

I was also trying this - http://ubuntuforums.org/showthread.php?p=142273

Offline

#8 2008-08-18 17:50:22

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Passwordless Login

kett wrote:

Add the line "PasswordRequired=false" to /etc/gdm/custom.conf under the [security] section.  I'm not using gdm at the moment, so I can't test it, but that should do the trick.

This doesn't appear to have any affect.  I added a new user "test" with no password and couldn't login.

Offline

#9 2008-08-18 17:54:07

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED] Passwordless Login

RAH wrote:
Ramses de Norre wrote:

You should read the manual... (man passwd), what you're looking for is

passwd -d <username>

I've tried this but now I can't login to Gnome.

Sorry then, I didn't know you were talking about a login manager.. You can restore the previous state by running "passwd <username>".

Offline

#10 2008-08-19 11:21:19

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Passwordless Login

Can anyone else help with this?  Thanks.

Offline

#11 2008-08-19 12:22:14

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Offline

#12 2008-08-19 12:25:06

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Passwordless Login

Ashren wrote:

Perhaps this is what you're looking for:

http://wiki.archlinux.org/index.php/Start_X_at_boot

Sorry, that doesn't really help.

Offline

#13 2008-08-19 12:30:18

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] Passwordless Login

Hmm.. I guess I missed that part with the two users.

Offline

#14 2008-08-19 13:29:02

SlodS
Member
Registered: 2007-03-21
Posts: 20

Re: [SOLVED] Passwordless Login

Not so long ago, I found a solution. Not pretty, but works:
Edit /etc/shadow file, find a line responsible for an account you want to alter and replace encrypted password with following string: U6aMy0wojraho
For example, change:

username:$1$5x0jrV/s$9zI4fnuGfdgrz=Iz/oK99oBo:13727:0:99999:7:::

to:

username:U6aMy0wojraho:13727:0:99999:7:::

Works for me - GDM with passwordless guest gnome desktop.
All credits go to aysiu at http://ubuntuforums.org/showthread.php?t=513820 where I've found this trick.

Good Luck

Offline

#15 2008-08-20 09:29:00

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Passwordless Login

SlodS wrote:

Not so long ago, I found a solution. Not pretty, but works:
Edit /etc/shadow file, find a line responsible for an account you want to alter and replace encrypted password with following string: U6aMy0wojraho
For example, change:

username:$1$5x0jrV/s$9zI4fnuGfdgrz=Iz/oK99oBo:13727:0:99999:7:::

to:

username:U6aMy0wojraho:13727:0:99999:7:::

Works for me - GDM with passwordless guest gnome desktop.
All credits go to aysiu at http://ubuntuforums.org/showthread.php?t=513820 where I've found this trick.

Good Luck

Thanks, that's exactly what I've been looking for.

Offline

#16 2009-08-18 06:52:01

sherlock
Member
From: Yekaterinburg
Registered: 2009-08-14
Posts: 21

Re: [SOLVED] Passwordless Login

Ok, but what about sudo ? I still want to enter my password when changing some system settings.
It's something concerned PAM to let enter Gnome or KDE without entering password (even if it is not blank)
How this can be done in Arch ?

Offline

Board footer

Powered by FluxBB