tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Hornby, Russ Mr." <HORNBY () fsc ! vafb ! af ! mil>
To: tru64-unix-managers
Subject: vdump/vrestore and banners
Date: Tue, 30 Apr 1996 11:06:00 +0000	[thread overview]
Message-ID: <96076331021558.tru64-unix-managers.marc@archive.invalid> (raw)


Thanks for all the help

ron.barrett@cubic.com
rwa@cs.athabascau.ca
jshen@kidsat.ucsd.edu
fxjwk@aurora.alaska.edu
justin.richardson@citicorp.com
philip.sloan@shorts.co.uk
censjg@torduff.hw.ac.uk

The questions were

> 1)  I'm running DU v3.2.c on a AXP 2100 and I'm using AdvFS.  I can backup 


> multiple file systems on one tape using vdump and the -N switch for no
> rewind (according to the log files this part seems to be working).  My
> problem is trying to retrieve files from the second or subsequent file
> systems using vrestore.  I realize "restore" has a -s switch that
apparently
> works, but of course "restore" only works with UFS and not AdvFS.
>
> 2)  What file(s) do I need to edit/create to show a login banner anytime
> anyone just connects to the machine via telnet or ftp. I'm not talking 
about
> AFTER they login, I know that can be handled by /etc/motd, I mean BEFORE
> they login.


And the suggetions were

1)  Use mt to position the tape to the right file before running vrestore; 
if
you use  vrestore -i  (interactive), you should see for sure if you've
gotten it to the right file!  For the second file:

mt -f /dev/nrmt0h fsf 1
vrestore -if /dev/nrmt0h

2) To create a logon banner, you will have to modify the
/etc/gettydefs file. Include a line as follows,

default###\r\n  UNAUTHORIZED etc. etc. #\r\n\r\n%v (%h)
%t\r\n\r\n\rlogin: #console

However this option gives only a very limited banner in DU v3.2.c

Easiest and most flexible way to do this is to use tcp wrappers V7.2 or
later. These allow you to define banners for most inetd started services,
and also implement access control if you want it. Well worth having!

Thanks all

             reply	other threads:[~1996-04-30 11:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-30 11:06 Hornby, Russ Mr. [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-04-26 13:20 vdump/vrestore and banners Hornby, Russ Mr.
read-only archive

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