- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP SMH retrieve 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
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
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-04-2011 09:39 PM
07-04-2011 09:39 PM
HP SMH retrieve password
Hello expert,
Is there has any way to retrieve back username & password via console for HP SMH?
I've root access into server but for HP SMH hold by some one and he left from organization
Any idea on this?
Thanks
BR
Naj
____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
- Tags:
- SMH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 09:51 PM
07-04-2011 09:51 PM
Re: HP SMH retrieve password
Hi Naj,
you can run a trace while authenticating from SMH. You need tusc installed for it, use the following script to enable the trace.
#!/usr/bin/sh CIMSERVER_PID=$(UNIX95=1 ps -C cimserver -opid=) CIMSERVERMAIN_PID=$(UNIX95=1 ps -C cimservermain -opid=) OUTPUTDIR=/var/tmp # echo $CIMSERVER_PID $CIMSERVERMAIN_PID /usr/local/bin/tusc -fune -r all -w all -T "" -o $OUTPUTDIR/cimserver_$$.tusc -p $CIMSERVER_PID & /usr/local/bin/tusc -fune -r all -w all -T "" -o $OUTPUTDIR/cimservermain_$$.tusc -p $CIMSERVERMAIN_PID & echo echo "Trace active - reproduce whatever is needed" echo "Press enter to shutdown trace" echo read DUMMY kill $(UNIX95=1 ps -C tusc -opid=) echo "Check the generated traces:" echo "$OUTPUTDIR/cimserver_$$.tusc" echo "$OUTPUTDIR/cimservermain_$$.tusc" echo
Authenticate via the SMH, in the file cimserver_$$.tusc you will find at the beginning a section like this:
1302679014.008394 [/opt/wbem/lb][3100] #1 read(6, 0x9fffffffffff73e0, 4096) ........................................................... = 4096 r o o t \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
Obviously root is your user and a little bit below you find the password (take out the blanks).
hth,
Stephan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 10:06 PM
07-04-2011 10:06 PM
Re: HP SMH retrieve password
Thanks for the reply, but could you please give me step to perform this..
Thnks in advanced
BR
Naj
____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 12:50 AM
07-05-2011 12:50 AM
Re: HP SMH retrieve password
Hi Naj,
which step is not clear?
tusc can be found here: http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-8.0/
Best,
Stephan