Diff for /loncom/lcuserdel between versions 1.6 and 1.8

version 1.6, 2000/10/29 19:36:54 version 1.8, 2000/10/29 22:20:43
Line 95  my $safeusername=$1; Line 95  my $safeusername=$1;
 # By using the system userdel command:  # By using the system userdel command:
 # Remove entry from /etc/passwd if it exists  # Remove entry from /etc/passwd if it exists
 # Remove entry from /etc/groups if it exists  # Remove entry from /etc/groups if it exists
   # I surround with groupdel command to make absolutely sure the group definition disappears.
   system('/usr/sbin/groupdel 2>/dev/null',$safeusername); # ignore error message
 system('/usr/sbin/userdel 2>/dev/null',$safeusername); # ignore error message  system('/usr/sbin/userdel 2>/dev/null',$safeusername); # ignore error message
 system('/usr/sbin/groupdel 2>/dev/null',$safeusername); # ignore error message  system('/usr/sbin/groupdel 2>/dev/null',$safeusername); # ignore error message
   

Removed from v.1.6  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>