?
Solved

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

Posted on 1997-08-14
3
Medium Priority
?
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 300 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

752 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