#!/bin/bash
###############################################################
#scvshell v1.0 2016/07/19
#This should be set into /etc/passwd file instead of /bin/bash
###############################################################

if [ $# -lt 2 ] || [ "$1" != "-c" ] ; then
  echo STAT:INTERACTIVE_LOGIN_NOT_ALLOWED
  exit 1
fi

case "$2" in
  "scv"* | "scp"* )
     ;;
  * )
     echo STAT:COMMAND_NOT_ALLOWED
     exit 1
     ;;
esac

/bin/bash -c "$2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14}"

#######
# eof #
#######
