home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 March B
/
SCO_CASTOR4RRT.iso
/
nwnet
/
root
/
usr
/
lib
/
scoadmin
/
account
/
OwnerPrivs
/
nwsrvr
/
nwsrvr~
Wrap
Text File
|
1998-08-19
|
1KB
|
24 lines
#!/bin/sh
# Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved.
#
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE
# SANTA CRUZ OPERATION INC.
#
# The copyright notice above does not evidence any actual or intended
# publication of such source code.
#
# This script should be installed into /usr/lib/scoadmin/account/ownerprivs
# to be executed by make-owner
#
ADMIN=${ADMIN:-$1}
OWN=${OWN:-$2}
[ "$ADMIN" != "" -a "$OWN" != "" ] && {
$ADMIN -a dsinstall:/usr/sbin/dsinstall:allprivs,dsrepair:/usr/sbin/dsrepair:allprivs,dsadmin:/usr/sbin/dsadmin:allprivs,nwserver:/usr/sbin/nwserver:allprivs,ndsbackup:/usr/sbin/ndsbackup:allprivs,ndsrestore:/usr/sbin/ndsrestore:allprivs,tsadmin:/usr/sbin/tsadmin:allprivs,nwshut:/usr/sbin/nwshut:allprivs,nwvm:/usr/sbin/nwvm:allprivs,nwcm:/usr/sbin/nwcm:allprivs,pserver:/usr/sbin/pserver:allprivs,stopprint:/usr/sbin/stopprint:allprivs,nwserverstatus:/usr/sbin/nwserverstatus:allprivs,NWS_Status:/usr/X/bin/NWS_Status:allprivs,NWVolume_Setup:/usr/X/bin/NWVolume_Setup:allprivs,NWS_Licensing:/usr/X/bin/NWS_Licensing:allprivs $OWN >/dev/null 2>&1
}