tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: "Next user id is less than the minimum value"
@ 1999-02-09 22:58 Peter Chapin
  0 siblings, 0 replies; only message in thread
From: Peter Chapin @ 1999-02-09 22:58 UTC (permalink / raw)
  To: tru64-unix-managers


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-02-09 22:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-09 22:58 SUMMARY: "Next user id is less than the minimum value" Peter Chapin

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