Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem: Just bought a Sparc 10 but don't have root password. How do I install Debian or BSD or ?

5 views
Skip to first unread message

Steve

unread,
Jun 9, 2003, 10:12:13 PM6/9/03
to
It has Solaris 5.7

I can't seem to get it to answer DHCP from my d-link with the open
firmware. I tell it boot net:DHCP and it goes on about ARP/RARP
broadcasts!

I need to get something else on it's hardrive. I don't have solaris
so I figured Debian or Gentoo.

???


Thanks

or as Cheney would say


TANKS!


Jason Wagner

unread,
Jun 10, 2003, 4:04:52 AM6/10/03
to
> I need to get something else on it's hardrive. I don't have solaris
> so I figured Debian or Gentoo.

Download Solaris from Sun, install it, be happy. Linux will run, but why?


Paul S Brown

unread,
Jun 10, 2003, 4:09:24 AM6/10/03
to
Jason Wagner wrote:

Why not?

It's only another OS and if it suits your purposes then fine. Solaris is
also "only another OS".

Besides, last time I checked only Solaris 9 was free download these days and
that seems a bit slow on SS10s.

Paul

Frank-Christian Kruegel

unread,
Jun 10, 2003, 7:51:25 AM6/10/03
to
On Tue, 10 Jun 2003 02:12:13 GMT, Steve<na...@email.com> wrote:

>It has Solaris 5.7
>
>I can't seem to get it to answer DHCP from my d-link with the open
>firmware. I tell it boot net:DHCP and it goes on about ARP/RARP
>broadcasts!

It doesn't work that way. You need reverse arp, bootparamd, tftp and nfs to do a
complete netboot - regardless which OS you are going to use. You can use an
external SCSI cdrom, but it must be on SCSI ID 6 and set to 512 byte blocks
(Standard is 2048 byte blocks). All Plextor drives and some Pioneer, Toshiba,
Yamaha, and Sony drives are suitable.

>I need to get something else on it's hardrive. I don't have solaris
>so I figured Debian or Gentoo.

Solaris is the recommended platform. As an alternative you may try NetBSD or
OpenBSD. Linux does not perform as well on Sparc as on the PC platform for which
it was developed.

The BSDs have suitable boot floppies, which make your life much easier.

Mit freundlichen Grüßen

Dipl.-Ing. Frank-Christian Krügel

emg...@gmx.net

unread,
Jun 11, 2003, 8:30:26 AM6/11/03
to
In comp.sys.sun.hardware Paul S Brown <usenet...@geekstuff.co.uk> wrote:
i[...]

> Besides, last time I checked only Solaris 9 was free download these days and
> that seems a bit slow on SS10s.

And, in addition to that, Solaris is a lot more expensive, as you only
get a licence with the free edition, if you bought your system from Sun
or an authorised dealer. Of course, it'll run just fine without a
licence...

N.B.: If anyone is aware of a change of this situation, I'd be more
than happy to hear about it. Last time I checked on sun.com, the
licence hadn't changed, but Sun seems to have pulled the FAQ which
clarified this (or I can't find it anymore).

Cheerio,

Thomas

Paul Grammens

unread,
Jun 23, 2003, 1:03:36 PM6/23/03
to

"Frank-Christian Kruegel" <usene...@istda.com> wrote

>
> The BSDs have suitable boot floppies, which make your life much easier.
>

I'm another newbie who just bought a Sun Ultra 1 200mhz/128meg, Sun OS 5.7.
I have the same problem, can't get past the password stage. I understand I
can do that if I boot from a CD, which I'd have to buy on Ebay.

Would it be possible to download this boot floppy and make a boot disk with
a PC, and then use that boot floppy to get access the hard disk and make the
necessary changes? I understand I need to change or delete the encrypted
password file, or something.

I'm familiar with DOS, and I have "Unix in a Nutshell" for System V and
Solaris 2.0. I used to have a Linux shell only internet acct, so I've done
a small amount of command line work.
Other than that, I'm totally unfamiliar with Solaris. Heh heh... I need to
get past this password to learn more.
-Paul


Lon Stowell

unread,
Jun 23, 2003, 1:21:47 PM6/23/03
to
Paul Grammens wrote:
> "Frank-Christian Kruegel" <usene...@istda.com> wrote
>
>>The BSDs have suitable boot floppies, which make your life much easier.
>>
>
>
> I'm another newbie who just bought a Sun Ultra 1 200mhz/128meg, Sun OS 5.7.
> I have the same problem, can't get past the password stage. I understand I
> can do that if I boot from a CD, which I'd have to buy on Ebay.

This works because you actually boot a unix image from that CD that
has a file system, and a built-in mount point of /a
You can then mount the devices from the real root drive on that
mount point to manipulate files such as /etc/passwd and /etc/shadow
or /etc/vfstab.

>
> Would it be possible to download this boot floppy and make a boot disk with
> a PC, and then use that boot floppy to get access the hard disk and make the
> necessary changes? I understand I need to change or delete the encrypted
> password file, or something.

You would need an application on a PC that can create a Sun boot
image that the open boot prom would recognize. This image would
then need to also provide tools that allow you to mount the
actual root disk as something another tool could edit. Yes you
could do it and it would be a good learning exercise in how
your system actually boots and the differences between a unix
type cd-rom and a pc type cd-rom.

>
> I'm familiar with DOS, and I have "Unix in a Nutshell" for System V and
> Solaris 2.0. I used to have a Linux shell only internet acct, so I've done
> a small amount of command line work.
> Other than that, I'm totally unfamiliar with Solaris. Heh heh... I need to
> get past this password to learn more.

Buy the CD.

> -Paul
>
>


Paul Grammens

unread,
Jun 23, 2003, 1:56:48 PM6/23/03
to

"Lon Stowell" <lon.s...@attbi.com> wrote
>
> Buy the CD.
>

LOL! OK, a couple come up on Ebay tomorrow.
Thanks for the advice.
-Paul


Josh McKee

unread,
Jun 23, 2003, 7:22:36 PM6/23/03
to
On Mon, 23 Jun 2003 10:03:36 -0700, Paul Grammens wrote:

>
> "Frank-Christian Kruegel" <usene...@istda.com> wrote
>>
>> The BSDs have suitable boot floppies, which make your life much easier.
>>
>
> I'm another newbie who just bought a Sun Ultra 1 200mhz/128meg, Sun OS 5.7.
> I have the same problem, can't get past the password stage. I understand I
> can do that if I boot from a CD, which I'd have to buy on Ebay.
>
> Would it be possible to download this boot floppy and make a boot disk with
> a PC, and then use that boot floppy to get access the hard disk and make the
> necessary changes? I understand I need to change or delete the encrypted
> password file, or something.

Unless you have a reason not to I would re-install the OS. Who knows what
state the current installation is in.

Josh

Thomas H Jones II

unread,
Jul 20, 2003, 10:30:47 PM7/20/03
to
In article <vfefp9s...@corp.supernews.com>,

You might want to hold off on buying CD's off of eBay. Some of the sellers
on there simply get the "free" media kits from Sun and resell them on eBay.
You can skip the middle man and go directly to Sun for media or download.

-tom

--

"You can only be -so- accurate with a claw-hammer." --me

Barry OGrady

unread,
Jan 11, 2010, 11:53:33 PM1/11/10
to
On Mon, 23 Jun 2003 10:03:36 -0700, "Paul Grammens" <gram...@svn.net>
wrote:

Just do a fresh install.

>-Paul
>

=-=-=
Barry
http://members.iinet.net.au/~barry.og

DoN. Nichols

unread,
Jan 12, 2010, 12:27:55 AM1/12/10
to
On 2010-01-12, Barry OGrady <god_fre...@hotmail.com> wrote:
> On Mon, 23 Jun 2003 10:03:36 -0700, "Paul Grammens" <gram...@svn.net>
> wrote:
>
>>
>>"Frank-Christian Kruegel" <usene...@istda.com> wrote
>>>
>>> The BSDs have suitable boot floppies, which make your life much easier.
>>>
>>
>>I'm another newbie who just bought a Sun Ultra 1 200mhz/128meg, Sun OS 5.7.
>>I have the same problem, can't get past the password stage. I understand I
>>can do that if I boot from a CD, which I'd have to buy on Ebay.

Or -- download (for free) from Sun's site. Really go for the
DVD image for Solaris 10 for the UltraSPARC (not the X86/X64
processors).

Oops -- you said "SPARC 10" (presumably "SPARCsystem 10"), not
"Ultra 10", so it won't run Solaris 10. I think that you will need to
back up to Solaris 8 to make it install on a SS-10, and you will be
installing from CD-ROM, not DVD-ROM. Does your system even have a
CD-ROM drive built in? Some did, some did not. If not, you will need
an external SCSI CD-ROM drive which has the default sector size of 512
bytes, instead of the 2048 which most CD-ROM drives have. This is
necessary to boot from the drive on an older system. Oh yes -- also
make the SCSI ID of the external CD-ROM drive ID 6, so you can simply
type "boot cdrom" to boot and install.

>>Would it be possible to download this boot floppy and make a boot disk with
>>a PC, and then use that boot floppy to get access the hard disk and make the
>>necessary changes?

A floppy does not have near enough space for the boot process.
You need at least a CD-ROM, and better a DVD-ROM, which contains the
whole OS in a single device.

>> I understand I need to change or delete the encrypted
>>password file, or something.

Edit the /etc/shadow file to remove the hashed password from the
line for root, and then you have the ability to log in as root with no
password -- which should be fixed with a new password before the system
is exposed on the net.

You probably won't have editing tools on the DVD-ROM -- at least
at the install boot point, so you will want to do something to preserve
the other passwords and account information in /etc/shadow. What I
would probably do is (assuming that you have mounted the system's root
filesystem on "/mnt"):

======================================================================
mount /dev/dsk/c0t0d0s0 /mnt
cd /mnt/etc
mv shadow shadow.SAFETY_COPY
echo "root::6445::::::" > /mnt/etc/shadow
chmod 400 /mnt/etc/shadow
cd /
umount /mnt
======================================================================

Hmm ... depending on how old a Solaris is in the system, you may
or may not have a /etc/shadow file present. If you don't, the hashed
(commonly mis-called "encrypted") password will be in /etc/passwd
instead. For that case:

======================================================================
mount /dev/dsk/c0t0d0s0 /mnt
cd /mnt/etc
echo "twig::0:1:Super-User:/:/sbin/sh" >> /mnt/etc/passwd
chmod 400 /mnt/etc/shadow
cd /
umount /mnt
======================================================================

And log into the system as "twig" not "root". Again, fix the lack of a
password long before you put it on the net or someone will be in control
of your machine in no time. The "echo" command in this one appends a
new line to the end of the /etc/passwd file, so your original root
password is preserved, if you want to use tools like "crack" to see
whether someone used a weak password on the account.

Note that the device name may not be the "/dev/dsk/c0t0d0s0" which I
have used above, but with a SS-10 it is likely to be that.

Or -- if you have another system capable of running Solaris, and
with an empty drive bay for a 50-pin SCSI drive, you mount the drive in
that and fix it there.

>>I'm familiar with DOS, and I have "Unix in a Nutshell" for System V and
>>Solaris 2.0. I used to have a Linux shell only internet acct, so I've done
>>a small amount of command line work.
>>Other than that, I'm totally unfamiliar with Solaris. Heh heh... I need to
>>get past this password to learn more.
>
> Just do a fresh install.

Yes --- the better choice, so you know that you have everything
there and nothing weird installed and left behind by someone else.
Better to have a known system.

If you are curious about what was left behind, get a spare
drive, make this the boot drive, and use it as a base from which to
explore the contents of the other drive.

Enjoy,
DoN.

--
Email: <dnic...@d-and-d.com> | Voice (all times): (703) 938-4564
(too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---

Oscar del Rio

unread,
Jan 13, 2010, 12:53:48 PM1/13/10
to
Barry OGrady wrote:
> On Mon, 23 Jun 2003 10:03:36 -0700, "Paul Grammens" <gram...@svn.net>
> wrote:

wow! you are replying 6.5 years too late!

Michael Laajanen

unread,
Jan 13, 2010, 5:06:56 PM1/13/10
to
hi,

its never to late :)

/michael

Oscar del Rio

unread,
Jan 14, 2010, 1:39:53 PM1/14/10
to

for the OP's SPARC 10 it might be too late.
although I still have one of those running

SunOS 5.8 sun4m sparc SUNW,SPARCstation-10

:)

Message has been deleted

DoN. Nichols

unread,
Jan 15, 2010, 3:37:54 PM1/15/10
to
On 2010-01-15, Barry OGrady <god_fre...@yahoo.com> wrote:
> Whoops!

O.K. The original article has vanished from my news feed by
now, so I find myself wondering which of two likely explanations apply:

1) The article was in an old system -- or an old backup -- which
was brought back online.

2) Posting from a system whose clock was vastly off -- either
because it was never properly set, or because the clock battery
is reaching the end of its life.

I must admit that I didn't notice the date when it first
appeared. And many news servers reject articles which are too old.

Oscar del Rio

unread,
Jan 15, 2010, 4:43:42 PM1/15/10
to
DoN. Nichols wrote:
> On 2010-01-15, Barry OGrady <god_fre...@yahoo.com> wrote:
>> On Wed, 13 Jan 2010 12:53:48 -0500, Oscar del Rio <del...@mie.utoronto.ca> wrote:
>>
>>> Barry OGrady wrote:
>>>> On Mon, 23 Jun 2003 10:03:36 -0700, "Paul Grammens" <gram...@svn.net>
>>>> wrote:
>>> wow! you are replying 6.5 years too late!
>> Whoops!
>
> O.K. The original article has vanished from my news feed by
> now, so I find myself wondering which of two likely explanations apply:
>
> 1) The article was in an old system -- or an old backup -- which
> was brought back online.
>
> 2) Posting from a system whose clock was vastly off -- either
> because it was never properly set, or because the clock battery
> is reaching the end of its life.

or

3) Barry has a new "giga" USENET provider
X-Usenet-Provider: http://www.giganews.com

and he didn't notice he was reading old news.

Just like reading old Google Groups articles and replying to them.
http://groups.google.com/group/comp.sys.sun.admin/topics?start=4000

Oscar del Rio

unread,
Jan 15, 2010, 4:47:29 PM1/15/10
to

Nope, it seems Google Groups does not let you reply to old posts :)

Barry OGrady

unread,
Jan 16, 2010, 7:04:35 AM1/16/10
to
On 15 Jan 2010 20:37:54 GMT, "DoN. Nichols" <dnic...@d-and-d.com>
wrote:

>On 2010-01-15, Barry OGrady <god_fre...@yahoo.com> wrote:
>> On Wed, 13 Jan 2010 12:53:48 -0500, Oscar del Rio <del...@mie.utoronto.ca> wrote:
>>
>>>Barry OGrady wrote:
>>>> On Mon, 23 Jun 2003 10:03:36 -0700, "Paul Grammens" <gram...@svn.net>
>>>> wrote:
>>>
>>>wow! you are replying 6.5 years too late!
>>
>> Whoops!
>
> O.K. The original article has vanished from my news feed by
>now, so I find myself wondering which of two likely explanations apply:
>
>1) The article was in an old system -- or an old backup -- which
> was brought back online.
>
>2) Posting from a system whose clock was vastly off -- either
> because it was never properly set, or because the clock battery
> is reaching the end of its life.
>
> I must admit that I didn't notice the date when it first
>appeared. And many news servers reject articles which are too old.

It appears my newsserver keeps articles in low volume newsgroups for a
very long time.

>
> Enjoy,
> DoN.
>
>--
> Email: <dnic...@d-and-d.com> | Voice (all times): (703) 938-4564
> (too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
> --- Black Holes are where God is dividing by zero ---

=-=-=
Barry
http://members.iinet.net.au/~barry.og

Michael Laajanen

unread,
Jan 16, 2010, 7:47:36 AM1/16/10
to
Hi,

me to, as a firewall since 2001 I think running S8 02/02 and ipfilter 3
> psrinfo -v
Status of processor 0 as of: 01/16/10 13:54:55
Processor has been on-line since 01/09/10 12:39:41.
The sparc processor operates at 40 MHz,
and has a sparc floating point processor.
Status of processor 2 as of: 01/16/10 13:54:55
Processor has been on-line since 01/09/10 12:39:45.
The sparc processor operates at 40 MHz,
and has a sparc floating point processor.
> uname -a
SunOS purify 5.8 Generic_108528-13 sun4m sparc SUNW,SPARCstation-10
>

/michael

0 new messages