rename user via PAM module?

Thorsten Kukuk kukuk at suse.de
Tue Jun 14 18:33:15 UTC 2011


On Tue, Jun 14, Riccardo Murri wrote:

> Hello,
> 
> Is there a PAM module to remap the username according to some simple
> configuration file?  I'm thinking of reading a simple plaintext file:
> 
>   string1: string2
> 
> and would set PAM_USER to "string2" if it was "string1".  My reading
> of the PAM module interface docs are that this case is supported but I
> cannot find any module implementing this.

Yes, this is supported by the interface. In the old sourceforge.net
tracker you should be able to find a patch for a very old implementation,
but that never made it into Linux-PAM because of lack of interest.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)




More information about the Pam-list mailing list