Link to home
Start Free TrialLog in
Avatar of ee96m10
ee96m10

asked on

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

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.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ee96m10
ee96m10

ASKER

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?
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}