Solved

linux limits

Posted on 1999-01-09
9
227 Views
Last Modified: 2013-12-15
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
Comment
Question by:toulon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 

Author Comment

by:toulon
ID: 1632095
Edited text of question
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1632096
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
 

Author Comment

by:toulon
ID: 1632097
Great! But I have not the option to grade it. Is there a bug with
the system?
0
Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

 
LVL 1

Expert Comment

by:cox
ID: 1632098
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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1632099
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
 

Author Comment

by:toulon
ID: 1632100
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
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 1632101
answer is my very first comment.
0
 

Author Comment

by:toulon
ID: 1632102
ahoffman. I agreed the question. Now I see it rated 10 only. Did you get the 100 ?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1632103
got it, thanks
(10 is what others have to "pay" for it now)
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question