Re: Default admin password for a webapp

2008-04-11 Thread Ben Finney
Ben Finney <[EMAIL PROTECTED]> writes: > Xavier Luthi <[EMAIL PROTECTED]> writes: > > > In the case of the webapp packaged for Debian, the installation > > time is not always the same as the configuration time, so it is > > not an option to use the upstream method to set the password: this > > wo

Re: Default admin password for a webapp

2008-04-11 Thread Ben Finney
Please follow http://www.debian.org/MailingLists/#codeofconduct>; specifically, please don't send individual copies of messages you also send to the mailing list, since I haven't asked for them. Xavier Luthi <[EMAIL PROTECTED]> writes: > On Thu, Apr 10, 2008 at 08:58:51AM +1000, Ben Finney wrote:

Re: Default admin password for a webapp

2008-04-11 Thread Xavier Luthi
On Thu, Apr 10, 2008 at 08:58:51AM +1000, Ben Finney wrote: > Xavier Luthi <[EMAIL PROTECTED]> writes: > > > The webapp won't allow any authentication becasue the password is > > not set. How to ask for a password? > > Some way that the administrator can do so separately from installing > the pac

Re: Default admin password for a webapp

2008-04-09 Thread Ben Finney
Xavier Luthi <[EMAIL PROTECTED]> writes: > The webapp won't allow any authentication becasue the password is > not set. How to ask for a password? Some way that the administrator can do so separately from installing the package. Ideally, the installation would use the same API to set the administ

Re: Default admin password for a webapp

2008-04-09 Thread Andreas Wenning
Hi Xavier > won't allow any authentication becasue the password is not set. How > to ask for a password? With a warning message on the administrative > page of the webapp saying something like: 'Please run (as root) > "dpkg-reconfigure pixeplpost" to set the password of the > administrative user

Re: Default admin password for a webapp

2008-04-09 Thread The Fungi
On Wed, Apr 09, 2008 at 04:54:38PM +0200, Xavier Luthi wrote: > OK. Now let's suppose the password has not been set during the > package configuration because debconf level was too high. The > webapp won't allow any authentication becasue the password is not > set. How to ask for a password? [...]

Re: Default admin password for a webapp

2008-04-09 Thread Xavier Luthi
On Thu, Apr 10, 2008 at 12:37:41AM +1000, Ben Finney wrote: > Xavier Luthi <[EMAIL PROTECTED]> writes: > > > One solution, the easiest on the package development point of view, > > is to set a default password documented in the README.Debian. Of > > course, this is not beautiful and can be a secur

Re: Default admin password for a webapp

2008-04-09 Thread Ben Finney
Xavier Luthi <[EMAIL PROTECTED]> writes: > I'm currently packaging pixelpost (ITP #470214) which is a photoblog > application written in php and using mysql. The installation process > requires to create an 'admin' account in the database with, of > course, a password. Apparently based on the ass

Default admin password for a webapp

2008-04-09 Thread Xavier Luthi
Hi mentors, I'm currently packaging pixelpost (ITP #470214) which is a photoblog application written in php and using mysql. The installation process requires to create an 'admin' account in the database with, of course, a password. My question is: what do you think is the best solution to set t