Manual Page Result
0
Command: siad_chk_user | Section: 3 | Source: Digital UNIX | File: siad_chk_user.3.gz
siad_chk_user(3) Library Functions Manual siad_chk_user(3)
NAME
siad_chk_user - check user dependent routine for SIA (Security Integra-
tion Architecture)
LIBRARY
Standard C library (libc.so and libc.a)
SYNOPSIS
#include <sia.h>
#include <siad.h>
int siad_chk_user(
char *loginname,
int chkflg);
PARAMETERS
loginname The loginname parameter specifies the login name of the user.
This parameter is read only.
chkflg The chkflg parameter indicates which change request is being
made. See CHGFINGER, CHGPASSWD, and CHGSHELL in siad.h for
more information.
DESCRIPTION
siad_chk_user()
This routine is called by the SIA change information interfaces to de-
termine if a particular mechanism can change the specified users pass-
word, finger, or shell.
RETURN VALUES
The siad_chk_user() routine returns a bitmapped value which indicate
the following status:
SIADSUCCESS Indicates unconditional success. All bits set to 0.
SIADFAIL Indicates conditional failure. Lowest bit set to 1. If
other security mechanism are in place, continue.
SIADSTOP Indicates unconditional failure. Do not continue. Sec-
ond lowest bit set to 1.
ERRORS
The errno values are those returned from the dynamic loader interface,
from the (siad_*) routines, or from malloc. Possible errors include
resource constraints (no memory) and various authentication failures.
FILES
/etc/passwd
RELATED INFORMATION
sia_chg_finger(3), matrix.conf(4)
Security delim off
siad_chk_user(3)