- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bad root password
Operating System - HP-UX
1753821
Members
8975
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО06-13-2007 06:58 PM
тАО06-13-2007 06:58 PM
Re: Bad root password
Well, for the last N decades, I've never used the delete key. There was a delete char key on HP terminals. The del key always caused nasty things to happen (bad parity too?), so I never used it.
So when I'm on a PC, I don't know I can use that key and I so instead look for some menu or button I can mouse. :-(
So when I'm on a PC, I don't know I can use that key and I so instead look for some menu or button I can mouse. :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 12:51 AM
тАО06-14-2007 12:51 AM
Re: Bad root password
OK, the TTY term refers to the classic ASR33 and ASR35 teletypes that were the only devices available back in the 50's and 60's as a computer console. Yes, both ASR models had a backspace key but as with 100% of all paper devices, the backspace key could *NOT* erase any character -- the ink is still on the paper. The only common use of the backspace key is to create hardcopy enhancements, specifically BOLD characters, by backspacing and retying the character several times, making it darker on the paper. This explains why looking at raw man pages will show lots of backspace characters.
So as a totally practical matter, erasing a character had to be visible and thus, you type a wrong character, then # to erase it and then the correct character -- which is how the default stty setting works in HP-UX.
The # character was picked because the RUBOUT character would punch a complete set of holes in the paper tape, effectively rubbing-out that character. Since # looks sort of like a bunch of rubouts on paper tape, that became the convention.
Starting with a patch at 11.00, a new device file is now available for changing selected default stty values, specifically kill and erase characters. The device file is /dev/ttyconf and works like this:
stty erase "^H" kill "^U" intr "^C" < /dev/ttyconf
Just issue this command and now all new terminal connections (except the console) will be set to the new defaults. And you can set the default value as a startup script so that it fixes the console at the next reboot (the console is always open when HP-UX is running). Standard /etc/profile and .profile files have this already but these profiles do not affect the login settings. Use ttyconf to fix the login/password issues.
As to why HP still continues to keep these truly archaic settings (also including 300 baud as the default serial rate), some questions are best left unanswered...just use the fix mentioned above.
More trivia: HERE-IS is called the answer-back key and in the old days of teletypes, the 'network' run mostly by Western Union, would require identifying that the remote terminal is the correct TTY. The local operator would issue a query to trigger the answer-back drum, a mechanical cylinder that had the tty's identification string. To trigger the drum manually, the operator would push the HERE-IS key. This is how HP's nifty terminal ID program works. Glass terminals adopted most of the tty features including answer-back and the program ttytype sends out the 3 major categories of answer-back characters, waiting for a second to see if anything is sent back. For instance, an HP terminal will respond to ESC ? at which point there are other sequences to obtain more details.
(Oh, I read about all this in a museum -- I'm much too young to have ever touched these old things...)
Bill Hassell, sysadmin
So as a totally practical matter, erasing a character had to be visible and thus, you type a wrong character, then # to erase it and then the correct character -- which is how the default stty setting works in HP-UX.
The # character was picked because the RUBOUT character would punch a complete set of holes in the paper tape, effectively rubbing-out that character. Since # looks sort of like a bunch of rubouts on paper tape, that became the convention.
Starting with a patch at 11.00, a new device file is now available for changing selected default stty values, specifically kill and erase characters. The device file is /dev/ttyconf and works like this:
stty erase "^H" kill "^U" intr "^C" < /dev/ttyconf
Just issue this command and now all new terminal connections (except the console) will be set to the new defaults. And you can set the default value as a startup script so that it fixes the console at the next reboot (the console is always open when HP-UX is running). Standard /etc/profile and .profile files have this already but these profiles do not affect the login settings. Use ttyconf to fix the login/password issues.
As to why HP still continues to keep these truly archaic settings (also including 300 baud as the default serial rate), some questions are best left unanswered...just use the fix mentioned above.
More trivia: HERE-IS is called the answer-back key and in the old days of teletypes, the 'network' run mostly by Western Union, would require identifying that the remote terminal is the correct TTY. The local operator would issue a query to trigger the answer-back drum, a mechanical cylinder that had the tty's identification string. To trigger the drum manually, the operator would push the HERE-IS key. This is how HP's nifty terminal ID program works. Glass terminals adopted most of the tty features including answer-back and the program ttytype sends out the 3 major categories of answer-back characters, waiting for a second to see if anything is sent back. For instance, an HP terminal will respond to ESC ? at which point there are other sequences to obtain more details.
(Oh, I read about all this in a museum -- I'm much too young to have ever touched these old things...)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 01:26 AM
тАО06-14-2007 01:26 AM
Re: Bad root password
The HERE-IS mechanism can be seen in the
lower left of:
http://highgate.comm.sfu.ca/~djg/htdocs/asr33/pics/main_back.shtml?large
As I recall, the programming was done by
selectively breaking off those little
finger-like cams on the phenolic drum.
Better if you did it right the first time.
NVRAM is easier to change.
lower left of:
http://highgate.comm.sfu.ca/~djg/htdocs/asr33/pics/main_back.shtml?large
As I recall, the programming was done by
selectively breaking off those little
finger-like cams on the phenolic drum.
Better if you did it right the first time.
NVRAM is easier to change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 02:29 AM
тАО06-14-2007 02:29 AM
Re: Bad root password
Gee guys, you're making my all misty-eyed w/ sentiment. I wonder what happened to
a) my old DEC-Writer (with the 1200 baud conversion thank-you-very-much)
b) boot tape for above on the V77-600 Sperry Univac
and my drum storage.
a) my old DEC-Writer (with the 1200 baud conversion thank-you-very-much)
b) boot tape for above on the V77-600 Sperry Univac
and my drum storage.
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP