3 ### userv services configuration for distorted-keys
5 ###--------------------------------------------------------------------------
6 ### User crypto operations.
8 if ( glob service cryptop
9 & glob service-user @user@
10 & grep calling-user-shell /etc/shells
17 execute @bindir@/cryptop
20 ###--------------------------------------------------------------------------
21 ### Key administration operations.
23 if ( glob service keys
24 & glob service-user @user@
25 & ( grep calling-user @pkgconfdir@/admin.users
26 | grep calling-group @pkgconfdir@/admin.groups
34 execute @sbindir@/keys
37 ###--------------------------------------------------------------------------
38 ### User profile access.
40 if ( glob service cryptop-profile
41 & grep service-user-shell /etc/shells
42 & glob calling-user @user@
49 execute sh -c "case $# in \
51 exec @bindir@/extract-profile \"$1\" \
52 @pkgconfdir@/profile.d/ \
53 .userv/cryptop-profile \
56 echo >&2 \"usage: cryptop-profile PROFILE\"; \
62 ###----- That's all, folks --------------------------------------------------