- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "@" character not accepted by login and password p...
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
тАО06-25-2003 07:10 AM
тАО06-25-2003 07:10 AM
Our DBA's had an interesting situation appear yesterday. A couple of passwords expired so they were prompted to change them and enter the old password. Everytime they entered their old password they were welcomed with a "sorry" and disconnected.
System Info:
OS : 11.0, 10.2
SSH 3.2
Trusted Host
Problem also happens on workstations without trusted host or ssh installed.
The DBAs use @ symbols in their passwords so I thought it may be a keyboard mapping problem, it wasn't, as far as I could tell. Sending a hard coded password from the client side worked, because the system allowed them to log in and change their passwords. The problem seems to be happening on the server side when a login or password prompt is used.
Has anyone ever experienced this and if you did, what is the fix? By the way, the # symbol seems to be interpreted as a backspace as well. This always happens at the "login:" prompt (and probably the "password:").
BTW, this problem does not happen on our Sun servers.
Thanks for any help,
Ant.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 07:13 AM
тАО06-25-2003 07:13 AM
Re: "@" character not accepted by login and password prompt
What has changed?
Could they do it in the past?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 07:16 AM
тАО06-25-2003 07:16 AM
Re: "@" character not accepted by login and password prompt
I did have an experience with "#" in a password. I used "\" without quotes to escape it. Then I was able to login or change a password.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 07:19 AM
тАО06-25-2003 07:19 AM
Re: "@" character not accepted by login and password prompt
From man passwd:
"Avoid password characters which have special meaning to the tty
driver, such as # (erase) and @ (kill). You may not be able to login
with these characters."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 07:21 AM
тАО06-25-2003 07:21 AM
Re: "@" character not accepted by login and password prompt
Than man pages for 'getty' specifically note that "it is not possible to log in by means of
getty and type a #, @, /, !, _, backspace, ^U, ^D, or & as part of your login name or arguments." These characters have special meaning.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 07:24 AM
тАО06-25-2003 07:24 AM
Re: "@" character not accepted by login and password prompt
unless the underlying shell from which you are accessing the box has the "stty -kill" set to a different one, this (@) will by default kill the line.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 08:28 AM
тАО06-25-2003 08:28 AM
Re: "@" character not accepted by login and password prompt
You can use these in a password when connecting via ssh. This raises some interesting problems when I changed a user's password, and they discovered that they could not log in. I was connecting vai openssh, while they were using telnet.
I would prefer to see this fixed in hp-ux, since it does restrict he character set available for buiulding passwords.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 08:34 AM
тАО06-25-2003 08:34 AM
Re: "@" character not accepted by login and password prompt
Hardly worth it for this though, I'd just stop using special characters.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 09:37 AM
тАО06-25-2003 09:37 AM
SolutionHowever, you can change every login (serial, modem, telnet, etc) by using a new device file and this construct:
stty erase "^H" < /dev/ttyconf
This will set the driver option for all connections prior to login. It takes effect immediately except for the serial console port which will require a reboot. You can add other stty values such as:
/sbin/stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff < /dev/ttyconf
This works on current versions of HP-UX with appropriate patches.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 10:03 AM
тАО06-25-2003 10:03 AM
Re: "@" character not accepted by login and password prompt
I will take note of the solutions and see what is the best implementation.
I agree that the HPUX platform should allow ALL special characters when creating passwords as we are trying to encourage users to be a bit more creative in password choices.
Thanks again for all the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 05:18 AM
тАО06-26-2003 05:18 AM
Re: "@" character not accepted by login and password prompt
Since this problem happens at login, you would be using a different TERM setting than after they log in to change passwd (listed in the system or users profile), since at this point, that hasn't been read.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 06:16 AM
тАО06-26-2003 06:16 AM
Re: "@" character not accepted by login and password prompt
Bill Hassell, sysadmin