Re: rename user via PAM module?

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


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

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.


Pam-list mailing list

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

  Powered by Linux