createuser www-data ????

Поиск
Список
Период
Сортировка
Искать

createuser www-data ????

От:
"Craig Silva" <silvac@mitext.vic.edu.au>
Дата:
Вложения:
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

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

От:
Mario Filipe <mjnf@neptuno.sc.uevora.pt>
Дата:

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
FAQ