HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root locked out from console and su.
Operating System - HP-UX
1833758
Members
2733
Online
110063
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
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
08-14-2007 05:22 AM
08-14-2007 05:22 AM
root locked out from console and su.
We have a trusted HP-UX 11.23 rx1620 server, which we have configured sshd, tcpd. We cannot login to the server as root using SSH, telnet or on the console. One of the sysadmins has a window open on the server, so we can get in without taking the server to single user mode. The file /etc/securetty has been configured with console as the only entry in the file.Yesterday we could ssh into the system, today we cannot. I know it seems strange, but everything we try is blocked from allowing root into the server other than by using the window which we have open.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2007 07:06 AM
08-14-2007 07:06 AM
Re: root locked out from console and su.
What, if any, error messages are you getting when you try to connect?
Is the account just disabled? Have you tried enabling it?
To enable:
# /usr/lbin/modprpw -k root
To check its status:
# /usr/lbin/getprpw -m lockout root
If any of the digits in the numeric string are '1' then the account is locked. Check the getprpw man page, the lockout section, for an explanation of each column in the output.
Is the account just disabled? Have you tried enabling it?
To enable:
# /usr/lbin/modprpw -k root
To check its status:
# /usr/lbin/getprpw -m lockout root
If any of the digits in the numeric string are '1' then the account is locked. Check the getprpw man page, the lockout section, for an explanation of each column in the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2007 07:26 AM
08-14-2007 07:26 AM
Re: root locked out from console and su.
Shalom,
There is a root password file in /tcb
/tcb/auth/files/r
Null out the root password line, which should be obvious and root password access will be restored.
SEP
Where the heck has ITRC been all day?
There is a root password file in /tcb
/tcb/auth/files/r
Null out the root password line, which should be obvious and root password access will be restored.
SEP
Where the heck has ITRC been all day?
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
08-14-2007 11:00 PM
08-14-2007 11:00 PM
Re: root locked out from console and su.
The password did not meet the password requirements we had enabled so it would not allow us to login until we used the techniques that both of you provided. Thank you
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