sia_make_entity_pwd(3)sia_make_entity_pwd(3)NAMEsia_make_entity_pwd - Make entity password - SIA (Security Integration
Architecture)
SYNOPSIS
#include <siad.h> #include <signal.h> #include <setjmp.h>
int sia_make_entity_pwd(
struct passwd *pwd,
SIAENTITY *entity );
LIBRARY
Standard C library (libc.so and libc.a)
PARAMETERS
The entity parameter points to the SIAENTITY structure that will have
its pwd data updated. The values in the SIAENTITY structure are changed
by this routine. The pwd parameter points to the passwd structure that
will have its data duplicated by the pwd field of the entity structure.
DESCRIPTION
The sia_make_entity_pwd() routine fills in the pwd field of the entity
structure, using malloc() to ensure that the copied data is not over‐
written by subsequent calls to getpwent().
RETURN VALUES
The sia_make_entity_pwd() routine returns SIASUCCESS or SIAFAIL.
ERRORS
The errno value is not (normally) set explicitly by sia_* routines. The
errno values are those returned from the dynamic loader interface, from
dependent (siad_*) routines, or from malloc. Possible errors include
resource constraints (no memory) and various authentication failures.
FILES
/etc/passwd
SEE ALSOsia_ses_init(3)
Security
sia_make_entity_pwd(3)