freeside/FS/FS svc_acct.pm,1.109.2.49,1.109.2.50
ivan
ivan at pouncequick.420.am
Fri Dec 24 15:35:27 PST 2004
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv25393
Modified Files:
Tag: FREESIDE_1_4_BRANCH
svc_acct.pm
Log Message:
smtp can have uid 0 in addition to root and toor
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.109.2.49
retrieving revision 1.109.2.50
diff -u -d -r1.109.2.49 -r1.109.2.50
--- svc_acct.pm 26 Nov 2004 06:50:27 -0000 1.109.2.49
+++ svc_acct.pm 24 Dec 2004 23:35:24 -0000 1.109.2.50
@@ -698,9 +698,7 @@
return "Only root can have uid 0"
if $recref->{uid} == 0
- && $recref->{username} ne 'root'
- && $recref->{username} ne 'toor';
-
+ && $recref->{username} !~ /^(root|toor|smtp)$/;
$recref->{dir} =~ /^([\/\w\-\.\&]*)$/
or return "Illegal directory: ". $recref->{dir};
More information about the freeside-commits
mailing list