Cool gonna try this out , can be handy instead of creating it from scratch every time during tests
@hardwoodhomelab4 ай бұрын
It is a real time saver. Have fun creating ready to use VM's in seconds.
@amirnxoАй бұрын
i was thinking about why would i disable root , makes no sense if I'm trying to use everything properly but I read your comment on how to disable it without messing with sudo privs. makes perfect sense now! thanks!
@hardwoodhomelabАй бұрын
It works great. The user that cloud init creates has sudo privileges and it prevents log in from root, the only known user that has all privileges on a Linux system. If you disable ssh password login and add ssh keys to cloud init, you can stamp out a relatively secure fleet of VMs in minutes.
@amirnxoАй бұрын
@@hardwoodhomelab working on the perfect setup for me. btw try this for deleting the temp user. deluser --remove-home temp