Interface | Description |
---|---|
BSDCLibrary | |
CLibrary | |
FreeBSDCLibrary | |
LinuxCLibrary | |
PAMLibrary |
libpam.so binding.
|
PAMLibrary.pam_conv.PamCallback | |
SolarisCLibrary |
Class | Description |
---|---|
BSDPasswd |
FreeeBSD, OpenBSD and MacOS passwd
struct passwd {
char *pw_name;
char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
time_t pw_change;
char *pw_class;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
time_t pw_expire;
};
|
CLibrary.group | |
CLibrary.Instance | |
CLibrary.passwd |
Comparing http://linux.die.net/man/3/getpwnam
and my Mac OS X reveals that the structure of this field isn't very portable.
|
FreeBSDPasswd |
FreeeBSD
struct passwd {
char *pw_name;
char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
time_t pw_change;
char *pw_class;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
time_t pw_expire;
int pw_fields;
};
|
LinuxPasswd |
Linux passwd
?struct passwd
{
char *pw_name;
char *pw_passwd;
__uid_t pw_uid;
__gid_t pw_gid;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
};
|
PAMLibrary.pam_conv | |
PAMLibrary.pam_handle_t | |
PAMLibrary.pam_message | |
PAMLibrary.pam_response | |
SolarisPasswd |
Solaris passwd
struct passwd {
char *pw_name;
char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
char *pw_age;
char *pw_comment;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
};
|
Copyright © 2018. All rights reserved.