- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User logon with capitalized username
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 02:08 PM
02-09-2001 02:08 PM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 02:28 PM
02-09-2001 02:28 PM
Re: User logon with capitalized username
....jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 05:02 PM
02-09-2001 05:02 PM
Re: User logon with capitalized username
johndoe:ABC:111:111:J.D.,,,:/home/johndoe:/bin/ksh
Johndoe:ABC:111:111:J.D.,,,:/home/johndoe:/bin/ksh
However, this may lead to mysterious X problems later on down the road as the ID's are NOT the same, but share the UID and GID.
This means too that if Johndoe changes his password, then johndoe must also change!
I guess the best way to handle this is tell the users that UNIX is not Windows. Windows may not care about case, but then again who is more stable and secure :)
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 07:01 PM
02-09-2001 07:01 PM
Re: User logon with capitalized username
Later, with the advent of lowercase (a whopping 96 characters), Unix had to accomodate both the all caps logins as well as mixed case. Until recently, stty would be called to change the entire interaction to all UPPPERCASE. Try this:
stty olcuc
(man stty for further details) And to return to normal, use STTY -OLCUC (don't worry about the CapsLock key, the tty driver will handle it for you.
So if you logged on with an all caps login and password, HP-UX would assume that you cannot handle lowercase and everything would be displayed in UPPERCASE for the rest of the session. I think the last revision of HP-UX that supported this behavior was 7.0, maybe 8.0, circa late 80's early 90's.
So, that's the reasoning behind UPPERCASE login/passwords. And yes, it's really important to educate PeeCee users that UPPER and lower case characters are different. On all my PeeCees, I have physically removed the most useless key on the keyboard: CapsLock
WHY YOU ASK? HAVE YOU EVER TRIED TO READ EMAIL WRITTEN IN CAPS? OR WORSE, YOU'RE EDITING IN VI AND THE KEYS DON'T WORK RIGHT? Your typing teacher never told you to use the Caps Lock key, that's what the shift key is for. It's also a conversation piece on my laptop. Real computer users never use the Caps Lock key.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2001 01:13 AM
02-10-2001 01:13 AM
Re: User logon with capitalized username
Bill ir right. ALL CAPS EMAIL SOUNDS LIKE SHOUTING.
Even here with strange French/Belgian keyboards (AZERTY and not QWERTY) and the strange accented characters, users never use the KEYCAPS LOCK key.
All users access the HP servers from their PC desktops with Exceed and, once educated, never complain about Unix processing UPPERCASE/lowercase differently.
Best regards,
Dan
PS: not sure they will show up properly but here is the kind of keys we have: ????????? ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2001 09:46 AM
02-10-2001 09:46 AM
Re: User logon with capitalized username
Thanks,
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2001 10:22 AM
02-10-2001 10:22 AM
Solutionyou could try to reset the STTY flags in /etc/profile:
stty -olcuc -iuclc -xcase
The only problem left would be the password - those
users would need an ALL LOWERCASE password
(lower!) for in between entering username and start
of the shell everything is changed to lower case; hence
in case of a lowercase username (doing it 'right') they
could enter uppercase characters in their password
which then could NOT be reproduced when logging in
with an uppercase username.
I have not tried that, but it should work.
In case of real serial lines ('ttys') you could reset those
flags in the FINAL FLAGS part of the paragraph used
within "/etc/gettydefs"...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2001 02:39 PM
02-11-2001 02:39 PM
Re: User logon with capitalized username
In Unix, when you log on with all upper case, you are telling the system that your terminal does not recoginize lower case characters. To overcome this, issue the
stty -lcase
command from either /etc/profile (and /etc/login) or from each user's .profile (and .login). This command will unset the xcase, iuclc, and olcuc options of stty that get set by the system with a upper case login. As always, see the stty(1) man page for more information.
--Bruce