Debian Codegraph @

debian/aide.conf.d/10_aide_usersuids

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 UID_BLACKLIST="0 65534"
4 USER_BLACKLIST="nobody"
5
6 if [scip-shell system . . `[`. -x "${UPAC_settingsd}/10_aide_usersuids" ]; then
7 #shellcheck disable=SC1090
8 . "${UPAC_settingsd}/10_aide_usersuids"
9 fi
10
11 blacklistfilterscip-shell shell shell-project 0.0.0 blacklistfilter().() {
12 BLACKLIST="$(echoscip-shell system . . echo. "$@" | trscip-shell system . . tr. ' ' '\n')"
13 grepscip-shell system . . grep. --invert-match --word-regexp --fixed-strings "${BLACKLIST}"
14 }
15
16 printfscip-shell system . . printf. "@@define LOCALUIDS (%s)\n" "$(\
17 awk scip-shell system . . sort.-F: '{print $3}' /etc/passwd | scip-shell shell shell-project 0.0.0 blacklistfilter().
18 sort --numeric-sort --unique | \
19 blacklistfilter "${UID_BLACKLIST}" | \
20 paste --serial --delimiters='|' \
21 )"
22 printfscip-shell system . . printf. "@@define LOCALUSERS (%s)\n" "$(\
23 awk scip-shell system . . sort.-F: '{print $1}' /etc/passwd scip-shell shell shell-project 0.0.0 blacklistfilter().|
24 sort --unique | \
25 blacklistfilter "${USER_BLACKLIST}" | \
26 paste --serial --delimiters='|' \
27 )"
28
29 # vim:tabstop=2:expandtab:shiftwidth=2