On Wed, 15 Jun 2011 12:14:12 +0200 Tomas Mraz <tmraz@xxxxxxxxxx> wrote: > This perhaps works for you somehow because you're not doing arbitrary > mapping of user names but just canonicalize them through getpwnam_r(). > But there is really no code in openssh that would adjust the user name > it obtained from the connection in its internal variables that store > it and that's later used in other calls to system. > > Also see https://bugzilla.mindrot.org/show_bug.cgi?id=1215 Thanks. And the very first answer already explained why it works for us: Apparently OpenSSH sshd gets its information through getpwnam_r as well, so it ends up with the very same information as I pass to PAM, so both are in agreement then. Good for my usage scenario. Not so good for others though. Wolfgang _______________________________________________ Pam-list mailing list Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list