1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 3<html> 4 <head> 5 <meta name="generator" content="HTML Tidy, see www.w3.org"> 6 <title>Daemon User and Daemon Group</title> 7 <meta name="GENERATOR" content= 8 "Modular DocBook HTML Stylesheet Version 1.7"> 9 <link rel="HOME" title=" LPRng Reference Manual" href= 10 "index.htm"> 11 <link rel="UP" title="Installation" href="installation.htm"> 12 <link rel="PREVIOUS" title= 13 "Network Mounted File System and Spool Directories" href= 14 "nfsmount.htm"> 15 <link rel="NEXT" title="Configuration" href="x485.htm"> 16 </head> 17 18 <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link= 19 "#0000FF" vlink="#840084" alink="#0000FF"> 20 <div class="NAVHEADER"> 21 <table summary="Header navigation table" width="100%" border= 22 "0" cellpadding="0" cellspacing="0"> 23 <tr> 24 <th colspan="3" align="center">LPRng Reference Manual: 5 25 Sep 2003 (For LPRng-3.8.22)</th> 26 </tr> 27 28 <tr> 29 <td width="10%" align="left" valign="bottom"><a href= 30 "nfsmount.htm" accesskey="P">Prev</a></td> 31 32 <td width="80%" align="center" valign="bottom">Chapter 2. 33 Installation</td> 34 35 <td width="10%" align="right" valign="bottom"><a href= 36 "x485.htm" accesskey="N">Next</a></td> 37 </tr> 38 </table> 39 <hr align="LEFT" width="100%"> 40 </div> 41 42 <div class="SECT1"> 43 <h1 class="SECT1"><a name="USERGROUP">2.4. Daemon User and 44 Daemon Group</a></h1> 45 46 <p>The <b class="APPLICATION">lpd</b> server is started at 47 system initialization time and initially runs as ROOT 48 (Effective <acronym class="ACRONYM">UID</acronym> 0). It 49 performs all file and other operations with <span class= 50 "emphasis"><i class="EMPHASIS">non-privileged</i></span> user 51 <var class="LITERAL">daemon</var> Effective <acronym class= 52 "ACRONYM">UID</acronym> and group <var class= 53 "LITERAL">daemon</var> Effective GID, and does a <code class= 54 "FUNCTION">setuid()</code> to these UID and GID values when 55 running programs. The client programs such as <b class= 56 "APPLICATION">lpr</b> operate with the effective user IDs of 57 the user which started them.</p> 58 59 <p>Most UNIX systems already have user <var class= 60 "LITERAL">daemon</var> and group <var class= 61 "LITERAL">daemon</var>, or a similar ones. If suitable user 62 and group IDs are not present then the appropriate system 63 administration tools should be used to create them. The 64 configuration <var class="LITERAL">--with-userid=UID</var> 65 and <var class="LITERAL">--with-groupid=GID</var> can be used 66 to specify the user and group IDs. The user ID must <span 67 class="emphasis"><i class="EMPHASIS">not</i></span> have 68 login capability.</p> 69 </div> 70 71 <div class="NAVFOOTER"> 72 <hr align="LEFT" width="100%"> 73 74 <table summary="Footer navigation table" width="100%" border= 75 "0" cellpadding="0" cellspacing="0"> 76 <tr> 77 <td width="33%" align="left" valign="top"><a href= 78 "nfsmount.htm" accesskey="P">Prev</a></td> 79 80 <td width="34%" align="center" valign="top"><a href= 81 "index.htm" accesskey="H">Home</a></td> 82 83 <td width="33%" align="right" valign="top"><a href= 84 "x485.htm" accesskey="N">Next</a></td> 85 </tr> 86 87 <tr> 88 <td width="33%" align="left" valign="top">Network Mounted 89 File System and Spool Directories</td> 90 91 <td width="34%" align="center" valign="top"><a href= 92 "installation.htm" accesskey="U">Up</a></td> 93 94 <td width="33%" align="right" valign="top"> 95 Configuration</td> 96 </tr> 97 </table> 98 </div> 99 </body> 100</html> 101 102