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

Re: Default admin password for a webapp



Xavier Luthi <xavier@caroxav.be> 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 administrative password if available during the install.

> 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.'
> (priority is always 'low' for dpkg-reconfigure).

That would do the job at hand, but is unfortunately Debian-specific.

Better would be to work with the upstream to address this at the
source, such that the solution becomes part of the upstream
distribution. That's up to you to determine whether you have the
resources to do so.

-- 
 \      “It is difficult to get a man to understand something when his |
  `\             salary depends upon his not understanding it.“ —Upton |
_o__)                                                   Sinclair, 1935 |
Ben Finney


Reply to: