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

Re: Length of usernames



Brian Jones wrote:
> passwd: User not known to the underlying authentication module.
> 
> Is this really a problem with PAM?  The code for passwd
> was small and nothing but PAM library calls.  Is the problem
> fixed in newer versions of PAM which use the /etc/pam/service
> format configuration?

No. for example, try using the command 'logname'.

Basically, it is that getlogin() relies on the contents of the utmp file
and this only contains the first 8 characters of the user's name.  There are
patches for passwd floating around, there is also a patch for the getlogin()
function in libpwdb.

Cheers

Andrew
-- 
               Linux-PAM, libpwdb, Orange-Linux and Linux-GSS
                  http://parc.power.net/morgan/index.html



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