Subject: Re: long usernames
To: David Laight <>
From: Martin Husemann <>
List: tech-kern
Date: 02/14/2003 09:46:12
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)