On Wed, Nov 07, 2012 at 05:58:59PM +0100, Karel Zak wrote: > > Hi Werner, > > agetty in get_logname() interprets '@' and '#' as a special chars > (see man page or the code for more details). > > The problem is that we already have crazy users who want to use AD > (access domain) usernames in format user@domain on serial line or > console. > > Yeah, I know that char '@' is not between allowed username chars > (POSIX 3.429), but do we really need to support the spacial > interpretation of the @ and # chars? > > I think it's old confusing legacy. Objections? Hmmm ... AFAICR the '@' symbols can be used to set the kill character and the '#' can be used to set the erase character. But for a virtual console terminal those characters those are normally not used. Only connections at dialin as well connections over some serial lines with hardware/software line routers/terminal servers between this could be problem. On big irons such serial lines are used even in the present days. Maybe it would be worth to introduce an further option to support access domains in user names ... or the other way around to support '@' and '#' as special characters used for software escapes on oldish connection lines. Werner http://www.linusakesson.net/programming/tty/ http://digilander.libero.it/robang/rubrica/serial.htm -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html