Hi, I'm trying to build CGI application that adds user to linux users database and set quotas by:
system("$useradd -o -g users -d $userhome -m -c \"$FirstName $Surname\" -p $Password $Nickname") || die "can't $useradd $Nickname: $!"; system("$setquota / -u $block_soft $block_hard $inode_soft $inode_hard $Nickname") || die "can't $setquota $Nickname: $!"; I'm not getting desired effect because CGI scripts are running as user apache and useradd and setquota can only been eun as root. What shall do to add users and manage their quota. Ideas highly appreciated. Roman. _______________________________________________ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users