Add daemon into newt

Former-commit-id: 00a5fa1f37
This commit is contained in:
Owen
2026-02-17 22:10:01 -08:00
committed by Owen Schwartz
parent 889e0439a8
commit 78219f1302
3 changed files with 319 additions and 91 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ func ensureUser(username string, meta ConnectionMetadata) error {
}
func createUser(username string, meta ConnectionMetadata) error {
args := []string{}
args := []string{"-s", "/bin/bash"}
if meta.Homedir {
args = append(args, "-m")
} else {