Re: pam_open_session returns PAM_SUCCESS but no pam session?

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


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 Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)

Pam-list mailing list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux