Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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