- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- USRID Length
Operating System - Linux
1753886
Members
7102
Online
108809
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО10-12-2010 10:30 AM
тАО10-12-2010 10:30 AM
Greetings!
Is there a userid length limit on Linux? Version Redhat 5..In case i need to have more than 8 chars as userid what are the extra steps i have to be prepared?
Thanks
Mike.
Is there a userid length limit on Linux? Version Redhat 5..In case i need to have more than 8 chars as userid what are the extra steps i have to be prepared?
Thanks
Mike.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2010 10:32 PM
тАО10-12-2010 10:32 PM
Solution
Hi,
There are three types of users in Linux,
1.root user (admin --- 0)
2.System users ( 1 to 499 )
3.Normal users ( from 500 to 59999)
when u want to assign below 500 id first check in /etc/passwd file which id is free( not assigned to any user) u can use that id and u can assign. Assume 356 id is free
EX: #useradd -u 356 tom
system will give u error but the user has created successfully.
Now check the /etc/passwd file u will get tom
user entry with uid 356 ok?
you can use 8 character user id with -u switch if that is not assigned yet, no extra steps required.
for detail in user administration, please follow the below link for your reference.
http://www.debianadmin.com/users-and-groups-administration-in-linux.html
NOTE: you can change user id limit in /etc/login.defs file.
Hope this will help you to clear your doubts.
Cheers.
There are three types of users in Linux,
1.root user (admin --- 0)
2.System users ( 1 to 499 )
3.Normal users ( from 500 to 59999)
when u want to assign below 500 id first check in /etc/passwd file which id is free( not assigned to any user) u can use that id and u can assign. Assume 356 id is free
EX: #useradd -u 356 tom
system will give u error but the user has created successfully.
Now check the /etc/passwd file u will get tom
user entry with uid 356 ok?
you can use 8 character user id with -u switch if that is not assigned yet, no extra steps required.
for detail in user administration, please follow the below link for your reference.
http://www.debianadmin.com/users-and-groups-administration-in-linux.html
NOTE: you can change user id limit in /etc/login.defs file.
Hope this will help you to clear your doubts.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2010 02:30 AM
тАО10-13-2010 02:30 AM
Re: USRID Length
All modern Linux kernels can handle longer usernames, but some tools (ps for example) have only 8-character space for usernames in their standard listing. If the username is longer than 8 characters, ps shows the UID number instead, so the listing remains un-ambiguous.
ps can show longer usernames if you use options to specify a custom list format.
MK
ps can show longer usernames if you use options to specify a custom list format.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP