This is a discussion on cannot get pass logon screen in C180 HP-UX within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Finally booted my C180 with the help of members on this list. The next problem which i should have ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Finally booted my C180 with the help of members on this list. The next problem which i should have expected, but did'nt... now i am presented with the graphical logon screen. I basically picked this up so obviously i have no account or password. Is there any known way to bypass this, like maybe a guest account or something, or do i have to reinstall the system. Any help appreciated -- http://QLiner.com The goal of the works of a genius' existance lies only in itself. |
| |||
| stewart allen wrote: > Finally booted my C180 with the help of members on this list. The next > problem which i should have expected, but did'nt... now i am presented with > the graphical logon screen. I basically picked this up so obviously i have > no account or password. Is there any known way to bypass this, like maybe a > guest account or something, or do i have to reinstall the system. Any help > appreciated > It is to reboot in single user mode, edit the /etc/password file (remove the password field for 'root' and optionally an other acount will do) and then login with root or the other account. If you cannot login with root, use the other account and `su` to root. Now force a new password (with `password`) and off you go. Or just install linux on it: http://www.openpa.net/linux.html. CBee |
| |||
| stewart allen wrote: > Finally booted my C180 with the help of members on this list. The next > problem which i should have expected, but did'nt... now i am > presented with the graphical logon screen. I basically picked this up > so obviously i have no account or password. Is there any known way to > bypass this, like maybe a guest account or something, or do i have to > reinstall the system. Well, You can boot in single user mode by interrupting the boot process (see the message like "Booting in xxx seconds. Press any key to interrupt". After that You're in the PROM (Firmware, somewhat similar to a PC's BIOS). Type "boot". You'll be asked "interact with IPL (Y/N)?", answer "YES". The machine boots into the first boot stage, and You'll end up in the IPL (Initial Program Loader) command line. Enter "hpux -is", and the machine should boot in single user mode... My other recommendation would be to get one of the HP-UX CD Sets that are often listed on ebay, preferrably HP-UX 11i. Makes it easier to reinstall, and You can be sure to have an installation that isn't messed up somehow... Or You can install Linux, but then I see no reason to waste such a nice workstation with an OS that runs best on x86 and doesn't support most hardware for these machines. And there should be nothing that You miss if running HP-UX instead of Linux... Benjamin |
| |||
| Thanks for your response: > Well, You can boot in single user mode by interrupting the boot process (see > the message like "Booting in xxx seconds. Press any key to interrupt". After > that You're in the PROM (Firmware, somewhat similar to a PC's BIOS). Type > "boot". You'll be asked "interact with IPL (Y/N)?", answer "YES". The > machine boots into the first boot stage, and You'll end up in the IPL > (Initial Program Loader) command line. Enter "hpux -is", and the machine > should boot in single user mode... I did all that and it worked exactly as you said...but what's the problem? now i am at the point where it says "warning you are superuser" and a prompt "#" to enter a command. I aparently gave the impression that I know something about HP-UX when in fact I know zilk about it. Is there some website that may have a list of general commands that i can find useful. I was hoping to edit the /etc/password file to remove the password as another suggested. I just want to get back into the graphical mode where i will have some measure of comfort > My other recommendation would be to get one of the HP-UX CD Sets that are > often listed on ebay, preferrably HP-UX 11i. Makes it easier to reinstall, > and You can be sure to have an installation that isn't messed up somehow... I do have the CDs for it. I believe it is version 10 point something, but the unit does not have a CD-ROM drive so i am not ready to explore that option yet, since i have to search for a compatible drive > Or You can install Linux, but then I see no reason to waste such a nice > workstation with an OS that runs best on x86 and doesn't support most > hardware for these machines. I agree with that. It would be a waste since i have several x86 machine available to run Linux. I definately want to keep HP-UX since it gives me an opportunity to learn Stewart |
| |||
| stewart allen (stewaetallen@comcast.net) wrote: : Thanks for your response: : > Well, You can boot in single user mode by interrupting the boot process : (see : > the message like "Booting in xxx seconds. Press any key to interrupt". : After : > that You're in the PROM (Firmware, somewhat similar to a PC's BIOS). Type : > "boot". You'll be asked "interact with IPL (Y/N)?", answer "YES". The : > machine boots into the first boot stage, and You'll end up in the IPL : > (Initial Program Loader) command line. Enter "hpux -is", and the machine : > should boot in single user mode... : I did all that and it worked exactly as you said...but what's the problem? : now i am at the point where it says "warning you are superuser" and a prompt : "#" to enter a command. I aparently gave the impression that I know : something about HP-UX when in fact I know zilk about it. Is there some : website that may have a list of general commands that i can find useful. I : was hoping to edit the /etc/password file to remove the password as another : suggested. I just want to get back into the graphical mode where i will have : some measure of comfort the command to change the password is passwd, use /sbin/passwd to run the command. The file format for /etc/passwd is found by doing "man 4 passwd", of course without the ". A word of caution. If the system was configured with LVM the filesystems for commands and shared libraries is not mounted at the superuser prompt in single user mode. Do a /etc/bcheckrc and then a mountall. Once you fix the password do an init 4 to get back to the graphical mode. : > My other recommendation would be to get one of the HP-UX CD Sets that are : > often listed on ebay, preferrably HP-UX 11i. Makes it easier to reinstall, : > and You can be sure to have an installation that isn't messed up : somehow... : I do have the CDs for it. I believe it is version 10 point something, but : the unit does not have a CD-ROM drive so i am not ready to explore that : option yet, since i have to search for a compatible drive : > Or You can install Linux, but then I see no reason to waste such a nice : > workstation with an OS that runs best on x86 and doesn't support most : > hardware for these machines. : I agree with that. It would be a waste since i have several x86 machine : available to run Linux. I definately want to keep HP-UX since it gives me an : opportunity to learn There a several books out there for HP-UX. Once your system is up and you can run commands, try uname -a and you will see what version OS you have. By the way, 10.something is obsolete now. If you can find some 11.x media you might consider upgrading. -- Jim Hollenback jholly@cup.hp.com my opinion. |
| |||
| stewart allen wrote: > I did all that and it worked exactly as you said...but what's the > problem? now i am at the point where it says "warning you are > superuser" and a prompt "#" to enter a command. That's good! At least You're in the system... > I aparently gave the > impression that I know something about HP-UX when in fact I know zilk > about it. Is there some website that may have a list of general > commands that i can find useful. I was hoping to edit the > /etc/password file to remove the password as another suggested. I > just want to get back into the graphical mode where i will have some > measure of comfort Understandable... Ok, to change the root password enter "passwd". Then You'll be asked for a new password. You also can just slap <enter> to have none password (not a problem if the machine is not connected to the internet or a big company LAN). If You've done that enter "reboot" to have the system restarted. It comes up with the graphical login prompt where You now should be able to login as "root". As to the commands, have a loo at http://www.docs.hp.com where You can find the manuals for HP-UX. For most administrative tasks You only have to remember the command "sam" (System Administration Manager) which is a menu-driven tool to do most common administration tasks. It works both under the graphical environment (CDE) and also on the text-mode command line. > I do have the CDs for it. I believe it is version 10 point something, Well, HP-UX 10.20 is obsolete for some time now. It's 32bit only (HP-UX 11.x is 64bit, and Your C180 is a 64bit system), there is no support (i.e. patches etc) for it, and it also has some glitches that can drive You crazy. I'd really recommend to get a HP-UX 11i CD Kit for Your system... > but the unit does not have a CD-ROM drive so i am not ready to > explore that option yet, since i have to search for a compatible drive Well, any standard SCSI drive should work. >> Or You can install Linux, but then I see no reason to waste such a >> nice workstation with an OS that runs best on x86 and doesn't >> support most hardware for these machines. > > I agree with that. It would be a waste since i have several x86 > machine available to run Linux. I definately want to keep HP-UX since > it gives me an opportunity to learn Good idea. However, even for learning I really recommend to get HP-UX 11i (or at least 11.0) instead. With that You also can use the software downloadable from http://www.software.hp.com or http://hp.ux.asknet.de Benjamin |
| |||
| Benjamin Gawert wrote: > stewart allen wrote: > > >>I did all that and it worked exactly as you said...but what's the >>problem? now i am at the point where it says "warning you are >>superuser" and a prompt "#" to enter a command. > > > That's good! At least You're in the system... > > >>I aparently gave the >>impression that I know something about HP-UX when in fact I know zilk >>about it. Is there some website that may have a list of general >>commands that i can find useful. I was hoping to edit the >>/etc/password file to remove the password as another suggested. I >>just want to get back into the graphical mode where i will have some >>measure of comfort > > > Understandable... > > Ok, to change the root password enter "passwd". Then You'll be asked for a > new password. You also can just slap <enter> to have none password (not a > problem if the machine is not connected to the internet or a big company > LAN). If You've done that enter "reboot" to have the system restarted. It > comes up with the graphical login prompt where You now should be able to > login as "root". > > As to the commands, have a loo at http://www.docs.hp.com where You can find > the manuals for HP-UX. For most administrative tasks You only have to > remember the command "sam" (System Administration Manager) which is a > menu-driven tool to do most common administration tasks. It works both under > the graphical environment (CDE) and also on the text-mode command line. > > >>I do have the CDs for it. I believe it is version 10 point something, > > > Well, HP-UX 10.20 is obsolete for some time now. It's 32bit only (HP-UX 11.x > is 64bit, and Your C180 is a 64bit system), there is no support (i.e. > patches etc) for it, and it also has some glitches that can drive You crazy. > I'd really recommend to get a HP-UX 11i CD Kit for Your system... > > >>but the unit does not have a CD-ROM drive so i am not ready to >>explore that option yet, since i have to search for a compatible drive > > > Well, any standard SCSI drive should work. > > >>>Or You can install Linux, but then I see no reason to waste such a >>>nice workstation with an OS that runs best on x86 and doesn't >>>support most hardware for these machines. >> >>I agree with that. It would be a waste since i have several x86 >>machine available to run Linux. I definately want to keep HP-UX since >>it gives me an opportunity to learn > > > Good idea. However, even for learning I really recommend to get HP-UX 11i > (or at least 11.0) instead. With that You also can use the software > downloadable from http://www.software.hp.com or http://hp.ux.asknet.de > > Benjamin > > The only CD drives that will work reliably are the Toshiba's, find an old 4x SCSI one. Plextors work too, some. You have to have a drive that has variable block size. |
| |||
| Alan D Johnson wrote: > The only CD drives that will work reliably are the Toshiba's, find an > old 4x SCSI one. Plextors work too, some. You have to have a drive > that has variable block size. Nope. What You say was valid for some old 700 series machines (AFAIR 715 etc). Even the older C-Class machines boot fine from any modern CDROM drive. You don't need to set it to 512 byte mode as this is done by the systems' firmware. If You open a Cxxx or Bxxx with CDROM You'll recognize that there is no jumper set to switch to 512 byte mode. I used several CDROMs (from old and new Toshiba, some Panasonic/Matsushita drives, TEACs, NECs and others) on different Cxxx machines without any problem. Of course it's possible that a certain CDROM model might refuse the byte mode switch command but in generall the masses of SCSI drives works just fine. Benjamin |
| |||
| Benjamin Gawert wrote: > Alan D Johnson wrote: > > >>The only CD drives that will work reliably are the Toshiba's, find an >>old 4x SCSI one. Plextors work too, some. You have to have a drive >>that has variable block size. > > > Nope. What You say was valid for some old 700 series machines (AFAIR 715 > etc). Even the older C-Class machines boot fine from any modern CDROM drive. > You don't need to set it to 512 byte mode as this is done by the systems' > firmware. If You open a Cxxx or Bxxx with CDROM You'll recognize that there > is no jumper set to switch to 512 byte mode. > > I used several CDROMs (from old and new Toshiba, some Panasonic/Matsushita > drives, TEACs, NECs and others) on different Cxxx machines without any > problem. Of course it's possible that a certain CDROM model might refuse the > byte mode switch command but in generall the masses of SCSI drives works > just fine. > > Benjamin > > > Ahhh. didn't know that, all the Cxxx that I have dealt with have internal CD's so haven't had to deal with it. Must be related to the C720 SCSI driver in the 7's, probably the same reason 11.x is unsupported on them, right? |
| ||||
| Alan D Johnson wrote: > Ahhh. didn't know that, all the Cxxx that I have dealt with have > internal CD's so haven't had to deal with it. Must be related to the > C720 SCSI driver in the 7's, probably the same reason 11.x is > unsupported on them, right? I don't know about the C720 SCSI driver but the issue with the 512byte mode jumper of older 700 series is (like on most other UNIX workstations of that time) just a firmware issue. The old firmware was only able to boot from disk devices which generally have 512bytes/sector. A standard ISO CDROM is 2048bytes/sector so the firmware could not handle them. To resolve this some CDROMs got a jumper to force them to 512byte sector size so that the firmware sees the CDROM just as another disk device it can use to boot from. On more modern workstations (from HP it's the Bxxx/Cxxx/Jxxx and when I remember right also some of the newer 700's) the firmware is able to set the 512 byte mode via a SCSI command. And the somewhat current systems (i.e. Bxxxx/C3xxx/Jxxxx) alsow boot from 2048byte devices just fine. BTW: the only UNIX systems that never required a CDROM with 512byte mode jumper to boot from are the IBM RS/6000's. Even my old 7012-320H (1990 vintage) boots just fine from any generic SCSI CDROM ;-) Benjamin |