sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
devent
Post subject: Login without a password  PostPosted: Jul 23, 2008 - 05:43 AM



Joined: Nov 22, 2007
Posts: 28

Status: Offline
Hallo, I have here a Notebook running sidux as a media-center. It has normally only a mouse attached and I can't use the notebooks keyboard, because the lid is always closed. I use for keyboard input a virtual keyboard in kde.

But how can I login after I restarted/or suspend/reboot the notebook?

I can use autologin, but I can also use an extra account without a password. I prefer the later method. But how can I add a user with an empty password?
 
 View user's profile Send private message  
Reply with quote Back to top
michaaa62
Post subject: Login without a password  PostPosted: Jul 23, 2008 - 05:53 AM



Joined: Feb 24, 2007
Posts: 679
Location: Berlin, Germany
Status: Offline
You could configure that in kcontrol, go to System Administration, choose Login Manager.
In Administrator Mode you could on the Convinience tab fine-tune the logins.
As you can not have passwordless account you will have to select the new user to login without being asked for the password. Figure out for your needs if Auto-Login is also an option for what you want to achieve.

greetz Micha

_________________
http://sidux.com/PNphpBB2-viewtopic-t-2403.html
 
 View user's profile Send private message  
Reply with quote Back to top
devent
Post subject: RE: Login without a password  PostPosted: Jul 24, 2008 - 12:12 PM



Joined: Nov 22, 2007
Posts: 28

Status: Offline
I can't use passwordless accounts in linux?
 
 View user's profile Send private message  
Reply with quote Back to top
ModestUser
Post subject: RE: Login without a password  PostPosted: Jul 24, 2008 - 12:25 PM



Joined: Jan 07, 2008
Posts: 298

Status: Offline
passwd -d <user> deletes the password.
 
 View user's profile Send private message  
Reply with quote Back to top
hubi
Post subject: Re: RE: Login without a password  PostPosted: Jul 24, 2008 - 12:41 PM



Joined: Nov 30, 2006
Posts: 3480
Location: Budapest
Status: Offline
devent wrote:
I can't use passwordless accounts in linux?
From "man adduser"
Code:
--disabled-login
              Do  not  run passwd to set the password.  The user won’t be able
              to use her account until the password is set.

       --disabled-password
              Like --disabled-login, but logins are still possible (for  exam‐
              ple using SSH RSA keys) but not using password authentication.
But you can delete a password as root:
Code:
passwd -d <username>
KDM does not like it, so you have to play with that (as root). But you can log in without X and then start X.

But in your case you have to play with autologin for KDM or totally hack Debian default settings for your need, I suppose.

hubi

_________________
Bonitas stultitiaque sodales sunt.


Last edited by hubi on Jul 24, 2008 - 12:45 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
ModestUser
Post subject: RE: Re: RE: Login without a password  PostPosted: Jul 24, 2008 - 12:44 PM



Joined: Jan 07, 2008
Posts: 298

Status: Offline
I just checked passwd -d and KDM before posting and it (surprisingly) worked here. I just entered the login and chose no password and it logged me in.
 
 View user's profile Send private message  
Reply with quote Back to top
hubi
Post subject: RE: Re: RE: Login without a password  PostPosted: Jul 24, 2008 - 12:48 PM



Joined: Nov 30, 2006
Posts: 3480
Location: Budapest
Status: Offline
ModestUser,

that's interesting. I created a test account here as well, disabled the password, and KDM gave me a "login failed". I tweaked my KDM login so that I am logged in automatically with my normal account (and deactivate it when I am not at home).

devent should just check it how it works for him.

hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio