Forest Notes

Tips, tricks, cheatsheets


Project maintained by iamzaychik Hosted on GitHub Pages — Theme by mattgraham

AWS Ask password for ubuntu user sudo

2019-04-15


AWS instances not asking password, when users escalating to root using sudo


  1. Configure password for user ubuntu:
    $ passwd ubuntu
    
  2. Change cloud provider settings:
    $ cat /etc/sudoers.d/90-cloud-init-users
    ubuntu ALL=(ALL) ALL