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

debconf notes and automatically generated password



Hi,
  I need some help about the use of debconf notes. One of my (web)
packages need to setup a password for the administrator account. 
If the debconf priority is too high (or the system administrator chose
the noninteractive frontend) I have to automatically generate a password
because I can't continue without it.

   Now, what is the standard way to deal with this issue? I've read on
debconf-devel that a note could be used for this purpose[1], but I
wasn't able to have that password emailed to root or to have the 
install halted and waiting for a key.

I'm clueless...

Thanks in advance,


[1] Relevant text:

note   Rather  than being a question per se, this datatype indi-
       cates a note that can be displayed to the user. It should
       be  used  only  for  important notes that the user really
       should see, since debconf will go to great pains to  make
       sure  the  user  sees it; halting the install for them to
       press a key, and even mailing the note to  them  in  some
       cases. It's best to use these only for warning about very
       serious problems.

-- 
Fabio Tranchitella <kobold@debian.org>                        .''`.
Proud Debian GNU/Linux developer, admin and user.            : :'  :
                                                             `. `'`
   http://people.debian.org/~kobold/                           `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: