f93cf255d4
Closes #238 Update all files to list SPDX license shortname. Most files are BSD 3 clause license. The exceptions are: serge@sl ~/src/shadow$ git grep SPDX-License | grep -v BSD-3-Clause contrib/atudel:# SPDX-License-Identifier: BSD-4-Clause lib/tcbfuncs.c: * SPDX-License-Identifier: 0BSD libmisc/salt.c: * SPDX-License-Identifier: Unlicense src/login_nopam.c: * SPDX-License-Identifier: Unlicense src/nologin.c: * SPDX-License-Identifier: BSD-2-Clause src/vipw.c: * SPDX-License-Identifier: GPL-2.0-or-later Signed-off-by: Serge Hallyn <serge@hallyn.com>
44 lines
751 B
C
44 lines
751 B
C
/*
|
|
* 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
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef USE_PAM
|
|
int pw_auth (const char *cipher,
|
|
const char *user,
|
|
int flag,
|
|
/*@null@*/const char *input);
|
|
#endif /* !USE_PAM */
|
|
|
|
/*
|
|
* 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
|