Solved

how to change another server's date remotely?

Posted on 1997-11-12
2
215 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now