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

Re: ? Valid login character set ?



On Tue, Jan 29, 2002 at 12:48:09AM +0000, Julián Muñoz Domínguez wrote:

> I have got the "fabulous" idea to create some logins using ":", and pam
> refuses them, even before to pass them to the corresponding
> authentication module.

> I need a kind of escape character (non alphanumeric) in the login, for and
> application who uses pam.

> So I would like to know: what is the valid character set for login ?

> I don't find anything specifying it.

I don't know that there is a canonical set of characters allowed in 
usernames; but the ':' character is absolutely forbidden, because it's 
the delimiter character in /etc/passwd.

Other punctuation characters that you could use might be the period (.), 
the comma (,), or the percent sign (%)...  These should all be valid, 
and they're probably the ones that will give you the least problems when 
using them in a shell.

BTW -- what are you trying to escape with this?

Steve Langasek
postmodern programmer

Attachment: pgp00008.pgp
Description: PGP signature


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