#!/bin/sh # $Id: chsh.control,v 1.1 2001/11/12 01:47:45 solar Exp $ . /etc/control.d/functions BINARY=/usr/bin/chsh new_fmode public 4711 root root new_fmode restricted 700 root root new_help public "Any user can execute $BINARY" new_help restricted "Only root can execute $BINARY" new_summary 'Change the user login shell' control_fmode "$BINARY" "$*" || exit 1