File: plugin-cmd.sh

package info (click to toggle)
opkssh 0.10.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,440 kB
  • sloc: sh: 2,062; makefile: 11
file content (7 lines) | stat: -rw-r--r-- 156 bytes parent folder | download
1
2
3
4
5
6
7
#!/usr/bin/env sh

if [ "${OPKSSH_PLUGIN_U}" = "root" ] && [ "${OPKSSH_PLUGIN_EMAIL}" = "test-user2@zitadel.ch" ]; then
  echo "allow"
else
  echo "deny"
fi