The client parts of LPRng are often installed setuid root so that they can
send from a privileged port (something in the RFC states that requests
need to be issued from the range 721-731 - most lpd servers do not enforce
that, but that's why the client would be installed as root).
Bill Knox
Senior Operating Systems Programmer/Analyst
The MITRE Corporation
On Fri, 15 Feb 2002, Craig Small wrote:
> Date: Fri, 15 Feb 2002 10:55:15 +1100
> From: Craig Small <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: running lprng as non-root user
>
> On Thu, Feb 14, 2002 at 04:21:57PM +0000, Toby Blake wrote:
> > Quick question - is it possible to run lprng (both client and server
> > parts) as a non-root user?
> >
> > Obviously I'd need to change the lpd port number and directories
> > used.
> >
> > I need to do this on a temporary basis in order to test some things
> > out on a machine that's already running lpd, etc.
>
> Assuming you do those port and directory permission things I'd say it is
> very likely. You only need root to access <1024 port and get to the
> directories.
>
> I'm not sure what you mean by client parts, if you are talking about the
> client programs then they (generally, let's assume you dont have some
> wierdo setup) should run as non-root.
>
> - Craig
>
> --
> Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
> Eye-Net Consulting http://www.eye-net.com.au/ <[EMAIL PROTECTED]>
> MIEEE <[EMAIL PROTECTED]> Debian developer <[EMAIL PROTECTED]>
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
>
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------