Start deorbiting the advice about things to put in the wheel group.

Start the move from the 'portmgr' user to the 'portbuild' user.
This commit is contained in:
Mark Linimon 2012-12-18 01:43:28 +00:00
parent bb1362cb3b
commit a1c673994f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40413

View file

@ -1695,8 +1695,7 @@ options NFSSERVER # Network Filesystem Server</programlist
<listitem>
<para>Create a
<literal>ports-<replaceable>${arch}</replaceable></literal>
user and group. Add it to the <literal>wheel</literal>
group. It can have the <literal>'*'</literal> password.</para>
user and group. It can have the <literal>'*'</literal> password.</para>
<para>Create
<filename>/home/ports-<replaceable>${arch}/.ssh/</replaceable></filename>
@ -1977,6 +1976,10 @@ touch /tmp/.boot_finished</screen>
</listitem>
<listitem>
<note>
<para>This step is under review.</para>
</note>
<para>Create
<filename>usr/local/etc/sudoers/sudoers.d/portbuild</filename>:<programlisting>
# local changes for package building
@ -2558,7 +2561,7 @@ dopackages</command> without <literal>-nobuild</literal>.</para>
<listitem>
<screen>
chown ports-<replaceable>arch</replaceable>:portmgr /var/portbuild/<replaceable>arch</replaceable>;
chown ports-<replaceable>arch</replaceable>:portbuild /var/portbuild/<replaceable>arch</replaceable>;
chmod 775 /var/portbuild/<replaceable>arch</replaceable>;
cd /var/portbuild/<replaceable>arch</replaceable></screen>
</listitem>
@ -2763,7 +2766,7 @@ ln -s ../<replaceable>arch</replaceable>/archive/errorlogs <replaceable>arch</re
<itemizedlist>
<listitem>
<para>Tell <application>qmanager</application> about the arch:
<screen>python <replaceable>path</replaceable>/qmanager/qclient add_acl name=ports-<replaceable>arch</replaceable> uidlist=ports-<replaceable>arch</replaceable> gidlist=portmgr sense=1</screen></para>
<screen>python <replaceable>path</replaceable>/qmanager/qclient add_acl name=ports-<replaceable>arch</replaceable> uidlist=ports-<replaceable>arch</replaceable> gidlist=portbuild sense=1</screen></para>
</listitem>
<listitem>
@ -2813,8 +2816,7 @@ ln -s ../<replaceable>arch</replaceable>/archive/errorlogs <replaceable>arch</re
<step>
<para>Create a user to own the <application>portbuild</application>
repository, such as <literal>portmgr</literal>, and add it
to the <literal>wheel</literal> group. It should have the
repository, such as <literal>portbuild</literal>. It should have the
<literal>'*'</literal> password.</para>
</step>
@ -2994,7 +2996,7 @@ sysutils/zfs-stats</screen>
<step>
<para>Set up the directory:<screen>
&prompt.root; cd /a/portbuild
&prompt.root; chown portmgr:portmgr .
&prompt.root; chown portbuild:portbuild .
&prompt.root; chmod 775 .
&prompt.root; ln -sf /a/portbuild /var/portbuild
</screen>
@ -3018,7 +3020,7 @@ sysutils/zfs-stats</screen>
<step>
<para>Set up an account with subversion config files
installed. Again, we generally use
<replaceable>portmgr</replaceable>.</para>
<replaceable>portbuild</replaceable>.</para>
</step>
<step>
@ -3199,9 +3201,9 @@ qmanager.sh</screen>
</step>
<step>
<para>Install <filename>/var/portbuild/crontabs/portmgr</filename> as
the <username>portmgr</username> crontab via
<command>crontab -u portmgr -e</command>. If you do
<para>Install <filename>/var/portbuild/crontabs/portbuild</filename> as
the <username>portbuild</username> crontab via
<command>crontab -u portbuild -e</command>. If you do
not support all the archs listed there, make sure to comment out
the appropriate <application>dologs</application> entries.</para>
</step>