- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I have a problem with root.
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
07-11-2003 01:26 PM
07-11-2003 01:26 PM
I have a problem with root.
I can't use root, i revice this alarm when i try to conect or login to root.
HP-UX meissa B.11.11 U 9000/800 (ta)
login: root
Password:
Account is disabled - see Account Administrator
Wait for login exit: ..
Connection to host lost.
Can you help me to this problem.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:29 PM
07-11-2003 01:29 PM
Re: I have a problem with root.
Root can always log into the console, even if it is suspended. Assuming you have the correct password, log in there. That is all you need to do to get things going again, I automatically takes the 'block' off.
Hope it helps
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:32 PM
07-11-2003 01:32 PM
Re: I have a problem with root.
Looks like the root account is disabled on
the machine.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:32 PM
07-11-2003 01:32 PM
Re: I have a problem with root.
Your account is disabled. Go to the console and login from there. Once you are in activate the account using the command
/usr/lbin/modprpw -k root
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:33 PM
07-11-2003 01:33 PM
Re: I have a problem with root.
Hope it helps
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:33 PM
07-11-2003 01:33 PM
Re: I have a problem with root.
You should still be able to log on as root on the machine's console. On your HPUX version this will also unlock the account, so you won't have to do anything else to fix the problem.
To make sure, you can logon at the console and then run sam to check the status of the account.
Regards
Wouter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:35 PM
07-11-2003 01:35 PM
Re: I have a problem with root.
but what i need to do to root works again?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:42 PM
07-11-2003 01:42 PM
Re: I have a problem with root.
After you do that:
# /usr/lbin/modprpw -k root
This will reactivate root.
If you can not login to the console via root, please let us know.
Please try to login to the console with root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:42 PM
07-11-2003 01:42 PM
Re: I have a problem with root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 01:52 PM
07-11-2003 01:52 PM
Re: I have a problem with root.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 02:22 PM
07-11-2003 02:22 PM
Re: I have a problem with root.
Login: root
password:
# /usr/lbin/modprpw -k root
There is no need to start switching machines off just yet ...
If there is a shell session somewhere, try su -
Try all of these things first and let us know the result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 02:54 PM
07-11-2003 02:54 PM
Re: I have a problem with root.
If you can't log in as root on the console, PLEASE LET US KNOW!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 02:59 PM
07-11-2003 02:59 PM
Re: I have a problem with root.
for me coffee it's only 9AM ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 03:33 PM
07-11-2003 03:33 PM
Re: I have a problem with root.
There you will be able to log on and run the command
passwd
to change the password.
This might not work, in which case you will have to do as follows:
Restart the machine. Hopefully an operator with shutdown priveledge is logged on otherwise, shut down all databases,applications, etc and (grimace) go to the power switch.
At boot from the console:
Interupt at the 10 second prompt.
bo
Interact with the ISL> Y
hpux -is
Unless single user mode is password protected, you can now run the command:
passwd
Change the password.
If the thing still wont change there is a final trick(s)
In /etc/password
blank you the password section. Save the file.
Now you have no password for root. Quickly run:
passwd
On a trusted system,
Edit the file /tcb/files/auth/r/root.
Look for a line with something like this:
:u_pwd=UNpk1V5S4Kt.:
Edit it to look like this:
:u_pwd=:
That will remove the encrypted password for root. Use passwd to set a new password.
vi the root file and null out the encrypted password, leaving the / characters around it.
Save the file.
Again, quickly run passwd and set a root password.
WARNING: messing up in these instructions can make your system worse.
WARNING: leaving the root password null can lead to complete system destruction.
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
07-11-2003 07:37 PM
07-11-2003 07:37 PM
Re: I have a problem with root.
You can log-on on with root on the console only.
it tells you that the account is disabled but it logs you in.
go to sam and enable the account by going to:
usres and groups-->users choose the user root from the list and then choose actions-->modify
and there you can change your password..
you can put the same old password as a the new password and the system will accept it.
Regards,
M. Z. Harbi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 08:23 PM
07-11-2003 08:23 PM
Re: I have a problem with root.
You got very good answer above, try to following the advices, you should be able to reactivate the root account.
good luck
twang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2003 02:03 AM
07-12-2003 02:03 AM
Re: I have a problem with root.
As solutions are provided by somany peers
First, try this with root previliges
#/usr/lbin/modprpw -k root
Secondly, do this to eliminate the root user be out of the default policy:
You change the root a/c policy, through SAM.
Run SAM and go to users-> select the "root" a/c from actions tab select Modify users security policies.
From this select the password ageing policies and set to "disable".
select General user account policies and set the following as:
1.A/c life time :None(infinite)
2.Max. inactive days: disable(default)
3.Unsuccessful login tries allowed: customize and value to be set to 0 (zero)
4.Authorised user to boot in single user mode : Yes
Thirdly, If the above two options fail to reactivate the root a/c, u need to reboot the system in single user mode by interrupting the normal boot process, and entering into ISL as said by other peers.
Good Luck