- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root user 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
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
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-23-2005 03:45 PM
тАО06-23-2005 03:45 PM
Root user account disabled
We have Unix station version 10 installed in Thailand. They changed the password of root user a few times. Now the root user account is disabled. I try to login as a single mode user to change the password back but the account is still disabled. There is no way I could activate the account now as I can't go into sam nor using the VI command to edit the /etc/passwd file.
Could someone be kind enough to advise?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 04:12 PM
тАО06-23-2005 04:12 PM
Re: Root user account disabled
Check this tread below :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=685115
Have a good day.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 04:24 PM
тАО06-23-2005 04:24 PM
Re: Root user account disabled
Unfortunately you will have to reboot into single user mode.
On the console you can then reset the password.
One alternative is to check and see if you have a /.rhosts file (of course you shouldn't!!) but if you do then you can rlogin from another server as root.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 04:43 PM
тАО06-23-2005 04:43 PM
Re: Root user account disabled
Thank you for all the replies. I can change the password but I can't enable the root account in the single mode user so it still can't help. I check the system administrator manual, in /etc/passwd file user with an asterisk (*) in the password filed deactivates an account. The problem is in single mode user after reboot, I can't access the /etc/passwd nor issue the vi command to activate the root account. Any one has any idea using hp term command to activate account in single user mode?
Thank you.
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 04:54 PM
тАО06-23-2005 04:54 PM
Re: Root user account disabled
You will need to mount /usr filesystem.
The * denotes a shadow passwordd if you are using trusted system.
If its trusted system use the following to unlock:
# /usr/lbin/modprpw -l -k root
# passwd root
Remember to mount /usr first.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 05:34 PM
тАО06-23-2005 05:34 PM
Re: Root user account disabled
Thank you for your help.
regards,
Thye Heng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 06:05 PM
тАО06-23-2005 06:05 PM
Re: Root user account disabled
If the system is untrusted then the following command (run in single user mode)will unlock the account and reset the password:
# /sbin/passwd root
If you are still having problems then /usr/bin/vi /etc/passwd and delete the '*'.
(remember to mount /usr)
This should allow you to login without a password.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2005 07:56 PM
тАО06-25-2005 07:56 PM
Re: Root user account disabled
Here is a good way to create a back door to reactivate the root
account that has become disable on a trusted system
Step 1
Adding a User
SAM areas
select "Account for Users and Groups"
SAM Areas: Account for Users and Groups
select "Users"
Account for Users and Groups screen
select Actions Add...
Add a User Account screen
add user in the Login Name
admin1 or your name
select "ok"
Set User Password screen
enter password for user and select ok
user is added to the system
exit SAM
select file ,then exit sam
Step 2
Giving a user SAM Privileges for "Account for Users and Groups"
sam -r
Restricted SAM Builder screen and Load Privileges dialog box pops up
Highlight the user that you want to give Privileges too
select "ok"
Notice on the Restricted SAM Builder screen you will see
Privileges for user : the user you selected
Restricted SAM Builder screen
select Action --Disable all
highlight "Account for Users and Groups"
select Actions -- Enable
select Actions -- Save Privileges
a Save Privileges dialog box pops up - select ok
Exit SAM
file -- exit sam
Now the User you select has SAM Privileges for "Account for Users and Groups"
and will be able to reactivate disabled Accounts
When the root Account becomes disabled
login as your Restricted SAM user
/usr/sbin/sam
select the only option "Account for Users and Groups" with enter key
highlight "Users"
select with the enter key
highlight root user
select Actions -- Reactivate
a dialog box pop up to tell you why it was disable
select yes to reactivate
Exit SAM
file -- Exit
Regards
Vinod K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2005 07:58 PM
тАО07-03-2005 07:58 PM
Re: Root user account disabled
Thank you for all the kind help. My colleague managed to enable the root account by sam in single user mode, the * in the /usr/passwd file of root user could not be deleted.
Once again Thank you guys. I will close this thread.
Regards,
Thye Heng