Skip to content

Commit

Permalink
fix adduser options
Browse files Browse the repository at this point in the history
  • Loading branch information
ITProKyle committed Jun 21, 2024
1 parent 8c0e607 commit 24b42d7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"customizations": {
"vscode": {
"extensions": [
"Compulim.vscode-clock",
"esbenp.prettier-vscode",
"SirTori.indenticator",
"oderwat.indent-rainbow",
"streetsidesoftware.code-spell-checker"
],
"settings": {
Expand Down
2 changes: 2 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
"maxNumberOfProblems": 100,
"version": "0.2",
"words": [
"Compulim",
"contenv",
"esbenp",
"frenck",
"indenticator",
"KHTML",
"libbz",
"libncursesw",
Expand Down
2 changes: 1 addition & 1 deletion vscode/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ startup: services
uart: true
url: https://github.com/finleyfamily/hass-addon-vscode
usb: true
version: 0.0.0-dev3
version: 0.0.0-dev4
2 changes: 1 addition & 1 deletion vscode/rootfs/etc/s6-overlay/s6-rc.d/init-ssh/run
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ username=$(bashio::string.lower "${username}")
if [[ "${username}" != "root" ]]; then

# Create an user account
adduser -D "${username}" -s "/bin/sh" \
adduser --disabled-password "${username}" --shell "/usr/bin/zsh" \
|| bashio::exit.nok 'Failed creating the user account'

# Add new user to the wheel group
Expand Down

0 comments on commit 24b42d7

Please sign in to comment.