HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: password restrictions on the console
Operating System - HP-UX
1834481
Members
2938
Online
110067
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
01-28-2009 04:02 PM
01-28-2009 04:02 PM
We have systems running 11i v2 and v3 in trusted mode (TCB is not enabled). We have implemented the shadow password file on all of these systems and have set minimum characteristics for passwords (min_len=8, min_upper=1, min_lower=1, min_digits=1, min_special=1). I have set an account password that meets all the above minimum values and am able to log into a terminal session to those servers with that password. The pw I assigned to the account is "zaq1@WSX" (without the quotes). But when I try to log into the console with the account and this pw, the login fails. If I change the pw to Hello!23 then I can log into the console with that account.
Im not aware of any kind of restrictions for passwords with logging into the console, but it sure looks like there are some. I don't even know what I should be looking for at this point to figure out why one password will work and another will not - only at the console. We do have the /etc/securetty file in place and it contains one entry only - console, but as far as I understand the concept of the file - it only effects where root can sign in to.
Any ideas on what I can look at, or check into?
Im not aware of any kind of restrictions for passwords with logging into the console, but it sure looks like there are some. I don't even know what I should be looking for at this point to figure out why one password will work and another will not - only at the console. We do have the /etc/securetty file in place and it contains one entry only - console, but as far as I understand the concept of the file - it only effects where root can sign in to.
Any ideas on what I can look at, or check into?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2009 07:27 PM
01-28-2009 07:27 PM
Solution
Very old problem with HP-UX. Avoid using @ or # in passwords. The default stty setting for @ is to cancel the current input line while the # character erases the previous character. This has been true for HP-UX since the mid 1980's. Several years ago, a special device file was created (/dev/ttyconf) which can be used to set (some) new default values. This command:
stty erase "^H" kill "^U" intr "^C" eof "^D" < /dev/ttyconf
And now all tty and pty devices will have the 'expected' settings. NOTE: the /dev/console device and any already-opened devices will not inherit the new login settings until a reboot. You'll need to create a start script in /sbin/init.d to set the stty values before the console is opened.
Bill Hassell, sysadmin
stty erase "^H" kill "^U" intr "^C" eof "^D" < /dev/ttyconf
And now all tty and pty devices will have the 'expected' settings. NOTE: the /dev/console device and any already-opened devices will not inherit the new login settings until a reboot. You'll need to create a start script in /sbin/init.d to set the stty values before the console is opened.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2009 09:36 AM
02-20-2009 09:36 AM
Re: password restrictions on the console
Thank you for the reply. That is what I was looking for.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP