- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/passwd
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 03:35 AM
тАО04-19-2006 03:35 AM
/etc/passwd
I have a litte question about /etc/passwd.
how many record i can create on it? I know that I can use LDAP or other authentication method, but I must use passwd for a test and I need to create a lot of record (10000)
someome know the limit?
tnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 03:45 AM
тАО04-19-2006 03:45 AM
Re: /etc/passwd
no limit, as long as each user has his/her own ID.
But be aware if you are trying to get all these users to log on:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=40120
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 03:45 AM
тАО04-19-2006 03:45 AM
Re: /etc/passwd
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 03:45 AM
тАО04-19-2006 03:45 AM
Re: /etc/passwd
no, there is no limit for entries in this file, but nevertheless:
- if you need this for a test, use another filename containing the syntax of /etc/passwd only.
- for seeking a linear search is done on the file
- uids are usually below 65536
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 03:48 AM
тАО04-19-2006 03:48 AM
Re: /etc/passwd
pay close attention to maxusers kernel parameter...
http://www.docs.hp.com/en/939/KCParms/KCparam.MiscParamsOverview.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 03:55 AM
тАО04-19-2006 03:55 AM
Re: /etc/passwd
I may add, that UIDs need not be different - there may be 'aliases' with different usernames.
I remember especially the (ab)use of more that one root-ID.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 10:53 AM
тАО04-19-2006 10:53 AM
Re: /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 11:25 AM
тАО04-19-2006 11:25 AM
Re: /etc/passwd
Be care with the manage of the /etc/group because if your users have a lot of secondary groups, its posible that the /etc/group file will be corrupted (Exist a kernel limitation in the line size).
LFOD !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 01:49 PM
тАО04-19-2006 01:49 PM
Re: /etc/passwd
1. You don't have to write a massively long line for a group ID with thousands of users. Just put 8 or 10 user names on one line, then create a new line with the same GID and add more users. There is no limit to the number of lines (or the order) for the same GID.
2. You don't need to identify the user's primary GID because that is in the passwd file. So the only entries needed in /etc/group are for secondary group memberships. And for documentation for the ll command, make sure all group names are listed even if there are no members. Without these entries, the GID will be a number in the ll command.
Bill Hassell, sysadmin