Re: Automatic root password setting
On Wed, Oct 06, 2004 at 03:31:08PM +0100, Paul Millar wrote:
> On Tuesday 05 October 2004 09:51, Free Ekanayaka wrote:
> > what about automatic root pw setting?
>
> (my reading is...)
> Currently this doesn't work because passwd deliberately unsets the
> passwd/root-passwd and ...-again keys before trying to obtain them. This is
> (IMO) correct behaviour -- no system should expect to hold root pw in
> plain-text, so any existing values should be discarded.
>
> An alternative solution is to have a key passwd/root-hash (or some such) that
> the passwd install scripts would use, if its set, so it wouldn't need to ask
> the user for the password. Probably only a few lines of extra code are
> needed to support this.
Or passwd/root-passwd with an invented 'hash' flag set. Joey (or
anyone), does the preseeding infrastructure support debconf flags?
--
Colin Watson [cjwatson@debian.org]
Reply to: