Problem with periodically done scripts
Peter Rosa
prosa at pro.sk
Fri Jul 25 10:00:35 PDT 2003
Here is complete listing. Do you have any idea ?
+ echo Checking for uids of 0:
Checking for uids of 0:
+ awk -F: $3==0 {print $1,$3} /etc/master.passwd
+ tee /dev/stderr
root 0
toor 0
+ sed -e /^root 0$/d -e /^toor 0$/d
+ wc -l
+ n=
+ [ -gt 0 -a -lt 1 ]
[: 0: unexpected operator
+ echo Checking for passwordless accounts:
Checking for passwordless accounts:
+ awk -F: NF > 1 && $1 !~ /^[#+-]/ && $2=="" {print $0} /etc/master.passwd
+ tee /dev/stderr
+ wc -l
+ n=
+ [ -gt 0 -a -lt 1 ]
[: 0: unexpected operator
Peter Rosa
More information about the freebsd-questions
mailing list