Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Are you trying to do rsync? – John Siu Nov 9 '12 at 5:49
among other things. biggest problem is that I've installed owncloud and now it fails to sync my data, because of the time difference. – Milad Naseri Nov 9 '12 at 10:43

If the time difference is accurate and stable at 30min, you can try switching the timezone within your vps. I actually suspect the time difference you are seeing is due to timezone.

The following link has detail info on this

share|improve this answer
Okay, the time being reported by the server is an accurate description of IRST time (Asia/Tehran), however the timezone is MSK. I want to see the same date and time, but have IRST as the timezone. When I do as suggested in the linked article I get the wrong date and time, but the correct timezone. – Milad Naseri Nov 11 '12 at 16:20
In that case, pick a timezone that is 30min faster to compensate that. – John Siu Nov 11 '12 at 18:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .