diff options
| author | jeff <jeff> | 2002-02-23 02:14:26 +0000 |
|---|---|---|
| committer | jeff <jeff> | 2002-02-23 02:14:26 +0000 |
| commit | cefb9727ed4cdfacf3b967485d58b25fbea98c6b (patch) | |
| tree | 2a970df0d6b6c454488fd6420724537bf18cf9bb /FS | |
| parent | c82f33db5954253c96790918b7274566ac9182af (diff) | |
report fixes and cruft removal
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/UID.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm index 78fe156c3..78910195a 100644 --- a/FS/FS/UID.pm +++ b/FS/FS/UID.pm @@ -73,6 +73,9 @@ sub forksuidsetup { $user = shift; croak "fatal: adminsuidsetup called without arguements" unless $user; + $user =~ /^([\w\-\.]+)/ or croak "fatal: illegal user $user"; + $user = $1; + $ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin'; $ENV{'SHELL'} = '/bin/sh'; $ENV{'IFS'} = " \t\n"; @@ -252,7 +255,7 @@ coderef into the hash %FS::UID::callback : =head1 VERSION -$Id: UID.pm,v 1.12 2002-01-19 15:16:22 ivan Exp $ +$Id: UID.pm,v 1.13 2002-02-23 02:14:25 jeff Exp $ =head1 BUGS |
