Skip to content

Instantly share code, notes, and snippets.

andokai /
Last active September 12, 2023 06:29
Add SSH key only (no password) user with sudo permission to Ubuntu VM on Azure (and probably everywhere else)

Login to VM using an account with sudo permission.

Add the new user with the username "new-user".

sudo useradd -c 'New User' -m -G sudo new-user

-m creates the home folder and -G sudo adds them to the sudo user group.

Switch to the newly created account .

andokai / settings.json
Last active November 15, 2021 12:45
Black VSCode
"workbench.colorCustomizations": {
"tab.inactiveBackground": "#000000",
"activityBar.background": "#000000",
"sideBar.background": "#000000",
"editor.background": "#000000",
"editorGroupHeader.tabsBackground": "#000000",
"statusBar.background": "#000000",
"statusBar.debuggingBackground": "#000000",
"statusBar.noFolderBackground": "#000000",
"titleBar.activeBackground": "#000000",