Solved

linux limits

Posted on 1999-01-09
9
222 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

895 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

16 Experts available now in Live!

Get 1:1 Help Now