diff options
author | Jakob Kaivo <jkk@ung.org> | 2021-02-01 13:09:18 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2021-02-01 13:09:18 -0500 |
commit | 56a7bd183c92c4f1b519376ccd6155a24bae970c (patch) | |
tree | 5041a2bea9c8cf5e67e4a20b765722948ce8fcde /check/check.c | |
parent | 7e2116e5b07bd2a065bc9b8f1cbc63f57e41e285 (diff) |
implement basic PAM authentication
Diffstat (limited to 'check/check.c')
-rw-r--r-- | check/check.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/check/check.c b/check/check.c index e95637a..32cd9c9 100644 --- a/check/check.c +++ b/check/check.c @@ -27,13 +27,6 @@ void fatal(int include_errno, char *fmt, ...) exit(EXIT_FAILURE); } -static int authenticate(const char *user) -{ - printf("need to authenticate\n"); - (void)user; - return 1; -} - static char *get_username(void) { struct passwd *pwd = getpwuid(getuid()); |