Fix system account detection

This commit is contained in:
Viktor Liu
2025-11-21 11:55:46 +01:00
parent a449cd9991
commit 38972d3dc9
2 changed files with 120 additions and 0 deletions

View File

@@ -72,6 +72,11 @@ func IsSystemAccount(username string) bool {
return true
}
}
if strings.HasSuffix(username, "$") {
return true
}
return false
}