Thread: createuser www-data ????

createuser www-data ????

From
"Craig Silva"
Date:
I am working on a server that is using the Debian packages PHP3,
postgresql and Apache.

I believe that the Debian default is to run Apache as user www-data.

To make a connection to postgresql for PHP3 I have to create a user
www-data.

However when I attempt to createuser www-data the error message is:

invalid characters in username  www-data

Anyone suggest a workaround

Thanks

Craig

Attachment

RE: [ADMIN] createuser www-data ????

From
Mario Filipe
Date:
On 22-May-98 Craig Silva wrote:
> I am working on a server that is using the Debian packages PHP3,
> postgresql and Apache.
>
> I believe that the Debian default is to run Apache as user www-data.
>
> To make a connection to postgresql for PHP3 I have to create a user
> www-data.
>
> However when I attempt to createuser www-data the error message is:
>
> invalid characters in username  www-data

        THe problem is the - . To solve this i changed /etc/passwd and
/etc/group so that www-data became wwwdata.

        Mario Filipe
        mjnf@uevora.pt
        http://neptuno.sc.uevora.pt/~mjnf