2007-10-07 17:14:02 +05:30
|
|
|
/*
|
2021-12-05 21:05:27 +05:30
|
|
|
* SPDX-FileCopyrightText: 1992 - 1993, Julianne Frances Haugh
|
|
|
|
* SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz
|
|
|
|
* SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko
|
|
|
|
* SPDX-FileCopyrightText: 2009 , Nicolas François
|
2007-10-07 17:14:02 +05:30
|
|
|
*
|
2021-12-05 21:05:27 +05:30
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2008-04-27 06:10:09 +05:30
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2007-11-11 05:16:11 +05:30
|
|
|
* $Id$
|
2007-10-07 17:14:02 +05:30
|
|
|
*/
|
|
|
|
|
2007-10-07 17:16:07 +05:30
|
|
|
#ifndef USE_PAM
|
2009-04-23 23:13:27 +05:30
|
|
|
int pw_auth (const char *cipher,
|
|
|
|
const char *user,
|
|
|
|
int flag,
|
|
|
|
/*@null@*/const char *input);
|
2007-10-07 17:16:25 +05:30
|
|
|
#endif /* !USE_PAM */
|
2007-10-07 17:14:02 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Local access
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define PW_SU 1
|
|
|
|
#define PW_LOGIN 2
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Administrative functions
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define PW_ADD 101
|
|
|
|
#define PW_CHANGE 102
|
|
|
|
#define PW_DELETE 103
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Network access
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define PW_TELNET 201
|
|
|
|
#define PW_RLOGIN 202
|
|
|
|
#define PW_FTP 203
|
|
|
|
#define PW_REXEC 204
|