[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where does 'www-data' come from?



On Tue, Jan 19, 1999 at 10:34:27PM +0000, Oliver Elphick wrote:
> Johnie Ingram wrote:
>   >
>   >"Eduardo" == Eduardo Marcel Macan <macan@debian.org> writes:
>   >
>   >Eduardo> 	See, I am not suggesting that we change the username
>   >Eduardo> to solve the postgres problem, this would solve this problem,
>   >Eduardo> but not THE problem with postgres. I am just wondering why it
>   >Eduardo> is not called just 'www'.
>   >
>   >I still say its a nasty Bug in postgresql createuser.  If you create a
>   >"wwwdata" user and then rename the user manually in pg_shadow, it
>   >works fine.  At the very least createuser could have an
>   >--allow-badname option like adduser.
> 
> The SQL command, CREATE USER, does allow it; I specifically disallowed it
> in the createuser command in order to stop people running into the GRANT
> bug.

Calling it a bug may be a bit harsh, but I'm glad you disabled it.
'-' is an operator in SQL and keeping people from using it foolishly
is a "good thing".  Just think of using & or | in filenames.  If you
want to confuse operators and operands, you deserve what you ask for,
but no one would call this a bug in bash (would they?).

My 2c.
Steve Bowman

> 
> -- 
> Oliver Elphick                                Oliver.Elphick@lfix.co.uk
> Isle of Wight                              http://www.lfix.co.uk/oliver
>                PGP key from public servers; key ID 32B8FAA1
>                  ========================================
>      "The LORD is my strength and song, and he is become my 
>       salvation; he is my God, and I will prepare him an 
>       habitation; my father's God, and I will exalt him."   
>                        Exodus 15:2 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


Reply to: