Created
December 12, 2024 18:25
-
-
Save taufikherjanto/dc9521475ba8380406ce55b4fcc4a3ee to your computer and use it in GitHub Desktop.
cloud-init challenge for user access ubuntu & user challenge04
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
hostname: challenge4-ubuntu22 | |
# Add user and sudo access | |
users: | |
- default | |
- name: challenge04 | |
ssh-authorized-keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCi4bsvYa6bHoWXFSUqTheJ7pTc0c9YJVTVTvmUNSdnGQpnqBRtc6IS/0gfpj/s9A1D/S0SflRE4bunMxXjGwsMAWXv47WVnpooLFdUkvwhUkFJDJtYFzpk0RPFVw3uggL7+4rDu9ok5v8KFbSsukMe2kbtuji6U4DINhNKVa9LrFGe8fPfxd2kOvr05a7XsjDLiGJkAAIo3V+nAJIYfA3lf4mEdcBcfCn6Y+7Ndn0XToVdW0H1CpQqiQbXTt9tgeTolHielPKOhJVPJhKpYLKhl/jKPyqtPbQgHXik83favKvEFUvZ+2WHrAVDIcLnhoKfoXxjRfxHYLK13ljYoY7If4NIrEX9mppVdss/34YomjvDIIAZhnPHKbrht5sZSxgeizHSmHVBOLGRTA0Oj4ITn9b57GsnG7Q1Vo39y6DQMfmBXR1I3dxuGrcRfGpboCnO4IaOvb97xeN5/w/coPxuMNtGIxAKpKUoZpuf57wrtQ/Lq/i9jm6Ob4ML5gWGcXs= student@pod-taufikherjanto-controller | |
passwd: academy!@# | |
sudo: ["ALL=(ALL) NOPASSWD:ALL"] | |
lock_passwd: false | |
ssh_pwauth: true # Mengaktifkan autentikasi password SSH | |
disable_root: true | |
chpasswd: | |
list: | | |
challenge04:academy!@# | |
expire: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment