Rev 23 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | noread=bin sessions s2 src log log/classes log/forums log/.developers\ |
||
3 | backup tmp/log\ |
||
4 | public_html/bin public_html/msg\ |
||
5 | public_html/bases/dic public_html/bases/sheet\ |
||
6 | public_html/bases/site public_html/bases/sys\ |
||
7 | public_html/bases/doc\ |
||
8 | public_html/scripts/adm\ |
||
9 | public_html/modules/home public_html/modules/adm |
||
10 | nowrite=public_html README README_rpm HEADER.html download other\ |
||
11 | compile localwims chroot/bin chroot/usr chroot/etc chroot/sbin chroot/lib |
||
12 | nowrite2=tmp tmp/sessions chroot chroot/tmp/sessions |
||
13 | noexec=public_html/modules |
||
14 | users=bin public_html chroot/* |
||
15 | wexec=other other/lib other/share tmp tmp/forall tmp/sessions -maxdepth 0 |
||
16 | wexec2=other/bin |
||
17 | |||
18 | bad=!mexec scripts/attrib.sh $noread |
||
19 | writable=!mexec scripts/attrib2.sh $nowrite |
||
20 | writcnt=!wordcnt $writable |
||
21 | execable=!mexec scripts/attrib3.sh $noexec |
||
22 | execnt=!wordcnt $execable |
||
23 | baduser=!mexec scripts/attrib4.sh $users |
||
24 | noexec=!mexec scripts/attrib5.sh $wexec |
||
25 | !if public_html/bin/ch..root notwordof $baduser or \ |
||
26 | public_html/bin/wrap..exec notwordof $baduser or \ |
||
27 | bin/wimsd notwordof $baduser |
||
28 | bad_wrapper=true |
||
29 | !endif |
||
30 | baduser=!replace word public_html/bin/ch..root by $ in $baduser |
||
31 | baduser=!replace word public_html/bin/wrap..exec by $ in $baduser |
||
32 | baduser=!replace word bin/wimsd by $ in $baduser |
||
33 | usercnt=!wordcnt $baduser |
||
34 |