/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (C) 1996
* David L. Nugent. All rights reserved.
*
#include <sys/stat.h>
-#define _WITH_GETLINE
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
M_NUM
};
+enum _passmode
+{
+ P_NO,
+ P_NONE,
+ P_RANDOM,
+ P_YES
+};
+
enum _which
{
W_USER,
};
#define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO)
-#define _PATH_PW_CONF "/etc/pw.conf"
+#define _PW_CONF "pw.conf"
#define _UC_MAXLINE 1024
#define _UC_MAXSHELLS 32