[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parse errors - can't find reason
From: |
Edward Pena |
Subject: |
parse errors - can't find reason |
Date: |
Mon, 09 Sep 2002 09:25:28 -0700 (PDT) |
Any ideas as to why the following continually puts a "parse error" return in the
output? I have tried using single file names instead of the loops (namelists),
taken out the editfiles for inetd.conf, etc. etc., and nothing works. This is
the only script in execution for simplicities sake, as it should be well known
that an error in any given script (config file) can return as an erroneous error
in a different config file. -ed
control:
access = ( root )
split = ( " " )
any_namelist = ( "finger login shell exec uucp printer time daytime echo chargen
dtspc" )
sun_namelist = ( "comsat systat netstat discard kerbd ruserd sprayd walld rstatd
rexd ufsd" )
actionsequence = ( files copy editfiles )
files:
any::
/etc/shells o=root g=sys m=0644
solaris::
/etc/init.d include=* o=root g=sys m=0644
copy:
any::
$(CFINPUTS)/all/etc/motd dest=/etc/motd o=root g=sys
m=0644
editfiles:
any::
{ ForEachLineIn "/etc/inetd.conf"
HashCommentLinesStarting "$(any_namelist)"
EndLoop
}
solaris::
{ ForEachLineIn "/etc/inetd.conf"
HashCommentLinesStarting "$(sun_namelist)"
EndLoop
}
{ /etc/system
AddIfNoSuchLine "set nfssrv:nfs_portmon=1"
AddIfNoSuchLine "set noexec_users_stack=1"
AddIfNoSuchLine "set noexec_user_stack_log=1"
}
________________________________________________
PeoplePC: It's for people. And it's just smart.
http://www.peoplepc.com
- parse errors - can't find reason,
Edward Pena <=