diff options
Diffstat (limited to 'go/parabola_hackers/passwords.go.in')
-rw-r--r-- | go/parabola_hackers/passwords.go.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/go/parabola_hackers/passwords.go.in b/go/parabola_hackers/passwords.go.in index b9f93d9..7065eb1 100644 --- a/go/parabola_hackers/passwords.go.in +++ b/go/parabola_hackers/passwords.go.in @@ -23,8 +23,8 @@ import ( "sort" "strings" - "lukeshu.com/git/go/libgnulinux.git/crypt" - "lukeshu.com/git/go/libsystemd.git/sd_daemon/logger" + "git.lukeshu.com/go/libgnulinux/crypt" + "git.lukeshu.com/go/libsystemd/sd_daemon" ) /* Note that the password hash value should be one of: @@ -53,14 +53,14 @@ func LoadAllPasswords() (map[string]string, error) { } cols := strings.SplitN(line, ":", 2) if len(cols) != 2 { - logger.Err("hackers.git %s:%d: malformed line", shadow_file, i+1) + sd_daemon.Log.Err(fmt.Sprintf("hackers.git %s:%d: malformed line", shadow_file, i+1)) continue } username := cols[0] hash := cols[1] if hash != "!" && !crypt.SaltOk(hash) { hash = "!" - logger.Err("%s:%d: malformed hash for user: %s", shadow_file, i+1, username) + sd_daemon.Log.Err(fmt.Sprintf("%s:%d: malformed hash for user: %s", shadow_file, i+1, username)) } passwords[username] = hash } |