Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Where is password located in the tar archives of the OSFv2.1 cdrom?
@ 1994-08-10 14:44 Chris Christian
  1994-08-11 13:38 ` Dave Parker
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Christian @ 1994-08-10 14:44 UTC (permalink / raw)


I sort of destroyed my orignal binary of password attempting to install
npasswd, and I need to know which tar file (I'm assuming OSFBASE200),
and how to extract passwd from that tar file.

Thanks,
Chris
-- 
Chris Christian	PUCC General Consultant
PGP PUBLIC KEY available upon request


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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
  1994-08-10 14:44 Chris Christian
@ 1994-08-11 13:38 ` Dave Parker
  1994-09-10 18:44   ` Mike Redford
  0 siblings, 1 reply; 10+ messages in thread
From: Dave Parker @ 1994-08-11 13:38 UTC (permalink / raw)


In article <32ap47$r8h@mozo.cc.purdue.edu>, cjdc@staff.cc.purdue.edu (Chris Christian) writes:
|>
|>I sort of destroyed my orignal binary of password attempting to install
|>npasswd, and I need to know which tar file (I'm assuming OSFBASE200),
|>and how to extract passwd from that tar file.
|>
|>Thanks,
|>Chris
|>-- 
|>Chris Christian	PUCC General Consultant
|>PGP PUBLIC KEY available upon request
|>

You shouldn't have to pull passwd from the subset.  The subset, btw, is OSFBASE
as you assumed.  You could have listed the contents of this subset be executing
setld -i OSFBASE200.

Back to your problem...

On your system, you will find the following two problems:  /etc/.new..passwd and
/etc/.proto..passwd.  They are likely identical.  Simply copy .proto..passwd to
passwd and you'll be back to having the passwd that was present immediately
after the initial installation.

Dave


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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
@ 1994-08-11 15:48 Chris Christian
  1994-08-12  6:17 ` system PRIVILEGED account
  1994-08-12 12:41 ` Dave Parker
  0 siblings, 2 replies; 10+ messages in thread
From: Chris Christian @ 1994-08-11 15:48 UTC (permalink / raw)


djp@peewee.unx.dec.com (Dave Parker) writes:
>cjdc@staff.cc.purdue.edu (Chris Christian) writes:
>|>I sort of destroyed my orignal binary of password attempting to install
>|>npasswd, and I need to know which tar file (I'm assuming OSFBASE200),
>|>and how to extract passwd from that tar file.
>|>
>You shouldn't have to pull passwd from the subset.  The subset, btw, is OSFBASE
>as you assumed.  You could have listed the contents of this subset be executing
>setld -i OSFBASE200.

You can also use fverify -n < /usr/.smdb./OSFBASE200 as I later found out.

>On your system, you will find the following two problems: /etc/.new..passwd and
>/etc/.proto..passwd.  They are likely identical.  Simply copy .proto..passwd to
>passwd and you'll be back to having the passwd that was present immediately
>after the initial installation.

BUT these are the /etc/passwd files, what I need is the BINARY file that
lives in /usr/bin/passwd, which I overwrote with another binary file
attempting to install npasswd (my mistake)

So, I DO need to use tar somehow to restore the BINARY from the OSFBASE
tar data set. How, is what I need to know the answer too.

Thanks in advance,
Chris
-- 
Chris Christian	PUCC General Consultant
PGP PUBLIC KEY available upon request


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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
  1994-08-11 15:48 Where is password located in the tar archives of the OSFv2.1 cdrom? Chris Christian
@ 1994-08-12  6:17 ` system PRIVILEGED account
  1994-08-12 17:30   ` Art Zemon
  1994-08-12 12:41 ` Dave Parker
  1 sibling, 1 reply; 10+ messages in thread
From: system PRIVILEGED account @ 1994-08-12  6:17 UTC (permalink / raw)


Chris Christian (cjdc@staff.cc.purdue.edu) wrote:
: [ ... ]

: So, I DO need to use tar somehow to restore the BINARY from the OSFBASE
: tar data set. How, is what I need to know the answer too.

: Thanks in advance,
: Chris

You had to uncompress the tar archive first before extracting:

   > cp OSFBASE200 /tmp/OSFBASE200.Z
   > umcompress /tmp/OSFBASE200.Z
   > tar xvf /tmp/OSFBASE200 ./usr/bin/passwd

Good luck

Michael Polnick
TU Dresden
polnick@rdalph.urz.tu-dresden.de



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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
  1994-08-11 15:48 Where is password located in the tar archives of the OSFv2.1 cdrom? Chris Christian
  1994-08-12  6:17 ` system PRIVILEGED account
@ 1994-08-12 12:41 ` Dave Parker
  1994-08-12 17:52   ` Torbj|rn Lindgren
  1 sibling, 1 reply; 10+ messages in thread
From: Dave Parker @ 1994-08-12 12:41 UTC (permalink / raw)


In article <32dh7p$44o@mozo.cc.purdue.edu>, cjdc@staff.cc.purdue.edu (Chris Christian) writes:
|>
|>BUT these are the /etc/passwd files, what I need is the BINARY file that
|>lives in /usr/bin/passwd, which I overwrote with another binary file
|>attempting to install npasswd (my mistake)
|>
|>So, I DO need to use tar somehow to restore the BINARY from the OSFBASE
|>tar data set. How, is what I need to know the answer too.
|>
|>Thanks in advance,
|>Chris
|>-- 
|>Chris Christian	PUCC General Consultant
|>PGP PUBLIC KEY available upon request
|>

Sorry, I misunderstood the original request.  However, it looks like you still
won't have to access the subset directly.  The reason is that /usr/bin/passwd is
a hard link to /usr/bin/chfn.  Assuming you still have chfn around, just create
the link to it.

If you do want to access the subset anyway, do the following (assuming the DEC
OSF/1 CDROM is mounted on /mnt):

cd / 
uncompress < /mnt/ALPHA/BASE/OSFBASE200 | tar xpf - ./usr/bin/passwd


Dave


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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
  1994-08-12  6:17 ` system PRIVILEGED account
@ 1994-08-12 17:30   ` Art Zemon
  1994-08-12 21:17     ` Torbj|rn Lindgren
  0 siblings, 1 reply; 10+ messages in thread
From: Art Zemon @ 1994-08-12 17:30 UTC (permalink / raw)


system PRIVILEGED account (polnick@rdalph) wrote:
:    > cp OSFBASE200 /tmp/OSFBASE200.Z
:    > umcompress /tmp/OSFBASE200.Z
:    > tar xvf /tmp/OSFBASE200 ./usr/bin/passwd

Save yourself some disk space and some typing.  Try this instead

  # cd /
  # mount -r /dev/rz4c /mnt
  # zcat /mnt/ALPHA/BASE/OSFBASE200 | tar xvf - ./usr/bin/passwd

That's why UNIX has pipes, after all....

Cheers,
	-- Art Z.
	   art@unix.dra.com
	   72406.3275@CompuServe.com


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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
  1994-08-12 12:41 ` Dave Parker
@ 1994-08-12 17:52   ` Torbj|rn Lindgren
  1994-08-15 19:02     ` Art Zemon
  0 siblings, 1 reply; 10+ messages in thread
From: Torbj|rn Lindgren @ 1994-08-12 17:52 UTC (permalink / raw)


In article <32fql5$gb@jac.zko.dec.com>,
Dave Parker <djp@peewee.unx.dec.com> wrote:
>In article <32dh7p$44o@mozo.cc.purdue.edu>, cjdc@staff.cc.purdue.edu (Chris Christian) writes:
>If you do want to access the subset anyway, do the following (assuming the DEC
>OSF/1 CDROM is mounted on /mnt):
>
>cd / 
>uncompress < /mnt/ALPHA/BASE/OSFBASE200 | tar xpf - ./usr/bin/passwd

This doesn't work, since ./usr/bin/passwd is a (hard) link to
./usr/bin/chfn (it fails with the message 'can't link ...')

Using Gnu Tar it's possibel to extract it using:

tar xpzf /mnt/ALPHA/BASE/OSFBASE200 ./usr/bin/passwd ./usr/bin/chfn

It's posssibel to extract using the standard tar by adding
./usr/bin/chfn at the end of your command, but the Gnu Tar solution is
much nicer :-)


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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
  1994-08-12 17:30   ` Art Zemon
@ 1994-08-12 21:17     ` Torbj|rn Lindgren
  0 siblings, 0 replies; 10+ messages in thread
From: Torbj|rn Lindgren @ 1994-08-12 21:17 UTC (permalink / raw)


In article <32gbjb$bi9@indigo.dra.com>, Art Zemon <art@unix.dra.com> wrote:
>Save yourself some disk space and some typing.  Try this instead
>
>  # cd /
>  # mount -r /dev/rz4c /mnt
>  # zcat /mnt/ALPHA/BASE/OSFBASE200 | tar xvf - ./usr/bin/passwd

[Flame On]
Why doesn't anyone *check* before they write. The other suggestion
only contained one error (it will fail with 'Could not link...'),
instead of the two this contained.

Attempts to do this results in '/mnt/ALPHA/BASE/OSFBASE200.Z: No such
file or directory'! 
[Flame Off]

Try
zcat < /mnt/ALPHA/BASE/OSFBASE200 | tar xpvf - ./usr/bin/passwd ./usr/bin/chfn
or using Gnu Tar
gtar xvpzf/mnt/ALPHA/BASE/OSFBASE200 ./usr/bin/passwd ./usr/bin/chfn


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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
  1994-08-12 17:52   ` Torbj|rn Lindgren
@ 1994-08-15 19:02     ` Art Zemon
  0 siblings, 0 replies; 10+ messages in thread
From: Art Zemon @ 1994-08-15 19:02 UTC (permalink / raw)


Torbj|rn Lindgren (tl@cd.chalmers.se) wrote:
: >uncompress < /mnt/ALPHA/BASE/OSFBASE200 | tar xpf - ./usr/bin/passwd


: This doesn't work, since ./usr/bin/passwd is a (hard) link to
: ./usr/bin/chfn (it fails with the message 'can't link ...')

Well I guess we are all monkey's uncles!  The trivial and by-far
easiest fix is simply

	# ln /usr/bin/chfn /usr/bin/passwd

Ah well....  Live 'n' learn....

Cheers,
	-- Art Z.
	   art@unix.dra.com
	   72406.3275@CompuServe.com


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

* Re: Where is password located in the tar archives of the OSFv2.1 cdrom?
  1994-08-11 13:38 ` Dave Parker
@ 1994-09-10 18:44   ` Mike Redford
  0 siblings, 0 replies; 10+ messages in thread
From: Mike Redford @ 1994-09-10 18:44 UTC (permalink / raw)


YOUR CONTRIBUTIONS ARE HIGHLY APPRECIATED.
PLEASE MAIL REPLY DIRECTLY TO ME.

City of Philadelphia  is think of Network
system that will support 70 clients. We need
to pick a server. I will like UNIWARE?
1. What type of server do I need?

2. Is the number of user dependent on the capacity of the server?

3. How do I choose a HUB?

4. With Uniware do I need network cards or modem for remote site?

5. Is it necessary to have 9600 buad rate or will 2400 baud rate do?

6.  Using the modem the remote sites, can dail in to connect to the server.

7.  To connect print to the 70 sites, the printers will 
    be controled by the server

    MIKE REDFORD




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

end of thread, other threads:[~1994-09-10 18:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-11 15:48 Where is password located in the tar archives of the OSFv2.1 cdrom? Chris Christian
1994-08-12  6:17 ` system PRIVILEGED account
1994-08-12 17:30   ` Art Zemon
1994-08-12 21:17     ` Torbj|rn Lindgren
1994-08-12 12:41 ` Dave Parker
1994-08-12 17:52   ` Torbj|rn Lindgren
1994-08-15 19:02     ` Art Zemon
  -- strict thread matches above, loose matches on Subject: below --
1994-08-10 14:44 Chris Christian
1994-08-11 13:38 ` Dave Parker
1994-09-10 18:44   ` Mike Redford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox