|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 922 (0x39a) Types: TextFile Notes: UNIX file Names: »set.GID«
└─⟦bee8f15db⟧ Bits:30004169/disk2.imd Uniplex II+ V.6 release 1.0 (dansk) └─⟦bee8f15db⟧ UNIX Filesystem └─⟦this⟧ »up/new/usr/UAP/install.cmds/set.GID«
: install.cmds/set.GID - create GID if necessary' Usage: set.GID groupname Exits: undefined - always creates GID somehow!! eg: set.GID informix L..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T..T.R..T. ' GNAME=${1-informix} : Checking entry in /etc/group for $GNAME case `sed -n "/^$GNAME:/p" /etc/group` in '') chmod 644 /etc/group GID=300 while : ; do case `sed -n '/^[^:]*:[^:]*:'"$GID"':/p' /etc/group` in '') ;; *) GID=`expr $GID + 1`; continue;; esac case "$GID" in 599) echo " Can't allocate unique \"$GNAME\" GID. Using $GID$BELL" esac echo "$GNAME::$GID:" >>/etc/group chmod 444 /etc/group : ' $GNAME group (GID=$GID) added to /etc/group /etc/group permissions set to READ-ONLY' break done ;; esac