Re: Passwords on Linux systems(for all flavors)

Glynn Clements <[email protected]>
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.