Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ siad_chk_user(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sia_chg_finger(3)

matrix.conf(4)

siad_chk_user(3)  —  Subroutines

NAME

siad_chk_user − check user dependent routine for SIA (Security Integration 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

loginnameThe loginname parameter specifies the login name of the user.  This parameter is read only. 

chkflgThe 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 determine if a particular mechanism can change the specified users password, finger, or shell. 

RETURN VALUES

The siad_chk_user() routine returns a bitmapped value which indicate the following status:

SIADSUCCESSIndicates unconditional success.  Lowest bit set to 1. 

SIADFAILIndicates conditional failure.  All bits set to 0.  If other security mechanisms are in place, continue. 

SIADSTOPIndicates unconditional failure.  Do not continue.  Second 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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026