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

Re: Cannot preseed a locked password



On Thu, Nov 03, 2005 at 07:14:59PM +0100, Jens Seidel wrote:
> Hi,
> 
> On Thu, Nov 03, 2005 at 04:07:01PM +0000, Paul Millar wrote:
> > +			if ! test "$RET" ; then
> >  			    db_input critical passwd/user-password || true
> >  			    COMPARE_PW=''
> >  			    db_input critical passwd/user-password-again \
> 
> a stupid question, but why is the password specified twice?

Because the preseeding file is not some sort of configuration file, or
so; it's a way to set defaults for answers to questions. Since the
question is asked twice, you also need to set the default answer to it
twice.

-- 
.../ -/ ---/ .--./ / .--/ .-/ .../ -/ ../ -./ --./ / -.--/ ---/ ..-/ .-./ / -/
../ --/ ./ / .--/ ../ -/ ..../ / -../ ./ -.-./ ---/ -../ ../ -./ --./ / --/
-.--/ / .../ ../ --./ -./ .-/ -/ ..-/ .-./ ./ .-.-.-/ / --/ ---/ .-./ .../ ./ /
../ .../ / ---/ ..-/ -/ -../ .-/ -/ ./ -../ / -/ ./ -.-./ ..../ -./ ---/ .-../
---/ --./ -.--/ / .-/ -./ -.--/ .--/ .-/ -.--/ .-.-.-/ / ...-.-/



Reply to: