OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web                      Date:   02-Apr-2003 15:06:01
  Branch: HEAD                             Handle: 2003040214060000

  Modified files:
    openpkg-web             faq.wml

  Log:
    work off "Userids and Groupids" and link to Handbook

  Summary:
    Revision    Changes     Path
    1.28        +15 -3      openpkg-web/faq.wml
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-web/faq.wml
  ============================================================================
  $ cvs diff -u -r1.27 -r1.28 faq.wml
  --- openpkg-web/faq.wml       2 Apr 2003 10:04:35 -0000       1.27
  +++ openpkg-web/faq.wml       2 Apr 2003 13:06:00 -0000       1.28
  @@ -416,8 +416,8 @@
   
   <faq id="uid-security"
        title="What is the fuzz about those multiple user/group ids in OpenPKG?">
  -    Since OpenPKG 1.1 the bootstrapping package ("openpkg") requires
  -    four distinct Unix user/group id pairs:
  +    Starting with OpenPKG 1.1 the bootstrapping package ("openpkg") uses
  +    four distinct Unix user/group id pairs, previous versions used only two.
       <p>
   <pre>
   Name             Option RPM-Macro Default       Example Files Proc. 
  @@ -435,7 +435,7 @@
       The default values are derived from the options
       <tt>--user=&lt;user&gt;</tt> and <tt>--group=&lt;group&gt;</tt>
       on the command line of <tt>openpkg-*.src.sh</tt>. For instance,
  -    the "Example" values above are used achieved with <tt>--user=opkg
  +    the "Example" values above are achieved with <tt>--user=opkg
       --group=opkg</tt>. In case of a non-privileged OpenPKG instance,
       the {mrn}{usr,grp} are usually identical.
       <p>
  @@ -450,6 +450,18 @@
       the addition that the OpenPKG "restricted user/group" has little
       bit more privileges than the "nobody user/group" because (mostly
       generated) files are also owned by him.
  +    <p>
  +    Find more about this topic in the
  +    <a href="/doc/handbook/openpkg.html#security-usergroup">Handbook</a>.
  +</faq>
  +
  +<faq id="uid-query"
  +     title="How can i query OpenPKG RPM to see which user/group ids are used?">
  +<pre>
  +    for i in s m r n; do
  +        rpm --eval "${i}usr=%{l_${i}usr}, ${i}grp=%{l_${i}grp}"
  +    done
  +</pre>
   </faq>
   
   <faq id="overriding-cflags"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to