LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 03-12-2011, 09:29 PM   #1
nokangaroo
Member
 
Registered: Nov 2009
Posts: 140

Rep: Reputation: 23
Switch users without entering password


Is it possible to switch users in Debian without entering a password, as in Ubuntu Maverick?
I already tried adding a nopasswdlogin group but it did not work, even though the "don't ask for password on login" entry in the login manager is no longer greyed out. Replacing gdm3 with gdm also did not work.
 
Old 03-12-2011, 09:44 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,243

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by nokangaroo View Post
Is it possible to switch users in Debian without entering a password, as in Ubuntu Maverick?
I certainly hope not. It goes against all the principles of safe HEX.
 
Old 03-13-2011, 01:09 AM   #3
nokangaroo
Member
 
Registered: Nov 2009
Posts: 140

Original Poster
Rep: Reputation: 23
Update: I find that if I add the line

auth sufficient pam_succeed_if.so user ingroup nopasswdlogin

to /etc/pam.d/gdm [not gdm3] I can log in to my secondary account without password, but I still get the login screen - isn't the whole point of fast user switching to avoid this? This seems to be a bug in indicator-applet-session (quite an old one apparently; I am not the only one having problems with it). The nopasswdlogin group does not exist by default, but I created it. And I don't see how this should be a security risk - this account is a desktop account without sudo rights, and belongs to me; no one else has access to my computer - unless they break into my apartment, but then passwords would not be too much use anyway... (The password exists, but is not asked at login. This is no different from automatic login).

I admit though, this problem is not too important.
 
Old 03-13-2011, 06:02 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
I wonder why most people think that nobody has access to their machines, when they connect their machines to the net.
 
Old 03-13-2011, 09:34 AM   #5
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,245

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
[OT] Switch users without entering password

Some users block incomming connections on the firewall or just do not start services like ssh or ftp and they can afford to use automatic login. There is always a battle between comfort and security. Now I understand why some of these programs disallow loging for users without passwords by default.
 
Old 03-13-2011, 03:21 PM   #6
nokangaroo
Member
 
Registered: Nov 2009
Posts: 140

Original Poster
Rep: Reputation: 23
Okay, I'll take the bait. I have no sensitive information on my computer - I use Linux for experimenting and learning, and I have already learned a bit through Debian (see my sudo thread - might be interesting for Ubuntu too). As for the indicator applet and Ubuntu-style session switching, there does not seem to be any solution, so we might as well close this thread.
 
  


Reply

Tags
debian, gdm, gdm3, login


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
entering without root password shanecaldeiro Linux - Newbie 8 05-29-2009 10:52 AM
Tntrepid does not allow entering any password jdtiede Ubuntu 1 01-18-2009 11:18 PM
How Can I Start Synaptic Without Entering A Password? taurusx5 Linux - Software 2 10-02-2008 02:22 AM
Entering Password with a Space via CLI username132 Linux - Software 2 04-01-2006 10:57 PM
Sunbird - entering username and password hamish Linux - Software 1 06-15-2005 11:14 AM


All times are GMT -5. The time now is 01:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration