[Adduser-devel] Bug#427860: Bug#427860: adduser: please add debconf question about UID ranges

Geoff Crompton geoff.crompton at strategicdata.com.au
Thu Jun 7 07:19:07 UTC 2007


Marc Haber wrote:
> On Thu, Jun 07, 2007 at 10:30:17AM +1000, Geoff Crompton wrote:
>> Is it possible to add a low priority debconf question so that adminstrators
>> can preseed what the uid ranges should be, for dynamically allocated user
>> accounts and groups?
> 
> This is already configurable via adduser.conf. Why does this need to
> be in debconf?
> 
> I do not see that this is a setting that needs to be modifyable by an
> end user who is unable to find and edit a configuration file.
> 
> Greetings
> Marc
> 

The use case I have in mind is for a system administrator doing new
installs. If they can set this option in a preseeding file, then
whenever they do a new install, this setting will conform to what they
need on their site.

This is only really necessary if the administrator wants to
automatically create a 'normal' user in the debian installer, and their
site policy means the uid range is different to the Debian defaults.
Otherwise they can just do as you suggest, and set adduser.conf directly.

Without this debconf option and preseeding ability the system
administrator has to:
 * not create a user during install
 * patch adduser.conf post install
 * then add the user

It's not something I'd expect a normal user to need, hence I'd recommend
low priority to the question in debconf.

Cheers
-- 
Geoff Crompton
Debian System Administrator
Strategic Data
+61 3 9340 9000




More information about the Adduser-devel mailing list