#!/usr/bin/perl
$version = 2 ;

# nisDelUser
# This is the NIS post-delete user script.  This script
# is run after a user has been deleted from the NIS password. 
# This is where you put any site specific commands required
# when deleting a new user.

# --- Initialization ---
# Deal with possible spaces in the input 
foreach $i (0 .. $#ARGV) {
   $data .= "@ARGV[$i] " ;
}
chop($data) ;

if($data eq "-v") {
    print "$version\n" ;
    exit(0) ;
}

($LOGIN) = split(/\:/, $data, 1) ;
print "Running site specific delete NIS user script\n" ;

# Debugging flag, set to 0 to turn off debugging
$debug = 0 ;

print "Login = $LOGIN\n" if $debug ;

# ----  Add the site specific commands here  ----




