20 lines
507 B
Bash
20 lines
507 B
Bash
#! /bin/sh -
|
|
# Copyright (c) 1984 AT&T
|
|
# All Rights Reserved
|
|
|
|
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
|
|
# The copyright notice above does not evidence any
|
|
# actual or intended publication of such source code.
|
|
|
|
#ident "@(#)nulladm.sh 1.1 94/10/31 SMI" /* from S5R3 acct:nulladm.sh 1.3 */
|
|
# "nulladm name..."
|
|
# "creates each named file mode 664"
|
|
# "make sure owned by adm (in case created by root)"
|
|
for _file
|
|
do
|
|
cp /dev/null $_file
|
|
chmod 644 $_file
|
|
chgrp staff $_file
|
|
chown root $_file
|
|
done
|