Roland Mainz <[email protected]> wrote:

> I would give this case (if I could) a +1 with two minor changes:
> 1. "useradd" should clamp the string to 32bytes but _validate_ that
> the input username doesn't get any multibyte characters cut-off in the
> middle.

As we are in the 21st century, we could even support longer names.
The 32 char limit is from POSIX.1-1988.

> 2. "useradd" should print a warning if non-ASCII characters (e.g.
> umlauts in ISO 8859-1/15) or multibyte characters are used unless a
> specific option is provided (e.g. -W)
> This is easy to do... if you don't have time I can volunteer to do
> this modification.

POSIX explicitly permits non-US-ascii login names.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to