--- loncom/lcuserdel 2002/10/07 01:41:31 1.13 +++ loncom/lcuserdel 2003/02/03 18:03:52 1.15 @@ -2,10 +2,6 @@ # # lcuserdel # -# Scott Harrison -# SH: October 27, 2000 -# SH: October 28, 2000 -# SH: October 29, 2000 use strict; @@ -125,6 +121,7 @@ system('/usr/sbin/groupdel',$safeusernam if (-e '/usr/bin/smbpasswd') { ($>,$<) = (0,0); # fool smbpasswd to think this is not setuid. system('/usr/bin/smbpasswd -x '.$safeusername); + $< = $wwwid; }