All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [parisc-linux] Thanks...alot
@ 2000-01-06  9:03 Mark Wild
  2000-01-06 21:08 ` Eric Schnoebelen
  0 siblings, 1 reply; 13+ messages in thread
From: Mark Wild @ 2000-01-06  9:03 UTC (permalink / raw)
  To: parisc-linux



> -----Original Message-----
> From: eric@cirr.com [mailto:eric@cirr.com]
> Sent: Thursday, January 06, 2000 3:23 AM
> To: Mark Wild
> Cc: parisc-linux@thepuffingroup.com
> Subject: Re: [parisc-linux] Thanks...alot 
> 
> 
> 
> Mark Wild writes:
> - From: eric@cirr.com [mailto:eric@cirr.com]
> - > tom@piace.com writes:
> - > - 	Does anyone know if hp has a development 
> version of hpux like
> - > - sun has with solaris?  If not does anyone know of a way 
> to reset the
> - > - password from the console.
> - > 
> - > 	Depending upon the OS version and the settings, you
> - > should be able to boot the system to single user mode, and reset
> - > the password.  I'm a bit out of practice, but if you ``boot
> - > isl'', and then enter `/hp-ux -is' (for 9.0x) or `/stand/vmunix
> - > -is' (for 10.20), you should be get a single user prompt,
> - > without having to enter a password (later OS versions may
> - > require the root password to enter single user mode.)
> - 
> - <snip>
> - 
> - Being in a similar predicament with a 710 workstation I managed
> - to get to the ISL prompt but to boot into single user mode
> - I needed to enter 'HPUX -is /hp-ux'. However, after file system
> - checking I got a repeated message along the lines of:
> - 
> - INIT: SINGLE USER MODE
> - 
> - This just filled up my screen.
> 
> 	Do you get anything besides the above message??

No, it just repeatedly produces that message.

>  If not,
> I'd suggest that either /bin/sh is missing, or HP-UX doesn't
> agree with the hardware about where the console is, and the
> shell is always getting an EOF when it tries to read the
> console.

It manages to boot into multi-user mode OK.

> 	At this point, I'd be more towards a missing shell.

I inherited the machine from my University as it was surplus
to requirements due to upgrading. Could it be possible that
the sysadmins have deliberately done this to prevent inquisitive
students ?

> 	From your boot command line, it sounds like the box is
> running 9.0x.  Is this true?

Yes, 9.01.

> 
> 	FYI: 10.20 may still be available for free under HP's Y2K
> upgrade program.  I ordered the 10.20 Y2K OS kit on the 30th.  I
> haven't seen it yet, but that's another kettle..  Visit
> http://www.hp.com/visualize/programs/y2k/y2k_menu/y2k_upgr/oskit.html
> for more details.

I have the upgrade media (P/N B7989AA) but it doesn't seem to
contain anything for a cold install, just patches for 9.x to 10.20
although from previous posts I see some people claim to have done this.

Who did you contact regarding the above link?

> - Any suggestions as to what I can do to get root ?
> 
> 	At this point, you probably need to boot off of the
> installation media, and try to replace what appears to be a
> missing shell.

Hmm, looks like I'm snookered then ...

Thanks,

Mark Wild.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [parisc-linux] Thanks...alot
@ 2000-01-10  8:57 Mark Wild
  0 siblings, 0 replies; 13+ messages in thread
From: Mark Wild @ 2000-01-10  8:57 UTC (permalink / raw)
  To: parisc-linux



> -----Original Message-----
> From: Ross J. Reedstrom [mailto:reedstrm@wallace.ece.rice.edu]
> Sent: Friday, January 07, 2000 5:34 PM
> To: Mark Wild
> Cc: parisc-linux@thepuffingroup.com
> Subject: Re: [parisc-linux] Thanks...alot
> 
> 
> On Fri, Jan 07, 2000 at 09:52:30AM -0600, Eric Schnoebelen wrote:
> > 
> > Mark Wild writes:
> > - From: eric@cirr.com [mailto:eric@cirr.com]
> > - > 	You might check to see what interpreter is called out at
> > - > the top of /etc/rc.  If it's still /bin/sh, go verify what
> > - > /bin/sh points to..
> > - 
> > - How can I do that? I'm not familiar with all the options/commands
> > - of the hpux command from the ISL prompt.
> > 
> > 	I was suggesting you do that from a multi-user login
> > (assuming you've got one.. perhaps a rash assumption..)
> 
> Mark, you seem  to be in the same situation I was, witha similarly
> decommissioned 730 (academic leftover): no root, no account at all! It
> booted to a X/OpenVue login screen just fine, however. (Had to take it
> down hard with the toc switch, after that.)

Yep.

> Not knowing any of the HP-UX specific tricks, I fell back on a maxim
> from computer security: 'There is no computer security 
> without physical
> security.'
> 
> I yanked the boot HD, dropped it onto the SCSI chain of my linux box,
> used grep on the 'raw' block device as so:
> 
> grep -ba 'root:[^:]\{13\}:'
> 
> to find all occurences of something that looked like a root 
> passwd entry,
> with crypt()ed password, and fired up lde (Linux Disk Editor) 
> to change
> it to the hash for a password I knew. Worked great!  Strangely enough,
> I found 6 copies, with three different passwords.
> 
> Once logged in as root, I used the standard utilities to 
> change passwords
> again, just in case there was something I missed.

Thanks for that, it worked a treat. I didn't have lde installed
on my linux machine so I used dd to copy it to another hd doing
a search & replace on the root password.

Mark.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [parisc-linux] Thanks...alot
@ 2000-01-07  9:39 Mark Wild
  2000-01-07 15:52 ` Eric Schnoebelen
  0 siblings, 1 reply; 13+ messages in thread
From: Mark Wild @ 2000-01-07  9:39 UTC (permalink / raw)
  To: parisc-linux



> -----Original Message-----
> From: eric@cirr.com [mailto:eric@cirr.com]
> Sent: Thursday, January 06, 2000 9:08 PM
> To: Mark Wild
> Cc: parisc-linux@thepuffingroup.com
> Subject: Re: [parisc-linux] Thanks...alot 
> 
> 
> 
> Mark Wild writes:
> - From: eric@cirr.com [mailto:eric@cirr.com]
> - >  If not,
> - > I'd suggest that either /bin/sh is missing, or HP-UX doesn't
> - > agree with the hardware about where the console is, and the
> - > shell is always getting an EOF when it tries to read the
> - > console.
> - 
> - It manages to boot into multi-user mode OK.
> 
> 	Do you see any output from the system rc scripts during
> multi-user boot??

Yes. It performs a quota check etc, gets to a console login before
X kicks in.
 
> - > 	At this point, I'd be more towards a missing shell.
> - 
> - I inherited the machine from my University as it was surplus
> - to requirements due to upgrading. Could it be possible that
> - the sysadmins have deliberately done this to prevent inquisitive
> - students ?
> 
> 	I suppose it's possible, but I'd venture it unlikely, as
> it's a bit more pain than the gain, at least in my opinion..
> 
> 	You might check to see what interpreter is called out at
> the top of /etc/rc.  If it's still /bin/sh, go verify what
> /bin/sh points to..

How can I do that? I'm not familiar with all the options/commands
of the hpux command from the ISL prompt.

> 	From a strings on a 9.03 init, it appears that init
> might attempt to start /bin/ksh, /bin/csh, /bin/sh, and /bin/su.
> You might want to verify the existance of those (/bin/su in
> particular).

> 	The 9.03 init I'm looking at also appears to look for
> consoles on /dev/systty, /dev/syscon and /dev/console. You might
> verify that they all point to useful locations..

OK. I'll check these.

<snip>

Cheers, Mark.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [parisc-linux] Thanks...alot
@ 2000-01-05  9:00 Mark Wild
  2000-01-06  3:22 ` Eric Schnoebelen
  0 siblings, 1 reply; 13+ messages in thread
From: Mark Wild @ 2000-01-05  9:00 UTC (permalink / raw)
  To: parisc-linux



> -----Original Message-----
> From: eric@cirr.com [mailto:eric@cirr.com]
> Sent: Thursday, December 30, 1999 4:54 PM
> To: tom@piace.com
> Cc: parisc-linux@thepuffingroup.com
> Subject: Re: [parisc-linux] Thanks...alot 
> 
> 
> 
> tom@piace.com writes:
> - 	Does anyone know if hp has a development version of hpux like
> - sun has with solaris?  If not does anyone know of a way to reset the
> - password from the console.
> 
> 	Depending upon the OS version and the settings, you
> should be able to boot the system to single user mode, and reset
> the password.  I'm a bit out of practice, but if you ``boot
> isl'', and then enter `/hp-ux -is' (for 9.0x) or `/stand/vmunix
> -is' (for 10.20), you should be get a single user prompt,
> without having to enter a password (later OS versions may
> require the root password to enter single user mode.)
> 

<snip>

Being in a similar predicament with a 710 workstation I managed
to get to the ISL prompt but to boot into single user mode
I needed to enter 'HPUX -is /hp-ux'. However, after file system
checking I got a repeated message along the lines of:

INIT: SINGLE USER MODE

This just filled up my screen.

Any suggestions as to what I can do to get root ?

Mark Wild.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [parisc-linux] Thanks...alot
@ 1999-12-30  8:12 tom
  1999-12-30 16:53 ` Eric Schnoebelen
  0 siblings, 1 reply; 13+ messages in thread
From: tom @ 1999-12-30  8:12 UTC (permalink / raw)
  To: parisc-linux

	Two weeks I have received two 735 on loan.  They came from a
surplus computer shop, and they did not know what they had, so I am
working on two of the to see if I can get them to work, and If I can I get
one for free in trade for telling them how to fix the others.  They still
have the hpux loaded, but they have the passwords set.  

	I would like to help with the porting effort, but I have not been
able to find a monitor that worked with the composit sync, and such a high
sync rate, and I thought all was lost, but after reading the last
few posts I was able to get one of them talking over a serial connection.  

	Does anyone know if hp has a development version of hpux like
sun has with solaris?  If not does anyone know of a way to reset the
password from the console.

	My only other idea is to find a diff scsi card that I can put
into my other linux box, and try to mount the root partions, and edit the
password file.  

	Any help would be great.  


					Thanks A Lot
					Thomas Bloom

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2000-01-10  8:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-06  9:03 [parisc-linux] Thanks...alot Mark Wild
2000-01-06 21:08 ` Eric Schnoebelen
  -- strict thread matches above, loose matches on Subject: below --
2000-01-10  8:57 Mark Wild
2000-01-07  9:39 Mark Wild
2000-01-07 15:52 ` Eric Schnoebelen
2000-01-07 17:34   ` Ross J. Reedstrom
2000-01-05  9:00 Mark Wild
2000-01-06  3:22 ` Eric Schnoebelen
1999-12-30  8:12 tom
1999-12-30 16:53 ` Eric Schnoebelen
1999-12-30 18:14   ` tom
1999-12-30 17:36     ` Eric Schnoebelen
1999-12-31  7:52       ` tom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.