Skip to content

Instantly share code, notes, and snippets.

@rohitbegani
Created August 20, 2018 18:43
Show Gist options
  • Save rohitbegani/47f697abd05714faed1e33c28c0a9d3f to your computer and use it in GitHub Desktop.
Save rohitbegani/47f697abd05714faed1e33c28c0a9d3f to your computer and use it in GitHub Desktop.
Manage Time as SuperUser on AWS
# To move to the [Amazon Time Sync Service](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html)
* Remove current NTP as described on the link above
* If `/etc/chrony.conf` is a read only file and you are unable to edit it
then it means that the current user doesn't have `root permissions`. To set it:
* `SSH` into your EB instance:
* Assume root permissions by:
* `sudo su`
* Create temporary password for `Root User`:
* `# passwd root`
* Run `vi` to edit any files as `Root User`.
* Delete the temporary password:
* `passwd -d root`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment