- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Allowed password characters
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
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
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
тАО07-08-2004 09:48 AM
тАО07-08-2004 09:48 AM
Allowed password characters
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 10:00 AM
тАО07-08-2004 10:00 AM
Re: Allowed password characters
" : ; > < = - + % etc
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 10:08 AM
тАО07-08-2004 10:08 AM
Re: Allowed password characters
\ ! @ # [space]
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 10:17 AM
тАО07-08-2004 10:17 AM
Re: Allowed password characters
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=81066
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 10:36 AM
тАО07-08-2004 10:36 AM
Re: Allowed password characters
I came across only two characters # and @ that give trouble most of the times. ! is my favorite character in fact.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 11:38 AM
тАО07-08-2004 11:38 AM
Re: Allowed password characters
I'll back up my compadre Sri.
The only 2 chars that are definitely no-no are # and @ that I've seen.
But a lot depends on the ttytype your terminal (emulation) reports.
One thing to consider is a term like an old 3270 or 5251 IBM type that had a cent sign key.
How in the heck are you gonna do that on a PC or 'NIX terminal?
I guess you could *try* the ole alt-3 digit off the numeric pad.....but I don't think it's even in the ASCII chart.
Cheers,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 11:41 AM
тАО07-08-2004 11:41 AM
Re: Allowed password characters
unencrypted passwords consists of characters from the 7-bit US-ASCII character set with letters from the English alphabet.
with that said some characters have special meaning to drivers, the kernel, and the shell. which means you can create passwords from characters that are very hard to type in, i.e. backspace or newline. Under normal circumstances these particular characters have special meaning to your termial driver that causes your input to be modified such that they never get recognized as input.
so it is best to avoid any characters that might have special meaning to your terminal driver or the shell. of these, @,#, backspace, and newline are the big ones.
you have 128 characters to use and only a handful to avoid. So, if you're having a problem with any just avoid it. there are plenty of others to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 11:50 AM
тАО07-08-2004 11:50 AM
Re: Allowed password characters
I respectfully disagree.
We use ! - _ ( ) . , *all* the time.
Haven't tried % & $ ~ < > ? + = ' ` , [ ] { } but I see no reason why we couldn't.
The key is that # @ are used *quite* frequently in "standard" terminal defs.
My 2 cents (DAMN where's that key....),
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 01:03 PM
тАО07-08-2004 01:03 PM
Re: Allowed password characters
I don't think we disagree. You probably just misread my reply.
We use ! - _ ( ) . , *all* the time.
Haven't tried % & $ ~ < > ? + = ' ` , [ ] { } but I see no reason why we couldn't.
what i said is the unencrypted password (what you type in), consists of characters from the 7-bit US-ASCII character set with letters from the English alphabet. Those are all part of the 7-bit US-ASCII character set and are valid unencrypted password characters.
I also said the encrypted passwords (what is in the password field of the password file), the only valid characters are upper and lower case letters [A-Z,a-z], the digits [0-9], and . and /. using shell meta charcaters as part of the password field of the password file will not work, i.e. the practice of putting a star, "*", in the password file, the user will no longer be able to login.
as far as avoiding shell meta characters, i just take the position that there are so many terminal emulators, different user abilities, application programming, etc. that if a character doesn't work it is probably going to be one of those. And, it usually isn't worth the time to find out why it doesn't work. just don't use those that don't work.
And, i do think special characters should be used frequently for passwords. you should know which ones do work and persuade users to use them and educate them in ways to use them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 01:25 PM
тАО07-08-2004 01:25 PM
Re: Allowed password characters
Agreed & point well taken,
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2004 02:04 AM
тАО07-09-2004 02:04 AM
Re: Allowed password characters
The reason is that before you login, the tty settings for terminals (and pseudo terminals such as telnet, etc) are determined by the driver, so # means backspace and @ means cancel line. To see what your tty device file settings are, use:
stty -a < /dev/ttyconf
This is a special device file recently added to HP-UX that 'remembers' a global change to the tty settings. You can override the default settings with something like this:
/sbin/stty erase "^H" kill "^U" < /dec/ttyconf
Now when you login, the backspace key will work and # can be a password character. The reason that # is not backspace after you login is that /etc/profile or $HOME/.profile changes the values during login.
So what about other characters like ' or } or even ?. Well, the answer is: they work fine, just keep them 'protected' or escaped from your current environment. All that password does when you change the password is to pass your string to the encryption function (see crypt and makekey) and out comes an encrypted string. When prompted for a password, whatever you type (after it is processed by your current tty settings) is encrypted and the result compared to the entry in the passwd file.
All that said, it is a very bad idea to use every character on the keyboard, especially if other computers accept strange characters like ctrl characters. This is where single-logon authentication nfalls apart. The administrator must limit the acceptable password characters to a set common to all environments. Some system may be happy with ctrl-G in a password, others not. You can't go wrong with alphanumerics only.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2004 03:30 AM
тАО07-09-2004 03:30 AM