2013-02-07 00:22:19 -06:00
|
|
|
/*
|
|
|
|
* auth.h -- PAM authorization code, common between chsh and chfn
|
|
|
|
* (c) 2012 by Cody Maloney <cmaloney@theoreticalchaos.com>
|
|
|
|
*
|
|
|
|
* this program is free software. you can redistribute it and
|
|
|
|
* modify it under the terms of the gnu general public license.
|
|
|
|
* there is no warranty.
|
|
|
|
*
|
|
|
|
*/
|
2019-09-20 09:10:43 -05:00
|
|
|
#ifndef UTIL_LINUX_LOGIN_AUTH_H
|
|
|
|
#define UTIL_LINUX_LOGIN_AUTH_H
|
2013-02-07 00:22:19 -06:00
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
extern int auth_pam(const char *service_name, uid_t uid, const char *username);
|
2019-09-20 09:10:43 -05:00
|
|
|
|
|
|
|
#endif /* UTIL_LINUX_LOGIN_AUTH_H */
|