home *** CD-ROM | disk | FTP | other *** search
- # first, define the site defaults we want to use here
- # we would like the people in 'operator' group to be able to execute
- # almost everything, so it iseasier to put it here than on every line...
- # set up default envariables
- #
- DEFAULT groups=operator $USER $TERM $PATH=/usr/ucb:/usr/bin:/bin
- #
- # find out who's filled up the disk; anyone may do this
- #
- full /usr/etc/quot $1; users=.*
- #
- # filesystem backups
- #
- daily /etc/dump 5Gun $1; $1=/,/usr[0-9]*,/project
- weekly /etc/dump 0Gun $1; $1=/,/usr[0-9]*,/project
- #
- # tape handling commands
- # must include 'operator' if we want them to be allowed as well
- #
- tape /etc/tpc $1 $2; groups=tapeopers,operator users=boss
- $1=enable,disable,stop,restart $2=all,unit[01]
- #
- mounted /etc/tpc mounted unit$1 $2; $1=[0-3]
- #
- # taking the system down
- # $1 shows a good user of regular expression;
- # $2 can be anything, but is required; no instant shutdowns
- #
- shutdown /etc/shutdown -h $1 $2; $1=+[1-9][0-9]*,[0-9]*:[0-9]*
- reboot /etc/shutdown -r $1 $2; $1=+[1-9][0-9]*,[0-9]*:[0-9]*
- #
- # start up disco daemon
- disco /etc/opbin/start_disco ; uid=disco gid=proj dir=/scratch
- umask=027 groups=geo,disco users=snoopy,linus
- $USER=disco $SHELL=/bin/shell
- #
- # let certain people mount and unmount the removable drive
- #
- rdsmount /etc/mount $1 $2; groups=operator,swdev,disco
- users=bob,steve $1=/dev/dd0[a-z] $2=/.*
- rdsumount /etc/umount $1 ; groups=operator,swdev,disco
- users=bob,steve $1=/dev/dd0[a-z]
- #
- # allow operators to give files away; notice that they
- # must give at least two s, but may give more
- #
- chown /bsd43/bin//chown $1 $2 $*; $1=[a-z0-9][a-z0-9]*
- #
- # permit development personnel to run install
- #
- inst /usr/bin/install -o root -g system $1 $2; groups=devel
- $2=/bin,/usr/bin,/usr/ucb,/usr/new,/usr/local
- #
- nfsmount /etc/mount -o timeo=100,hard,inter $1 $2;
- groups=devel,operator
- $1=([a-zA-Z0-9_]*):(.*) $2=/remote/\1\2
- #
- #
- shell MAGIC_SHELL ; password environment
-