LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2010, 12:34 PM   #1
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Rep: Reputation: 96
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.
 
Old 11-29-2010, 12:48 PM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
You mean http://slackbuilds.org/uid_gid.txt ?
 
Old 11-29-2010, 12:57 PM   #3
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
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.
 
Old 11-29-2010, 01:32 PM   #4
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 37
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

Last edited by PDock; 11-29-2010 at 01:34 PM.
 
Old 11-29-2010, 02:23 PM   #5
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
I know, but that doesn't tell me which ID blocks, if any, are reserved for anything specific.

Last edited by 2handband; 11-29-2010 at 02:26 PM.
 
Old 11-29-2010, 11:11 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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.
 
1 members found this post helpful.
Old 11-30-2010, 06:58 AM   #7
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by catkin View Post
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!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring dhcpd.conf with ip reservations comeatmanish Linux - Server 6 03-12-2010 12:16 AM
can linux dhcp do reservations? Court-Jester Linux - Networking 2 10-12-2006 12:52 PM
Changing the UID of a Physical Volume to a specific UID jambraun Linux - Newbie 2 02-09-2006 02:34 PM
FREEBSD5.3 platform: PHP setcookie() successful, but $uid = $_COOKIE['uid']; fail tclwp Programming 1 03-30-2005 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:42 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
Open Source Consulting | Domain Registration