Re: Root Commands

From: Date: Thu, 20 Feb 2003 00:27:20 +0000
Subject: Re: Root Commands
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136277@lists.php.net to get a copy of this message
Most ways require a program a with root access to execute (setuid root) this is very insecure. I would look at enabling your email program to get the account information from a database like mysql or postgres, that way you need just insert a record into the database. Jason On Wed, 2003-02-19 at 16:37, Patrick Armour wrote: > I am trying to use a form (password protected of course) that will allow an administrator to > add POP accounts to a linux box. The problem that I seem to have is that the form is trying to give > the commands as user 'nobody' and they need to be given by either root or a superuser. > > Is there any way to accomplish this? If somebody were to point me in the direction of a > tutorial on this subject I would really appreciate it. > > Sincerely, > Patrick Armour > www.greatplainsinternet.com

« previous php.general (#136277) next »