#!/usr/bin/make -f HOST := 10.200.17.56 .PHONY: install install:33842.info scp $< ${HOST}:/etc/univention/templates/info/ ssh ${HOST} "rm -f /etc/univention/templates/files/tmp/{f,m}{0,1,2,3,4,5,6,7}" ssh ${HOST} "mkdir -p /etc/univention/templates/files/tmp" ssh ${HOST} "touch /etc/univention/templates/files/tmp/{f0,f1,f2,f3,f4,f5,f6,f7,s}" ssh ${HOST} "chmod 0660 /etc/univention/templates/files/tmp/{f0,f1,f2,f3,f4,f5,f6,f7,s}" ssh ${HOST} "ucr register 33842" ssh ${HOST} "stat -c '%n %a %U %G' /tmp/[fm][0-7]" # /tmp/f0 660 root root # /tmp/f1 644 Administrator root # /tmp/f2 400 root staff # /tmp/f3 644 Administrator staff # /tmp/f4 400 root root # /tmp/f5 400 Administrator root # /tmp/f6 400 root staff # /tmp/f7 400 Administrator staff # /tmp/m0 644 root root # /tmp/m1 644 Administrator root # /tmp/m2 400 root staff # /tmp/m3 644 Administrator staff # /tmp/m4 400 root root # /tmp/m5 400 Administrator root # /tmp/m6 400 root staff # /tmp/m7 400 Administrator staff 33842.info: echo '/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4ATUALFdACoeSgZldHquqszbjVVh/ae92OKYw5+5CYNSjrhZMdx/580XwAaCAVQlCcHV8sB90iVoorl/XCeNQO+R0tLP83q0M18YpUQwn1Cujzn8Q1x7pnRY2egMegdTsJHTDL1PDWIDC+zg1U/PlWLKphH3yXpNFsDNqwWOn9zbNv9NRVWCbTBrNF2rfmxFN0en98gRFqYVX6GO6+selr5bruVuPQf95vmwoTNZHHn8g241SXJRAAAAAABngblu5gb03wABzQHVCQAAI4IYTbHEZ/sCAAAAAARZWg==' | base64 -d | xz -d > $@