You also need to edit the /etc/login.defs file within the VS. Changing this
sectioon of it:

# Min/max values for automatic uid selection in useradd
#
UID_MIN 1900
UID_MAX 2099
#
# Min/max values for automatic gid selection in groupadd
#
GID_MIN 1900
GID_MAX 2099

-----------------------
You also need to make sure that the number of users you have added do not
conflict with another VS's users...

Bill.

----- Original Message -----
From: "Lloyd Duhon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 7:21 PM
Subject: Wierd Useradd problem


> Hi guys,
>
> I tried to add a user for a customer today, and he was out of UIDs (We
give
> 20 uids to our introductory package) Although, I didn't really intend for
> that 20 to include users like admin, web, mail, mysql, just his users. So,
> I tried the following:
>
> I have added additional UIDs for a customer in /usr/local/etc/vsd.conf
> <VirtualServer ###########>
> IP ###############
> StartUID 1100
> Users 25
> Status active
> Quota 200
> MaxVD 10
> Skel default
> Partition 0
> HostingServer ################
> </VirtualServer>
>
> Simply upping Users to 25.
>
> I don't see anywhere in the protocol to change it any other way, but when
I
> try to add a user name to his account I still get:
>
> [root@somesite /]# useradd test
> useradd: there are no free uids/gids
>
>
> Any suggestions as to how useradd is getting it's info, if it's not coming
> from vsd.conf?
>
> I have rebooted the VS and done a complete reboot of all VSDs with the
> vsboot command as well.
>
> Any suggestions appreciated!
>
> Lloyd
>
> Discovery consists of seeing what everybody has seen and thinking what
> nobody has thought.
> -- Albert Szent-Gyorgyi (1893-1986)
>
>
> ------------------------- The freeVSD Support
List --------------------------
> Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> Unsubscribe:
mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> Archives:    http://freevsd.org/support/mail-archives/freevsd-support
> --------------------------------------------------------------------------
---
>

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to