home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / lib / acct / nulladm < prev    next >
Encoding:
Text File  |  1988-06-26  |  467 b   |  20 lines

  1. :
  2. #    Copyright (c) 1984, 1986, 1987, 1988 AT&T
  3. #      All Rights Reserved
  4.  
  5. #    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
  6. #    The copyright notice above does not evidence any
  7. #    actual or intended publication of such source code.
  8.  
  9. #ident    "@(#)acct:nulladm.sh    1.4"
  10. #    "nulladm name..."
  11. #    "creates each named file mode 664"
  12. #    "make sure owned by adm (in case created by root)"
  13. for _file
  14. do
  15.     cp /dev/null $_file
  16.     chmod 664 $_file
  17.     chgrp adm $_file
  18.     chown adm $_file
  19. done
  20.