Bug#248500: [Adduser-devel] Bug#248500: adduser: do not re-use uids used once

Joerg Hoh joerg at joerghoh.de
Fri Jan 13 21:08:26 UTC 2006


Hi Aaron

On Tue, Jan 10, 2006 at 11:37:28PM -0600, Aaron Hall wrote:
> Hello, on a local system I wanted to fix the problem talked about in
> this bug, and for us, the "naive" approach of selecting a UID one higher
> than the highest currently in the range was good enough. I locally
> modified adduser on my system to do that, and I created a patch against
> 3.80 in case it would be at all useful.

Thank you for the patch.

> The patch uses a "NO_REUSE_IDS" option, which activates the new behavior

"NO_REUSE_IDS" sounds a bit strange, I'd rather call it "REUSE_IDS"
and set it to "yes" by default.


> I am curious about the state-file approach, though; if that is
> introduced with a new version of adduser, what do you do about "holes"
> in the passwd file that existed prior to installation of that new
> version? Maybe do something similar to the naive approach once, to
> pre-fill the state file?

That would be the only feasible solution.

Jörg

-- 
Was denen einen ihr Watergate, ist den anderen ihr Firstgate.
- Thomas Bliessner, <slrnd1hklm.g53.nospam at melix.com.mx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060113/3899095c/attachment.pgp


More information about the Adduser-devel mailing list