1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package main import ( "nshd/hackers_git" "nslcd_systemd" "os" ) func main() { config := hackers_git.Config{ Pam_password_prohibit_message: "", Yamldir: "/var/cache/parabola-hackers/users", } backend := hackers_git.NewHackers(config) ret := nslcd_systemd.Main(backend) backend.Close() os.Exit(ret) }