mirror of
https://github.com/fosrl/newt.git
synced 2026-02-20 03:46:39 +00:00
Add daemon into newt
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user