LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   UID reservations in Slackware (https://www.linuxquestions.org/questions/slackware-14/uid-reservations-in-slackware-847272/)

2handband 11-29-2010 12:34 PM

UID reservations in Slackware
 
Hey, can somebody point me towards a breakdown of how the reserved UIDs are assigned in Slackware? I can't seem to find one anywhere.

sahko 11-29-2010 12:48 PM

You mean http://slackbuilds.org/uid_gid.txt ?

2handband 11-29-2010 12:57 PM

Not exactly. In most distros different blocks of IDs are reserved for certain purposes. For instance, in Debian 0-99 is reserved for system accounts allocated by Debian, 100-999 for system accounts allocated by other software, 1000-29999 for regular user accounts, and so on. I'm looking for a similar breakdown for Slackware. It's easy to find this breakdown for Red Hat or Debian... not so much for other distros.

PDock 11-29-2010 01:32 PM

As root view the /etc/passwd file. Being an old goat I use mc to do things like that as it reminds me of my Xtree (gold) days. Anyhow you can see that Slackware has UIDs below 100 [except for users, who start at 1000]. Just a guess on my part is that PAM might play a role in those distributions reserving 100-999. Of course Slackware does not use PAM.

ppd

2handband 11-29-2010 02:23 PM

I know, but that doesn't tell me which ID blocks, if any, are reserved for anything specific.

catkin 11-29-2010 11:11 PM

AFAIK Slackware doesn't impose or recommend any UID conventions. The /etc/default/useradd file sets a default group of 100 (which is users). You are free to use whatever scheme you like, including the Debian scheme.

2handband 11-30-2010 06:58 AM

Quote:

Originally Posted by catkin (Post 4175400)
AFAIK Slackware doesn't impose or recommend any UID conventions. The /etc/default/useradd file sets a default group of 100 (which is users). You are free to use whatever scheme you like, including the Debian scheme.

Okay, thanks!


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