This forum has been archived. All content is frozen. Please use KDE Discuss instead.

how I can do autologin?

Tags: None
(comma "," separated)
lonely
Registered Member
Posts
2
Karma
0

how I can do autologin?

Sun Jul 12, 2009 3:30 am
hi there,
I tried this...
Code: Select all
sed -i 's/^.*AutoLoginEnable.*$/AutoLoginEnable=true/' /etc/kde3/kdm/kdmrc
sed -i 's/^.*AutoLoginUser.*$/AutoLoginUser="myuser"/' /etc/kde3/kdm/kdmrc
sed -i 's/^.*AutoLoginPass.*$/AutoLoginPass="mypass"/' /etc/kde3/kdm/kdmrc
sed -i 's/^.*AutoLoginAgain.*$/AutoLoginAgain=true/' /etc/kde3/kdm/kdmrc

When my laptop was rebuted kdm said:"filed to login". But if I put mypass by hand password is valid and I'm logined into system. What's wrong with auto login?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: how I can do autologin?

Sun Jul 12, 2009 7:31 am
The password likely has to be hashed in some way for security reasons, since that file is likely globally readable.

Which distribution are you using?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
lonely
Registered Member
Posts
2
Karma
0

Re: how I can do autologin?

Sun Jul 12, 2009 9:00 am
I'm use debian. i know, password hashed there /etc/shadow, but what's algorithm of hashe must be use in kdmrc? I can adjusting it without GUI? Because I make live-distro and customizing from cli most prefer to me.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: how I can do autologin?

Sun Jul 12, 2009 10:54 am
You will need to either use the Login Manager KCM through KControl to enable this, or read its source code to determine what method it uses to encrypt the password.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar