- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root account disabled ;-(
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
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
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
11-11-2003 07:25 PM
11-11-2003 07:25 PM
I've a BIG BIG problem!!
Yesterday I converted my HPUX 11 system to Trusted system.
Everything went fine...I'm testing the policy ecc ecc...but everything is ok.
This morning I inserted the wrong password for root (3 times) and the system told me the root account was disabled. I should ask to the administrator! ;-))))
How can I access the system?!?
Please...this is a very big problem!
Thanks in advance to anybody!
Emanuele
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 07:29 PM
11-11-2003 07:29 PM
Solutionto re-enale root, you must login at the console directly, that is allowed.
Other possibility:
- another account with super user capability to change password
- sudo, have you got it ?
- rlogin, have you got it ?
- ssh, have you got it ?
- reboot in single user and change password...
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 07:34 PM
11-11-2003 07:34 PM
Re: Root account disabled ;-(
I think the only way is reboot in single user mode.
When you go to trust system you have to:
1) Disable password aging immediatly
2) Keep a root session open.
I still do not know why but root user in trusted mode got disable after time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 07:46 PM
11-11-2003 07:46 PM
Re: Root account disabled ;-(
What solutions work depends entirely on your system setup.
If you need to reboot, try to shutdown as many applications with the users still working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 07:47 PM
11-11-2003 07:47 PM
Re: Root account disabled ;-(
The problem has been already resolved.
I run (!!) to CED, I made login from console, changed and rechanged back the pwd, et voila, evrything is fine!
Now, for future, can I ask something about the other possibilities you suggested me?
1) another account with super user capability to change password
You mean users with uid set to 0?
In this case I read it's not suggested to have many uid0 users...
In any case I don't have other superuser users.
2) sudo, have you got it ?
No...how is this possible?
Shouldn't I have this command???
3) rlogin, have you got it ?
Yes, it has been the first choice.
I login from another server, rlogin on the blocked server...but it gave me no access because of "disabled account"...
3) ssh, have you got it ?
No, but you're right...I'm planning to use it asap
4) reboot in single user and change password...
I was terrified...but I was thinking at this choice as the only one useful.
Fortunately...I was forgetting the console choice! ;-)
Thank you for the very quick answer...10 points for you! ;-)
quick and resolutive!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 07:54 PM
11-11-2003 07:54 PM
Re: Root account disabled ;-(
-1- yes another uid 0
-2- sudo
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.7p5/
-3- ssh
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
-3- rlogin in combination with a .rhosts file for one user.
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 08:01 PM
11-11-2003 08:01 PM
Re: Root account disabled ;-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 08:45 PM
11-11-2003 08:45 PM
Re: Root account disabled ;-(
Now you are in trusted, to be sure nobody deactivates the root account else then root by trying to log in add /etc/securetty file with the word console in it and give yourself and to people you trust the right to reboot the system (and more why not) through restricted sam (sam -r)so you can reboot in single user if needed...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 09:46 PM
11-11-2003 09:46 PM
Re: Root account disabled ;-(
I'm learning so much due to the forum!
I'm thinking to use /etc/securetty to block access tentative from other users than root.
where can I find docs about the securetty use?
Bye
Emanuele
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 09:50 PM
11-11-2003 09:50 PM
Re: Root account disabled ;-(
you can find information about the use of /etc/securetty in the man page for login.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2003 05:11 AM
11-12-2003 05:11 AM
Re: Root account disabled ;-(
Et voila
Good luck
P.S.
Dont forget sam -r...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2003 05:15 AM
11-12-2003 05:15 AM
Re: Root account disabled ;-(
Also see this command.
$1 is the user name.
echo "Rseetting user ${1}"
/usr/lbin/modprpw -l -k $1
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com