Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ crpasswd(1) — AUX SR8.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getuid(2)

getgid(2)

CRPASSWD(1)

NAME

crpasswd − Create password and group files

SYNOPSIS

crpasswd

DESCRIPTION

The AUX command crpasswd creates AUX password and group files from DOMAIN registry files.  The command first reads the DOMAIN network registry’s person, project, organization (PPO) file and the site directory’s ACCOUNT (ACCT) file and produces password and group files.  It then places these files in the directory /etc (which must already be established). 

The crpasswd command next creates a file called passwd.map in the directory /etc.  The system calls getuid and getgid use this file to map DOMAIN subject identifiers to user and group IDs and vice-versa. 

You must invoke crpasswd each time you update the network registry.  Otherwise, getuid and getgid will return a value of -1 for user or group IDs.  You can run crpasswd automatically once a day by using the cron program.  However, if you run crpasswd using cron, the file protection for /etc/passwd and /etc/passwd.map must permit the "user" account write access (since cron runs in the "user" account environment). 

AUX does not support the distinction between real and effective user and group identifications (IDs), nor does it support the superuser facility. 

SEE ALSO

getuid(2), getgid(2), DOMAIN System Administrator’s Guide, DOMAIN System Command Reference Manual. 

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