Subject: Re: long usernames
To: <>
From: David Laight <>
List: tech-kern
Date: 02/14/2003 09:52:06
On Fri, Feb 14, 2003 at 09:46:12AM +0100, Martin Husemann wrote:
> On Thu, Feb 13, 2003 at 12:05:54PM +0000, David Laight wrote:
> > login: setlogin(usersixteenchars) failure: Invalid argument
> > login: setlogin(userfifteenchar) failure: Invalid argument
> Excuse my ignorance, but isn't using a string here pretty stupid?
> If I'd have to design a setlogin/getlogin API I'd set the user id and
> do the mapping in user space.
> (Even if that cause misinterpretations in non 1:1 mapping cases)

I think the actual purpose of this is to save the name of the user,
in the specific case where there are multiple usernames with the
same uid.


David Laight: