- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root account disable
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
06-01-2007 05:36 AM
06-01-2007 05:36 AM
root account disable
Currently my root account got disable and how can I enable it back. I boot to single user mode and try to run the following command to enable it back.
# /usr/lbin/modprpw -k root" to unlock it. But I can mount /usr /var or /tmp
any other alternavite way to do it?
Please advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 05:53 AM
06-01-2007 05:53 AM
Re: root account disable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 05:57 AM
06-01-2007 05:57 AM
Re: root account disable
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1092202
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 05:59 AM
06-01-2007 05:59 AM
Re: root account disable
Do the following:
# vgchange -a y vg00
# mount /usr
# mount /var
# mount /tmp
Then you can do the 'modprpw' to reactivate root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 06:11 AM
06-01-2007 06:11 AM
Re: root account disable
Will vgchange -a y vg00 gonna corrupt the filesystem?
# vgchange -a y vg00
# mount /usr
# mount /var
# mount /tmp
I notice the /usr are not in the vg00 and if I do fsck, will it corrupt my filesytem and change my filesystem after my reboot.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 06:23 AM
06-01-2007 06:23 AM
Re: root account disable
>> I notice the /usr are not in the vg00 and if I do fsck, will it corrupt my filesytem and change my filesystem after my reboot.
I'm not sure I understand. Are you saying that /usr is in a VG other than VG00? Is so, then you will need to activate that VG and then attempt to mount /usr.
A 'fsck' will not corrupt a filesystem by itself. An 'fsck' will attempt to fix any problems it encounters with a file system. So if the filesystem is corrupted after an fsck, it was more than likely in much worse shape before the fsck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 12:19 PM
06-01-2007 12:19 PM
Re: root account disable
I had this problem a number of years ago, and all I had to do was login as root on the console, and the account was reset automatically.
Not sure if this is the same problem?
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 03:18 PM
06-01-2007 03:18 PM
Re: root account disable
my problem was that root user was locked. means suppose i am giving username as a root and password which is set.That time system was not allowing me to do login.so we went into single user mode then change the root password by using passwd command.After that we went to multiuser mode.This is my system story .hope u wiil get some idea from this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2007 01:02 AM
06-02-2007 01:02 AM
Re: root account disable
can you switch to su - with root passwd
it can be the passwd is expired you can login from console, did you try this option
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2007 12:18 AM
06-04-2007 12:18 AM