- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Re: GSP username/passsword through UNIX command li...
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
тАО10-12-2007 07:12 AM
тАО10-12-2007 07:12 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2007 07:21 AM
тАО10-12-2007 07:21 AM
SolutionBut you can telnet to the MP and grep for a message similar to "access is unsecured".
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2007 09:36 PM
тАО10-12-2007 09:36 PM
Re: GSP username/passsword through UNIX command line
Yes, you can.
In fact, your request is part of Operations Acceptance Testing that I do for any project
or new HP-UX servers I work on:
http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt
Basically, the trick is:
a) Install Net::Telnet Perl module;
b) Change the MP prompt in my script
(by default I use):
My $GSPprompt = "MP>";
c) Use my script, for example:
HP-UX-check-OAT.pl -u MPlogin -p MPpassword ...
or, simply check the routine I have set up,
and make your own Perl script.
In my Perl script, I also test MP
for default accounts Admin/Admin and Oper/Oper, and similar...
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 10:53 AM
тАО10-14-2007 10:53 AM
Re: GSP username/passsword through UNIX command line
To make it easier for you, I created Perl script, just to show you the power of it.
If I get some time soon, I will add support for
SSH logins as well.
Here is the script:
http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-GSP.pl.txt
And here is what it shows for an RP4440 server:
# HP-UX-check-GSP.pl -s servgsp -u Admin -p zzz123
CHECKING GUARDIAN SERVICE PROCESSOR STATUS
__________________________________________
WARN servgsp is NOT reachable (first type ICMP)
WARN servgsp is NOT reachable (second type ICMP)
PASS Port 23@servgsp is ACTIVE
NOTE Factory-default GSP account should always be changed
INFO Trying to log into GSP as user ""
INFO Trying to log into GSP as user hp
INFO Trying to log into GSP as user Admin
INFO Successfully logged into GSP as user "Admin" with password "zzz123"
Current LAN Configuration:
MAC Address : 0x0014c254a063
DHCP Status : Disabled
IP Address : 192.168.42.45
MP Host Name : servgsp
Subnet Mask : 255.255.255.0
Gateway Address : 192.168.42.1
Link State : Auto Negotiate
Remote Serial Console Port : 2023
SSH Access Port : - (MP Feature Not Licensed)
IPMI / LAN Port : 623
LAN status: UP and RUNNING
INFO GSP firmware version reported as
Current firmware revisions
MP FW : E.03.30
BMC FW :04.03
System FW :46.34
INFO Trying to log into GSP as user Oper
And here is what it shows for a SuperDome
complex:
# HP-UX-check-GSP.pl -s serv2gsp -u myadm -p pass55
CHECKING GUARDIAN SERVICE PROCESSOR STATUS
__________________________________________
PASS serv2gsp is reachable (first type ICMP)
PASS serv2gsp is reachable (second type ICMP)
PASS Port 23@serv2gsp is ACTIVE
NOTE Factory-default GSP account should always be changed
INFO Trying to log into GSP as user ""
INFO Trying to log into GSP as user hp
INFO Trying to log into GSP as user myadm
INFO Successfully logged into GSP as user "myadm" with password "pas55"
Current LAN Configuration:
MAC Address : 0x00306e3a951c
IP Address : 10.5.5.129
MP Host Name : serv2gsp
Subnet Mask : 255.255.255.0
Gateway Address : 10.5.5.1
Link State : Auto Negotiate
Web Console Port Number : 2023
LAN status: UP and RUNNING
INFO GSP firmware version reported as
Current firmware revisions
MP FW : E.02.26
BMC FW :01.50
EFI FW :01.22
System FW :02.21
INFO Trying to log into GSP as user Admin
INFO Trying to log into GSP as user Oper
I did not format the results yet
(I am a hard-core admin who does not
care too much about the beauty of the report,
as long as it provides useful information).
Only managers like reports with colours :)
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 11:56 AM
тАО10-14-2007 11:56 AM
Re: GSP username/passsword through UNIX command line
The only command line option I know of other than a telnet session is to reset the beast while someone is standing at the console....
Run the following command on the command line to "reboot" the GSP (without rebooting the server):
stty +resetGSP < /dev/GSPdiag1
When you run this command you will get a prompt on the console: "Press 'p' now to clear all GSP passwords and users...". If you press "p" and then confirm it (you only have a few seconds to respond), the GSP user/password info is wiped. Your LAN info is kept however.
And wha-la - you can then make your own user/password mix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 04:30 AM
тАО10-16-2007 04:30 AM
Re: GSP username/passsword through UNIX command line
root [/root] stty +resetGSP This operation is not permitted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 04:30 AM
тАО10-16-2007 04:30 AM
Re: GSP username/passsword through UNIX command line
root [/root] stty +resetGSP This operation is not permitted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 04:35 AM
тАО10-16-2007 04:35 AM
Re: GSP username/passsword through UNIX command line
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 02:05 AM
тАО10-17-2007 02:05 AM
Re: GSP username/passsword through UNIX command line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 03:13 AM
тАО10-17-2007 03:13 AM