Package: backuppc
Version: 2.1.0-10
Severity: normal

When installing backuppc with apt (or anything that runs the .config
scripts before actually doing the dpkg -i), then the randomly generated
password that is shown to the user is not the one that is actually set.

I modified the postinst script to give me an idea what is going on:
| 
| Web administration default user created
| 
| BackupPC can be managed through its web interface:
|  http://galaxy.palfrader.org/backuppc/
| 
| 
| For that purpose, a web user named 'backuppc' with 'OG9ddpMi' as password has 
been created. You can 
| change this password by running 'htpasswd /etc/backuppc/htpasswd backuppc'.
| 
| Selecting previously deselected package backuppc.
| (Reading database ... 178757 files and directories currently installed.)
| Unpacking backuppc (from .../backuppc_2.1.0-10_all.deb) ...
| Setting up backuppc (2.1.0-10) ...
| Setting password 'nkbgvywJ' with 
| htpasswd
| Adding password for user backuppc
| It is:
| backuppc:1qw72bpmln3XE
| Starting backuppc: ok.


As you can see, the debconf dialog tells me athat 'OG9ddpMi' is the
password, while the postinst script actually sets 'nkbgvywJ', which is
the right one:

| [EMAIL PROTECTED]:~$ cat /etc/backuppc/htpasswd 
| backuppc:1qw72bpmln3XE
| [EMAIL PROTECTED]:~$ echo nkbgvywJ | mkpasswd -S 1q -s
| 1qw72bpmln3XE


Maybe the solution is to only db_set a new tmppass in .config if none is set at
the moment?

-- 
Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to