積丹尼 Dan Jacobson <[email protected]> writes:

> I'm just saying the dpkg-reconfigure man page needs to be updated.

> I thought that if one uses low priority one is guaranteed to see all the
> questions.

> But e.g., if one accepts the defaults, a second run won't show those
> questions.

This is unrelated to the issue that you're having, though.  Even if you
saw all of the possible questions that update-passwd could ask, changing
the answer wouldn't change anything about your system, so there's really
no point in showing them.

You're focusing on the idea that the debconf prompt controls what shell
shows up in /etc/passwd for a given user.  It makes sense that you're
thinking of it this way, since that's what most packages do with debconf
prompting: use it to generate configuration.  But that is not what
update-passwd is doing.  It's using debconf as a prompting framework, and
is retaining information about changes to the system that you have
previously declined.  But it isn't controlling user shells with debconf
directly.

In other words, I think you're thinking of debconf as a repository of
settings that you can use dpkg-reconfigure to change, but that's not how
it works with update-passwd.  The only file that you should change is
/etc/passwd itself, via whatever means, and then say no to the prompts
asking whether to change the shell.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>


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

Reply via email to