[NTLUG:Discuss] .rhost and tar command
Fred James
fredjame at concentric.net
Thu Jan 30 12:17:54 CST 2003
Machine A: the tape server: UNIX (IRIX 6.4)
Machine B: the client: Linux (RH 71.) - there is a user called backups
On Machine A:
(a) made a user named backups
(b) added Machine B to /etc/hosts
(c) added .rhost file to home directory of backups
(d) listed Machine B and user backups in /home/backups/.rhosts
(e) entered at command line (as user backups):
#> tar -tvf /dev/tape
(f) results proved that the command worked.
On Machine B:
(a) added Machine A to /etc/hosts
(b) entered at command line (as user backups):
#> tar -tvf backups at machineA:/dev/tape
(c) error messages:
tar: backups at machineA\:/dev/tape: Cannot read: Cannot allocate memory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
Any insight would be appreciated
Thanks
PS: tape was originally made by root user - does that make a difference?
--
find . -type f | xargs file | grep -i text | cut -f1 -d: | xargs grep "..."
More information about the Discuss
mailing list