LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-24-2011, 10:17 AM   #1
prafulnama
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Rep: Reputation: 0
Reservations for System UID/GID


Hi,

I have a question regd. reservations for the system GID's/UID's in Redhat. I understand that numbers <500 are reserved for systems and >500 for users. In the former, is there a range that is reserved for private use (like the 10. range in the case of IP addresses)? I need to create a system group and user and specify a GID and UID and I would like to make sure that the numbers do not conflict with some other package.

Thanks!
-p

Last edited by prafulnama; 02-24-2011 at 10:18 AM.
 
Old 02-24-2011, 12:06 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,791
Blog Entries: 54

Rep: Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980
AFAIK there's no "central registry" of account names and Id's like IANA for port assignments. If you 'awk -F':' '{print $3, $1}' /etc/passwd|sort -gk1;' on a full system then probably uid's range from 0 spilling over into 200 and then it gets sparse. While it is traditional to have an uid < 500 I wonder if an unprivileged account could do too and even if there's conflicts, it wouldn't be hard to use another uid, right? Unless you hardcode it it'll just be resolving the account name to the uid, so the specific number woulnd't really affect operation, wouldn't it? (Tell me if this doesn't make sense, OK?)
 
  


Reply

Tags
gid, group, uid, user


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] UID reservations in Slackware 2handband Slackware 6 11-30-2010 07:58 AM
Audit System: uid < 19 and gid < 20 quanba Linux - Newbie 1 03-27-2010 02:32 AM
what is uid and gid rmanocha Linux - Software 9 08-19-2008 12:03 AM
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 12:39 PM
How do i find all the set UID/GID file on my current system Linux_interest Linux - Newbie 1 09-13-2004 11:09 AM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration