00001 #ifndef _system_passwd_h
00002 #define _system_passwd_h
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifdef HAVE_PWD_H
00027 #include <pwd.h>
00028 #endif
00029 #ifdef HAVE_GRP_H
00030 #include <grp.h>
00031 #endif
00032 #ifdef HAVE_SYS_PRIV_H
00033 #include <sys/priv.h>
00034 #endif
00035 #ifdef HAVE_SYS_ID_H
00036 #include <sys/id.h>
00037 #endif
00038
00039 #ifdef HAVE_CRYPT_H
00040 #include <crypt.h>
00041 #endif
00042
00043 #ifdef HAVE_SHADOW_H
00044 #include <shadow.h>
00045 #endif
00046
00047 #ifdef HAVE_SYS_SECURITY_H
00048 #include <sys/security.h>
00049 #include <prot.h>
00050 #define PASSWORD_LENGTH 16
00051 #endif
00052
00053 #ifdef HAVE_GETPWANAM
00054 #include <sys/label.h>
00055 #include <sys/audit.h>
00056 #include <pwdadj.h>
00057 #endif
00058
00059 #ifdef HAVE_COMPAT_H
00060 #include <compat.h>
00061 #endif
00062
00063 #ifdef REPLACE_GETPASS
00064 #define getpass(prompt) getsmbpass((prompt))
00065 #endif
00066
00067 #ifndef NGROUPS_MAX
00068 #define NGROUPS_MAX 32
00069 #endif
00070
00071
00072
00073 #ifndef PASSWORD_LENGTH
00074 #define PASSWORD_LENGTH 8
00075 #endif
00076
00077 #if defined(HAVE_PUTPRPWNAM) && defined(AUTH_CLEARTEXT_SEG_CHARS)
00078 #define OSF1_ENH_SEC 1
00079 #endif
00080
00081 #ifndef ALLOW_CHANGE_PASSWORD
00082 #if (defined(HAVE_TERMIOS_H) && defined(HAVE_DUP2) && defined(HAVE_SETSID))
00083 #define ALLOW_CHANGE_PASSWORD 1
00084 #endif
00085 #endif
00086
00087 #if defined(HAVE_CRYPT16) && defined(HAVE_GETAUTHUID)
00088 #define ULTRIX_AUTH 1
00089 #endif
00090
00091 #endif