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~
Text File  |  1998-08-19  |  1KB  |  24 lines

  1. #!/bin/sh
  2.  
  3. # Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved. 
  4. #                                                                         
  5. #        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE               
  6. #                   SANTA CRUZ OPERATION INC.                             
  7. #                                                                         
  8. #   The copyright notice above does not evidence any actual or intended   
  9. #   publication of such source code.                                      
  10.  
  11. #
  12. # This script should be installed into /usr/lib/scoadmin/account/ownerprivs
  13. # to be executed by make-owner
  14. #
  15.  
  16. ADMIN=${ADMIN:-$1}
  17. OWN=${OWN:-$2}
  18.  
  19. [ "$ADMIN" != "" -a "$OWN" != "" ] && {
  20.     $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
  21.  
  22. }
  23.  
  24.