[asterisk-users] Standard UIDs, especially for asterisk?

Tony Mountifield tony at softins.co.uk
Tue Nov 15 10:47:07 CST 2011


In article <alpine.DEB.2.00.1111151609440.26304 at unicorn.drogon.net>,
Gordon Henderson <gordon+asterisk at drogon.net> wrote:
> On Tue, 15 Nov 2011, Tony Mountifield wrote:
> 
> > I see on my CentOS systems that certain users for particular subsystems
> > have standardised UIDs and GIDs. For example mysql=27, ntp=38, sshd=74.
> >
> > My two questions are:
> >
> > 1. Is there a list of these standard assignments somewhere? Googling did
> > not turn up anything for me.
> 
> Different distros and different sysadmins have their own ideas about what 
> numbers to use - I used to use 80 for the apache web user, but Debian for 
> some weird reason likes 33 for example...

Ah, interesting. CentOS uses 48 for apache, so it evidently does vary
between distros.

> > 2. Are there standard values of UID and GID reserved for the "asterisk"
> > user, if used for running Asterisk as non-root.?
> 
> No. You may find that CentOS has an idea of what UIDs it likes to reserve 
> for 'system' processes vs. users... See the man page for useradd (-r 
> option) or adduser (--system option) depending on which one you prefer.

Yes, I had been hoping there was a system UID reserved for asterisk,
but apparently not.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list