SUMMARY: "Next user id is less than the minimum value"

From: Peter Chapin <pchapin_at_twilight.vtc.vsc.edu>
Date: Tue, 09 Feb 1999 17:58:31 -0500 (EST)

Thanks to Richard Rogers and Tony Hoffman

The solution is to use the usermod program to set the value of the
next user id. For example:

        # usermod -D -x next_uid=500

The result can be verified with a command such as:

        # usermod -D

The next user id is independent from the minimum and maximum user ids.
The dxaccounts program can't set the next user id value directly. There
is a similar command for managing the next group id:

        # groupmod -D -x next_gid=500

Note that the next user id need not be the next available id. The
dxaccounts program will start from the next user id and scan forward
looking for a free value when creating a new account.

My original question follows:

-----> cut here <-----

When using dxaccounts I desire to set the range of acceptable user ids to
something other than the default. In particular, I want to start my ids at
500. However, when I change the "minimum user id" box in the
Options|General dialog and then dismiss the dialog, I get the error "Next
user id is less than the minimum value." Here I assume the "next user id"
refers to the id that dxaccounts wants to use by default when creating a
new account. This is exactly the entity I want to change, yet because the
next id is out of range, dxaccounts won't accept my new minimum value.

So my question boils down to this: how do I change the "next user id?"

-----> cut here <-----

*****************************************************************************
Peter
pchapin_at_twilight.vtc.vsc.edu http://twilight.vtc.vsc.edu/~pchapin/
Received on Tue Feb 09 1999 - 22:59:59 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT