Re: Lost root password...

2001-02-06 Thread Robin-David Hammond


hmm i have been known to transplant a HD from one box into another. to this
purpose.

with SCSI this is quite easy. you need only halt the box that is giving you
troubble, and wire the SCSI bus with the offending drive into a bus on another
computer where no id conflicts will arise, then mount the offending drive and
fix the shadow file.

Apple 600e cdroms work well with all SUNs, and Computer Renaissance sells them
for like $50.

RH Linux has the "linux 1" at SILO to recover from this, might want to
investigate this option. An ounce of prevention and a pound of cure.




-

Robin-David Hammond
KPL
25-8D Van Zant
Norwalk CONN USA


Gerrold's Laws of Infernal Dynamics:
(1) An object in motion will always be headed in the wrong
direction.
(2) An object at rest will always be in the wrong place.
(3) The energy required to change either one of these states
will always be more than you wish to expend, but never so
much as to make the task totally impossible.  


On Wed, 7 Feb 2001, Ragga Muffin wrote:

> To: debian-sparc@lists.debian.org
> Subject: Re: Lost root password...
> Cc: [EMAIL PROTECTED]
> 
> 
> "Marko Dinic" <[EMAIL PROTECTED]> wrote
> 
> > No, unfortunately I have no Sun instalation disks or CD's and I don't have a
> > CD-rom drive. I have a network card build in but I need the adapter to
> > ethernet (from the 25 pin port). How would I export my hard drive from the
> > bios so I can mount it from Debian? My main workstation is a Intel Debian.
> > 
> > > have probably done that already if that were the case. =) If you have
> > > access to another Debian box, you could use it to generate a custom .iso
> > > image, or you could mount the hard-drive on another box /w ufs rw support.
> > 
> > I'm willing to try both, I'm unfamiliar with creating custom iso's though.
> > By the second option you mean physicly remove the HDD and put it in another
> > box (that already has a bootable system)? Or can I just mount it ower the
> > network somehow?
> 
> How about netbooting the Sparc ?
> Create a minimal nfsroot on your debian box with appropriate daemons,
> and then build a sparc kernel that supports sun volume labels
> and ufs.
> Reboot and mount the sun partition and edit the passwd.
> See the debian installation guide for details, it's not very
> difficult.
> 
> HTH,
> 
> Ragga
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 



Re: Lost root password...

2001-02-06 Thread Ragga Muffin

"Marko Dinic" <[EMAIL PROTECTED]> wrote

> No, unfortunately I have no Sun instalation disks or CD's and I don't have a
> CD-rom drive. I have a network card build in but I need the adapter to
> ethernet (from the 25 pin port). How would I export my hard drive from the
> bios so I can mount it from Debian? My main workstation is a Intel Debian.
> 
> > have probably done that already if that were the case. =) If you have
> > access to another Debian box, you could use it to generate a custom .iso
> > image, or you could mount the hard-drive on another box /w ufs rw support.
> 
> I'm willing to try both, I'm unfamiliar with creating custom iso's though.
> By the second option you mean physicly remove the HDD and put it in another
> box (that already has a bootable system)? Or can I just mount it ower the
> network somehow?

How about netbooting the Sparc ?
Create a minimal nfsroot on your debian box with appropriate daemons,
and then build a sparc kernel that supports sun volume labels
and ufs.
Reboot and mount the sun partition and edit the passwd.
See the debian installation guide for details, it's not very
difficult.

HTH,

Ragga



Re: Lost root password...

2001-02-06 Thread Wizard WorkShop
is your user in the sudoers file?
could you sudo su give the user password
reset the root from there ?

Don

www.wizardworkshop.com
IM = WizardWorkShop
icq = 1130341



>> It's been awhile since I looked at the rescue floppy for potato
on sparc,
>> but my guess is that the ufs driver on that floppy doesn't
include write
>> support, which is an experimental option iirc. Do you have Sun
>> installation media? you could boot that to change the pass, but
you would
>
>No, unfortunately I have no Sun instalation disks or CD's and I
don't have a
>CD-rom drive. I have a network card build in but I need the
adapter to
>ethernet (from the 25 pin port). How would I export my hard drive
from the
>bios so I can mount it from Debian? My main workstation is a
Intel Debian.
>
>> have probably done that already if that were the case. =) If
you have
>> access to another Debian box, you could use it to generate a
custom .iso
>> image, or you could mount the hard-drive on another box /w ufs
rw support.
>
>I'm willing to try both, I'm unfamiliar with creating custom
iso's though.
>By the second option you mean physicly remove the HDD and put it
in another
>box (that already has a bootable system)? Or can I just mount it
ower the
>network somehow?
>
>Thanks,
>Marko
>
>>
>> Brian
>> [EMAIL PROTECTED]
>>
>> How often I found where I should be going only by setting out
for
>> somewhere else..
>>-- R. Buckminster Fuller
>>
>>
>
>
>--  
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>
 





wizardworkshop.com


 
   



Re: Lost root password...

2001-02-06 Thread Marko Dinic
> It's been awhile since I looked at the rescue floppy for potato on sparc,
> but my guess is that the ufs driver on that floppy doesn't include write
> support, which is an experimental option iirc. Do you have Sun
> installation media? you could boot that to change the pass, but you would

No, unfortunately I have no Sun instalation disks or CD's and I don't have a
CD-rom drive. I have a network card build in but I need the adapter to
ethernet (from the 25 pin port). How would I export my hard drive from the
bios so I can mount it from Debian? My main workstation is a Intel Debian.

> have probably done that already if that were the case. =) If you have
> access to another Debian box, you could use it to generate a custom .iso
> image, or you could mount the hard-drive on another box /w ufs rw support.

I'm willing to try both, I'm unfamiliar with creating custom iso's though.
By the second option you mean physicly remove the HDD and put it in another
box (that already has a bootable system)? Or can I just mount it ower the
network somehow?

Thanks,
Marko

>
> Brian
> [EMAIL PROTECTED]
>
> How often I found where I should be going only by setting out for
> somewhere else..
>-- R. Buckminster Fuller
>
>



Re: Lost root password...

2001-02-06 Thread B.C.J.O
On Mon, 5 Feb 2001, Marko Dinic wrote:

> I had a SparcStation 2 (full system) for a while in my closet (dead NVRAM) 
> and I just got some parts for it so it's back up and running. Now I need to 
> reset the root password. Ok, that sounds dumb. So, I don't have the cdrom, I 
> tried booting of a debian floppy (potato rescue for Sparc) and mounting the 
> sda1 (my first SCSI disk, running Solaris 2.5). The problem is that I can 
> only mount it read-only. I tried everything from "mount /dev/sda1 /sunhdd" to 
> "mount -t ufs /dev/sda1 /sunhdd -o w,ufstype=sun". All of the commands mount 
> it, but mount it read-only. I need write access so I can change /etc/shadow 
> and delete the password hash. 
> 
> Does anyone have any suggestions? I can't seem to figure out what mount 
> wants. It's weirding me out.
> 
> Regards,
> Marko
> 
> PS: Can you include me in the reply for now, I'll be joining the mailing list 
> shortly. Thanks.

It's been awhile since I looked at the rescue floppy for potato on sparc,
but my guess is that the ufs driver on that floppy doesn't include write
support, which is an experimental option iirc. Do you have Sun
installation media? you could boot that to change the pass, but you would
have probably done that already if that were the case. =) If you have
access to another Debian box, you could use it to generate a custom .iso
image, or you could mount the hard-drive on another box /w ufs rw support.

Brian
[EMAIL PROTECTED]

How often I found where I should be going only by setting out for
somewhere else..
   -- R. Buckminster Fuller




Lost root password...

2001-02-05 Thread Marko Dinic



Hello,
 
I had a SparcStation 2 (full system) for a 
while in my closet (dead NVRAM) and I just got some parts for it so it's back up 
and running. Now I need to reset the root password. Ok, that sounds dumb. 
So, I don't have the cdrom, I tried booting of a debian floppy (potato rescue 
for Sparc) and mounting the sda1 (my first SCSI disk, running Solaris 2.5). The 
problem is that I can only mount it read-only. I tried everything from "mount 
/dev/sda1 /sunhdd" to "mount -t ufs /dev/sda1 /sunhdd -o w,ufstype=sun". All of 
the commands mount it, but mount it read-only. I need write access so I can 
change /etc/shadow and delete the password hash. 
 
Does anyone have any suggestions? I can't seem to 
figure out what mount wants. It's weirding me out.
 
Regards,
Marko
 
PS: Can you include me in the reply for now, I'll 
be joining the mailing list shortly. Thanks.