It occasionally happens that I have typed a space at the start of the login name, which then fails to login saying "Password incorrect" and I then find myself typing the password several times until I notice that there's a tiny space at the start of the login name, so I switch back to that and cancel the space, which makes it clear the password which I have to type again.
Assuming I'm not the only one in the world who sometimes wakes up a sleeping computer by poking space, I think trimming space(s) from the start (and presumably the end too) of the username would occasionally save some people a little time and surprise. After all, Unix usernames cannot start or end with space.
It occasionally happens that I have typed a space at the start of the login name, which then fails to login saying "Password incorrect" and I then find myself typing the password several times until I notice that there's a tiny space at the start of the login name, so I switch back to that and cancel the space, which makes it clear the password which I have to type again.
Assuming I'm not the only one in the world who sometimes wakes up a sleeping computer by poking space, I think trimming space(s) from the start (and presumably the end too) of the username would occasionally save some people a little time and surprise. After all, Unix usernames cannot start or end with space.