• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

linux limits

I would need to know how many user linux may accomodate and if the usernumber in passwd must absolutely be in sequence or without gaps and if there is a limit to its value (can it be a figure over 32xxx)? In other words may I use a user number from an external registration database to build passwd files for several linux machine ? (I do not use add).
0
toulon
Asked:
toulon
  • 4
  • 4
1 Solution
 
toulonAuthor Commented:
Edited text of question
0
 
ahoffmannCommented:
theoretically the number of users is limited to the ushort (whatever this range is on your hardware).
But in practice its limited to 65536, which is the max. UID to be assigned in passwd. Keep in mind that some UIDs are reserved for system usage (all <1000).
Yes it may have gaps, and no need for sequence (without gaps).
Yes you may use a number from externbal registration (for example LDAP), just take care that you don't get duplicates.
0
 
toulonAuthor Commented:
Great! But I have not the option to grade it. Is there a bug with
the system?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
coxCommented:
ahoffmann is correct, most systems are using a unsigned shot to UID, but you can use the same UID to external users ( to dial-in authentications for exemple)....
0
 
ahoffmannCommented:
well I think toulon want's to grade my comment, cox.
toulon, please reject cox's answer (sorry), and I'll post another one.

Anyway, cox, did you mean that I can use duplicate UID if I assign them to users
which cannot login (for example because of /usr/bin/false in passwd), or is it just
because your system only allows one dial-in connection?
0
 
toulonAuthor Commented:
Response goes to ahoffman.
However I did not understand the remark of cox, nor the comment of ahoffman, while it rises interest. Would you be so kind as to explain to a low IQ Frenchy somewhat lost with cryptic English.
0
 
ahoffmannCommented:
answer is my very first comment.
0
 
toulonAuthor Commented:
ahoffman. I agreed the question. Now I see it rated 10 only. Did you get the 100 ?
0
 
ahoffmannCommented:
got it, thanks
(10 is what others have to "pay" for it now)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now