Changing time or offsetting it in OpenVZ contained server

Posted by Milad Naseri on Super User See other posts from Super User or by Milad Naseri
Published on 2012-11-07T13:10:55Z Indexed on 2012/11/09 17:05 UTC
Read the original article Hit count: 217

Filed under:
|
|
|
|

I am trying to run a VPS, a Debian box contained in an OpenVZ container. Obviously, I cannot use time --set or any such command, as the time must be set via the parent node. The owner of the parent node, however refuses to adjust the time (which is 30 minutes slower than the actual time).

All the programs on my system, consequently, now recognized the false time and this throws a wrench in my syncing. Is there a way to possibly change the system time without interference from the container's administrator? Or perhaps, failing that, a way to make the programs "see" the time 30 minutes faster than what is reported by the container?

© Super User or respective owner

Related posts about linux

Related posts about debian