[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51
Holger Levsen
holger at layer-acht.org
Wed May 15 10:10:14 UTC 2013
The following commit has been merged in the master branch:
commit 27ab6cb5bb0bc17663268c2def6f183842e346cd
Merge: 3cc5ee81713883e24de92329ff7c45d4e78eccd5 5000a36b3cc3f59b1b43c58a00aa54dda63bbecc
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon May 13 21:35:59 2013 +0200
merge changes from develop and update README :/
diff --combined README_pejacevic.txt
index 4d1b039,0fc6bed..fab445d
--- a/README_pejacevic.txt
+++ b/README_pejacevic.txt
@@@ -16,7 -16,20 +16,22 @@@ piuparts.debian.org is a setup running
A piupartss (on piu-slave-bm-a) and a piupartsm (on pejacevic) user is needed. Both are members of the group piuparts and '/srv/piuparts.debian.org' is 774 piupartss:piuparts.
- Create an SSH keypair for piupartss and put it into '/etc/ssh/userkeys/piupartsm' on pejacevic, so the piupartss can login with ssh and run piuparts-master.
-=== '~/bashrc' for piupartsm and piupartss
++==== '~/bashrc' for piupartsm and piupartss
+
+ Do this for the piupartsm user on pejacevic and piupartss on the slave:
+
+ ----
+ piupartsm at pejacevic$ cat >> ~/.bashrc <<-EOF
+
+ # added manually for piuparts
+ umask 0002
+ export PATH="~/bin:\$PATH"
+ EOF
------
++----
++
++==== set up ssh pubkey authentification
+
+ Then create an SSH keypair for piupartss and put it into '/etc/ssh/userkeys/piupartsm' on pejacevic, so the piupartss can login with ssh and run piuparts-master.
Restrict it like this:
----
@@@ -24,24 -37,24 +39,25 @@@ $ cat /etc/ssh/userkeys/piuparts
command="/srv/piuparts.debian.org/share/piuparts/piuparts-master",from="2001:41c8:1000:21::21:7,5.153.231.7",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-rsa ...
----
--=== '/etc/sudoers' for pejacevic
++=== Setup sudo
++
++==== '/etc/sudoers' for pejacevic
----
#piuparts admins
%piuparts ALL=(piupartsm) ALL
----
--=== '/etc/sudoers' for piu-slave-bm-a
++==== '/etc/sudoers' for piu-slave-bm-a
----
# The piuparts slave needs to handle chroots.
piupartss ALL = NOPASSWD: ALL
#piuparts admins
- %piuparts ALL=(piupartsm) ALL
+ %piuparts ALL=(piupartss) ALL
----
--
=== piuparts installation from source
* sudo apt-get build-dep piuparts
--
piuparts git repository
More information about the Piuparts-commits
mailing list