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

Re: Why ROOT all in uppercase



On Wed, Sep 03, 2003 at 04:45:31PM +0100, jserrachinha wrote:
> if i login with ROOT (UPPERCASE in ttyx)
> and password, the chars are all in uppercase.
> Is this a feature!?

Once upon a time, a long, long time ago, in a faraway land (in the days
of the teletype) not all terminals were capable of lower-case
characters.  The age of the punched cards, punched tape and when CRTs
were merely "some new-fangled technology"...

So when you try to log in with a all-uppercase username, it assumes that
you have one of those ancient (carbon-14-dateable) terminals.

IIRC, you *should* be able to undo the effects by:

    $ stty -olcuc -iuclc
which will probably appear on-screen as:
    $ STTY -OLCUC -IUCLC
:-)

I doubt whether there is any need for that feature nowadays - except
perhaps to let people log in even though they suffer from "caps-lock
syndrome"...

HTH

-- 
Karl E. Jørgensen
karl@jorgensen.com   http://karl.jorgensen.com
I'm currently out trying to find myself. If I should get back before I
return, please keep me here.

Attachment: pgp7kpp4sln7_.pgp
Description: PGP signature


Reply to: