- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to break the root password
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-10-2010 07:17 AM
тАО06-10-2010 07:17 AM
is there any way i can break the root password in HP-UX? Because no one knows that password.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 07:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 07:48 AM
тАО06-10-2010 07:48 AM
Re: How to break the root password
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 07:57 AM
тАО06-10-2010 07:57 AM
Re: How to break the root password
Explanations above.. If you are not enabled passwd check in single usermod.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 08:40 AM
тАО06-10-2010 08:40 AM
Re: How to break the root password
boot in to single user mode
if its non trusted sys
1. passwd root
2.Boot the system in to multi user mode.
if its trusted sys
run fsck before mounting
1. mount /usr
2. /usr/lbin/modprpw -k root
3. /usr/sam/lbin/usermod.sam -F -p "" root
4.passwd root
5.Boot the system in to multi user mode
regards
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 08:44 AM
тАО06-10-2010 08:44 AM
Re: How to break the root password
left some other option
#/usr/lbin/tsconvert -r
#/sbin/passwd root
but make a note
This will expire all other accounts password and /usr/lbin/tsconvert needs to be run again.
if it is production server dont perfer this option
regards
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 09:10 AM
тАО06-10-2010 09:10 AM
Re: How to break the root password
Yes.
You take the file the password in, /etc/passwd or the /etc/shadow or /tcb files and copy them to a temp directory.
Then you run crack on them.
It uses enormous cpu resources, but will eventually crack word based passwords.
If the password is truly random, it won't work.
Boot to single user mode and run the passwd command to reset.
Otherwise you are SOL.
SEP
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
тАО06-11-2010 07:23 AM
тАО06-11-2010 07:23 AM
Re: How to break the root password
Regards,
Norm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 09:25 PM
тАО06-11-2010 09:25 PM
Re: How to break the root password
if the server is trusted
go to single user mode remove the password content (don't remove ":"after the password content) of the file #vi /tcb/files/auth/r/root
and restart the server in the single user mode and then change the password using #passwd command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 11:02 PM
тАО06-11-2010 11:02 PM
Re: How to break the root password
>>is there any way i can break the root password in HP-UX? Because no one knows that password
Are you able to login into the server?
Is there any account who is having sudo to root access ?
Is you server is trusted or un-trusted ?
Is PA-RISC or Itanium ?
For PA-RISC you can reset the root passwd in single user. but for Itanium you need to reboot through DVD then from recovery mode you can change the root passwd.
Suraj