Current version
Git/Latestdiff: 1.5.6
Latest Snapshots
Produced after each commit or rebase to new upstream version
GIT
RSBAC source code, can be unstable sometimes
No events planned
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:experiences:igraltist:setup [2012/06/07 12:28] 127.0.0.1 (old revision restored) |
wiki:experiences:igraltist:setup [2012/06/07 12:33] 127.0.0.1 (old revision restored) |
||
---|---|---|---|
Line 115: | Line 115: | ||
} | } | ||
</code> | </code> | ||
+ | |||
+ | |||
+ | |||
==== Debian ==== | ==== Debian ==== | ||
Line 120: | Line 123: | ||
A new file `/etc/apt/apt.d/80rsbac` is needed. | A new file `/etc/apt/apt.d/80rsbac` is needed. | ||
+ | Copy & paste it or download here [[http://kasten-edv.de/download/rsbac/profile/80rsbac|80rsbac]]. | ||
+ | Not yet tested | ||
+ | <code bash> | ||
+ | DPkg::Post-Invoke { “ | ||
+ | rsbac_attributes_initial="/etc/rsbac/packages/${CATEGORY}/${PN}/${PF}.sh" | ||
+ | rsbac_attributes="/home/admins/updater/packages/${CATEGORY}/${PN}/${PF}.sh" | ||
+ | einfo "Applying rsbac attributes:"; | ||
+ | # first policy | ||
+ | if [ -f "${rsbac_attributes_initial}" ]; then | ||
+ | sh ${rsbac_attributes_initial} | ||
+ | else | ||
+ | echo "No rsbac attribute initial available" | ||
+ | fi | ||
+ | # second which found | ||
+ | if [ -f "${rsbac_attributes}" ]; then | ||
+ | sh ${rsbac_attributes} | ||
+ | else | ||
+ | echo "No rsbac attribute available" | ||
+ | fi | ||
+ | } | ||
+ | </code> |