Solved

linux limits

Posted on 1999-01-09
9
221 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
  • 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
 
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now