Created
August 20, 2018 18:43
-
-
Save rohitbegani/47f697abd05714faed1e33c28c0a9d3f to your computer and use it in GitHub Desktop.
Manage Time as SuperUser on AWS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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