Re: debconf notes and automatically generated password
Why not use pwgen or something to generate the password to
/etc/<pkg>/<pkg>.admin which is chmod'ed 600 to root
My 2 cents
On 19/08/05, Fabio Tranchitella <kobold@debian.org> wrote:
> 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
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQBDBJppK/juK3+WFWQRAkxNAJ91GKV0KaEKrGvZxhb5/G+VIc/9yACdGoiy
> zIWPuQnnkcEELzlFBu80AEU=
> =npAX
> -----END PGP SIGNATURE-----
>
>
>
--
N Jones
Proud Debian & FOSS User
Debian Maintainer of: html2ps, ipkungfu, dvorak7min & windowlab
Reply to: