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
Solved

how to change another server's date remotely?

Posted on 1997-11-12
2
239 Views
Last Modified: 2010-04-21
(1) Is it possible to change another server's (S1) date from server (S2) on a WAN?

(2) It seems the timed daemon works only on LAN and I've not been successfully with the following command as well.

rsh S2 -l root "date 1112231197".

I have included the following line in .rhosts in /home/usr1 in S2 for the rsh command.  Am I supposed to include the following line in .rhosts in root's home?  Where exactly?
 
192.1.1.222 root


I'm using AIX 4.1 on IBM RS/6000.
0
Comment
Question by:Rita060297
2 Comments
 
LVL 1

Accepted Solution

by:
rjhoward earned 50 total points
ID: 2007750
Rita:

You should have a .rhosts file in the / directory, and its mode should be either 400 or 600.

Here are other things to check:

1. Check to see that rshd is running on the target node.

2. Check to see that the target host name gets properly resolved.  If you ping S2, ping should return the IP address of S2.  To dodge the name resolution issue altogether, use the IP address in your rsh command, instead of the host name.

2. Check to see that you can telnet to the target node across the WAN.

Good luck.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2007751
why not using timed?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

840 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