Alternatives to set the system date ??

Hi all,

I need to syncronize a Solaris client with a QNX Server, modifying the client date, I need any alternative to set the sistem date (client Solaris) but i can't use commands date -a XXX (XXX are the time in seconds) and can't use rdate and ntp.

How can I do It? :confused:

this sounds like you are trying to wind a watch w/o a crown.... you just cant do it.

..... well you cant just do it and be accurate about it.

One possible way to synchronise may be to telnet to the qnx server on port 13, from a terminal eg.

$ telnet qnx 13

This will dump the time on that system to the console, which you might be able to capture, pass through awk/sed or something like that and pass a number into the date command. At best it won't be as accurate as ntp but close enough for most purposes.

If you can't use date to set time, then either you have insufficient priviliges to do so (root) or the system needs to be reinstalled.