home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / cmds / root.3 / usr / lib / acct / nulladm / nulladm~
Text File  |  1998-08-19  |  833b  |  25 lines

  1. #!/sbin/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. #    copyright    "%c%"
  12.  
  13. #ident    "@(#)acct:common/cmd/acct/nulladm.sh    1.5.1.3"
  14. #ident "$Header: $"
  15. #    "nulladm name..."
  16. #    "creates each named file mode 664"
  17. #    "make sure owned by adm (in case created by root)"
  18. for _file
  19. do
  20.     cp /dev/null $_file
  21.     chmod 664 $_file
  22.     chgrp adm $_file
  23.     chown adm $_file
  24. done
  25.