- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Help with switch user
- From: jam <jam@xxxxxxxxx>
- Date: Mon, 9 Nov 2009 08:57:17 +0800
- User-agent: KMail/1.10.3 (Linux/2.6.27.37-0.1-default; KDE/4.1.3; x86_64; ; )
On Monday 09 November 2009 08:12:14 you wrote:
> On Sat, Nov 07, 2009 at 01:09:00PM +0800, jam wrote:
> > Hi
> > on the various distros log-out-switch-user prompts for a password as the
> > second user logs out and the first user is exposed again. Tried for weeks
> > to disable this anal fettish but I cannot find where. Help please,
> > anybody ... (This is just like lock on screen saver, but that is easy to
> > disable) James
> > PS please no naive lectures about how I don't want to do this, I do!
>
> To summarise, you want anyone to login with no password required?
> (except maybe root)
>
> I think the best place to do this is PAM. You could set it so they
> still need passwords via ssh but not the console gui (gdm/kdm).
Actually THAT is easy, this is much harder:
UserA logs in (auto or with password)
UserB comes along so UserA does logout->switch user
UserB logs in to the new session, does their thing and logs out
UserA's session is now exposed behind a password dialog. This gives her the
sh-one-ts as userB could have done <ctrl><alt>F7 to browse her session before
the logout, but now needs to enter her password to access her (UserA)'s
original session. This looks exactly like the screensaver password dialog but
I cannot find how sessionA is locked when switching to sessionB.
James