Focus on Linux
Re: Passwords on Linux systems(for all flavors) Jul 11 2005 01:07PM
Dwayne Ghant (dghant temple edu) (1 replies)
Re: Passwords on Linux systems(for all flavors) Jul 11 2005 07:35PM
Glynn Clements (glynn gclements plus com)

Dwayne Ghant wrote:

> What about unicode charectors in passwords.

A password is a string of bytes, not characters.

As I wrote previously:

> However, if a password contains any control characters or non-ASCII
> (8-bit) characters, there may be problems entering it in certain
> contexts.

If a password contains non-ASCII characters, the encoding used when
entering a password must match the encoding which was used when the
password was set. E.g. if you set your password from a terminal which
uses ISO-8859-1, then try to enter it in a GDM dialog which uses
UTF-8, the password won't be recognised.

--
Glynn Clements <glynn (at) gclements.plus (dot) com [email concealed]>

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus