ldm strip spaces from username

Gavin McCullagh gmccullagh at gmail.com
Fri May 11 08:59:55 UTC 2007


Hi,

On Thu, 26 Apr 2007, Daniel Kahn Gillmor wrote:

> While it might be advisable to have ldm strip leading and trailing
> whitespace from the username, users should probably also be trained to
> hit "safe" keys (such as shift) to wake up a machine.

I agree, in principal.  However, I really don't have time or opportunity to
carry out this education.  I guess there might be something to be said for
them learning not to hit spacebar by making this mistake repeatedly but it
appears to me that they aren't.

I would compare this to warning users about caps lock key being on.  It
just saves support people time.  Maybe a "spaces are not allowed in
usernames" or "the username [  xxxxx] is illegal" warning might be a
compromise.  

I understand ldm is soon to give better feedback as to why logins failed.
ssh doesn't tell a client about this kind of thing though.

Gavin





More information about the edubuntu-devel mailing list