Re: System users: removing them
Roger Leigh wrote:
> We could add special behaviour to adduser to unlock the account
> if it already exists when run in the postinst. However, most
> postinsts wrap the call to adduser with a check for whether the
> account already exists, so it would not be called without an
> update to every preinst employing this strategy.
Ah, that's the piece I had forgotten about (and I should have thought
more clearly about it; sorry about that). Thanks for explaining.
> Providing that we have consensus on a recommended
> strategy for locking and unlocking accounts which can go into policy,
> I think all we need are examples for how maintainer scripts are
> expected to handle account creation and locking/unlocking.
Makes sense, of course.
Reply to: