tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Peter Chapin <pchapin () twilight ! vtc ! vsc ! edu>
To: tru64-unix-managers
Subject: SUMMARY: "Next user id is less than the minimum value"
Date: Tue, 09 Feb 1999 22:58:31 +0000	[thread overview]
Message-ID: <96079036515593.tru64-unix-managers.marc@archive.invalid> (raw)


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@twilight.vtc.vsc.edu            http://twilight.vtc.vsc.edu/~pchapin/

                 reply	other threads:[~1999-02-09 22:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox