[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: pam_open_session returns PAM_SUCCESS but no pam session?



On Sun, Dec 05, Henk te Sligte wrote:

> I figured from the examples, xsh.c would spawn a shell with the new
> logged in user, because it got the credentials from PAM. Why else is
> there the system() call in xsh.c (From the examples, in the release
> build)?

Yes, xsh spawns a new shell, but not with the new logged
in user. xsh is not su or a su replacement.
xsh does not login at all, it does _user authentication_.
That's all.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]