System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to add users thru SAM issue

tan chin tiau
Occasional Contributor

Unable to add users thru SAM issue

We have encounter this error when we create new users recently.. It could be due to too many User ID account in a system group.
May I know is there a limit? Cos now our users has exceed 515 and this error coming out.

5 REPLIES
UVK
Trusted Contributor

Re: Unable to add users thru SAM issue

I was not able to open the attachment, can you paste the error in a response?

About user limit I havent heard about any user limit. In case if there is any it will be a figure more than 2 power 64. I have seen machines with more than 0.1 million users.

-uvk
-------------------------------------------
Like it or worked !! Click kudos !!
VK2COT
Honored Contributor

Re: Unable to add users thru SAM issue

Hello,

This is just a warning that entry for group "sd" in your /etc/group file is longer
than officially supported by some routines in HP-UX.

It is OK to proceed (SAM actually tells
you that you can continue). Even better,
check if you really need all those users
in the same group and modify it.

Or, make that GID a default for some users in /etc/passwd and avouid using /etc/group.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
avizen9
Esteemed Contributor

Re: Unable to add users thru SAM issue

hi,
not sure there is any limitation for users in hpux,

but surely can addd more then 515,

why dont you try with command prompt
useradd

can check man useradd for more.
Suraj K Sankari
Honored Contributor

Re: Unable to add users thru SAM issue

Hi,

what is your os ver ?
What is your MAXUSER value ?

Suraj
Viktor Balogh
Honored Contributor

Re: Unable to add users thru SAM issue

There are certain limitations within HP-UX with regard to the /etc/group file. For instance there is a 2048 Byte limit to the length of a particular group listing. There is also a limit of 233 users per group.

man group says:
The length of each line in /etc/group is limited to LINE_MAX, as defined in . The maximum number of users per group is (LINE_MAX - 50)/9.
All group IDs used in /etc/logingroup or /etc/passwd should be defined in /etc/group. No user should be associated with more than NGROUPS (see setgroups(2)) groups in /etc/logingroup.
****
Unix operates with beer.