Solved

Transferring /var/adm/wtmpx file from one local host to another.

Posted on 1997-08-14
3
257 Views
Last Modified: 2013-12-23
I need either a shell script or a c-program that will download the file/var/adm/wtmpx from one local UNIX host and
transfer it to another host, preferably with clear explanations of what is going on. The code will be much
appreciated.
0
Comment
Question by:ee96m10
  • 2
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 1582252
wtmpx is in binary format and, therefore, may not be portable between several UNIXs. If you have access to your UNIX host try:

rsh host last | more

0
 

Author Comment

by:ee96m10
ID: 1582253
When using rsh host last|more I get permission denied.
When I do rlogin or rsh host, I'm asked for a password and then am logged in. Is  there a shell script I can write that will
run without any interaction from the keyboard, that will use rsh?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1582254
No!
Your administrator must grant you access. This depends on the flavour of your UNIX, for example you must have an entry in ~/.rhosts or /etc/rhosts or /etc/netgroups or /etc/hosts.{access,deny}

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ssh setup on Cisco swith 11 65
slow vpn connection 9 64
Internet Service Provider 3 49
How to simulate latency? 5 24
Let’s list some of the technologies that enable smooth teleworking. 
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question