Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setvec(1) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getvec(3C)

acc_vector(4)

setvec(1)

NAME

setvec − add or modify access vectors

SYNOPSIS

setvec [ -u username ] [ -g groupname ] [ -v vector ]

DESCRIPTION

This command changes or installs an access vector associated with username and/or groupname. It is available only to the super-user.

setvec accepts a username, groupname, and/or a vector as parameters.  If a vector is supplied as a parameter, it is used as the new maximum access vector, allowing the user to change multiple channels simultaneously.  If the user already has an entry in the acc_vector file, the original entry is displayed in hexadecimal notation.  If the user does not currently have an entry, but the group does, then the group’s original access vector is displayed. 

The choices for access bits are displayed on the screen as follows:

    Changing maximum access vector for user danl.
   0   ACC_SET_VEC                 1 ∗ ACC_MAC_EXP
 2 ∗ ACC_DAC_EXP                3   ACC_FBS
 4   ACC_SHMBIND                 5   ACC_NAMEPID
 6   ACC_USERMAP                7   ACC_SETPRI
 8 ∗ ACC_AUDIT                    9   ACC_PLOCK
10   ACC_KILL             11 ∗ ACC_MPADVISE
12   ACC_IPCCTL                  13   ACC_REBOOT
14   ACC_HIRESTMODE          15   ACC_ALLOWTOGGLE
16 ∗ ACC_USERINT                17   ACC_PTATTACH
18   ACC_RAWETH                19   <not used>
 Original maximum access vector = 02000
New maximum access vector = 010906
 Enter channel number to change (’q’ to quit):
 

Those items marked with an asterisk represent access which is currently allowed to this user and/or group.  Choosing an access bit which is currently allowed will cause it to be disallowed, and vice versa.  After entering the new access bits, enter ’q’ to quit entering data. 

setvec will prompt for verification before editing /etc/acc_vector. 

FILES

/etc/acc_vector

SEE ALSO

getvec(3C), acc_vector(4)

NOTES

Although the passwd and group files can be yellow-paged, the acc_vector file cannot. 

CX/UX User’s Reference Manual

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