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.

Revisions

  1. rohitbegani revised this gist Aug 20, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,8 @@

    * 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:
    * 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:
  2. rohitbegani created this gist Aug 20, 2018.
    14 changes: 14 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    # 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`