systems:tasks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
systems:tasks [2022/04/01 08:51] – created dericksystems:tasks [2024/08/14 09:44] (current) derick
Line 2: Line 2:
  
 This page explains how to do specific tasks with the PHP infrastructure. This page explains how to do specific tasks with the PHP infrastructure.
 +
 +===== Download Server Access ====
 +
 +''ssh downloads.php.net'', and then:
 +
 +<code>
 +sudo su -
 +export USER_TO_ADD=sergey
 +
 +adduser $USER_TO_ADD
 +cd /home
 +mkdir $USER_TO_ADD/.ssh
 +chmod 0700 $USER_TO_ADD/.ssh
 +vim $USER_TO_ADD/.ssh/authorized_keys
 +chown $USER_TO_ADD $USER_TO_ADD/.ssh $USER_TO_ADD/.ssh/authorized_keys
 +chmod 0600 $USER_TO_ADD/.ssh/authorized_keys
 +chgrp $USER_TO_ADD $USER_TO_ADD/.ssh $USER_TO_ADD/.ssh/authorized_keys
 +mkdir $USER_TO_ADD/public_html
 +chown $USER_TO_ADD $USER_TO_ADD/public_html
 +</code>
 +
 +
 +Last update: July 31, 2024
 +
 +===== Admin access to Debian systems ====
 +
 +<code>
 +export USER_TO_ADD=example
 +export GITHUB_USERID=different
 +
 +adduser $USER_TO_ADD --disabled-password
 +cd /home
 +mkdir $USER_TO_ADD/.ssh
 +chmod 0700 $USER_TO_ADD/.ssh
 +curl https://github.com/$GITHUB_USERID.keys > $USER_TO_ADD/.ssh/authorized_keys
 +chmod 0600 $USER_TO_ADD/.ssh/authorized_keys
 +chown $USER_TO_ADD:$USER_TO_ADD $USER_TO_ADD/.ssh $USER_TO_ADD/.ssh/authorized_keys
 +adduser $USER_TO_ADD sudo
 +</code>
 +
 +Also, add the following to $USER_TO_ADD/.gitconfig:
 +<code>
 +[user]
 +    name = User's Actual Name
 +    email = User's Email Address Used on GitHub
 +</code>
 +
 +Last update: August 14, 2024
 +
 +===== Add Announce List Moderator =====
 +
 +''ssh lists.php.net'', and then:
 +<code>
 +sudo su - nobody
 +export USER_TO_ADD=sergey
 +
 +echo $USER_TO_ADD@php.net >> /var/spool/mlmmj/php-announce/control/moderators
 +/usr/bin/mlmmj-sub -L /var/spool/mlmmj/php-announce -a $USER_TO_ADD@php.net
 +</code>
 +
 +Last update: August 12, 2024
 +
 +===== Release Managers Email Alias =====
 +
 +To add somebody to the ''release-managers@php.net'' alias, do the following steps:
 +
 +  - Log into ''php-smtp4.php.net''
 +  - Edit ''/etc/aliases-02fixed'' — Use ''@php.net'' email addresses when available.
 +  - A cronjob will automatically update ''/etc/aliases'' every minute.
 +  - The cronjob emails ''systems@php.net'' with changes to the aliases file.
 +  - Wait 5 minutes
 +  - Announce new additions (and removals) by sending an email to ''release-managers@php.net'' containing the actions taken.
 +
 +Last update: May 20th, 2022
 +
  
 ===== Security Email Alias ===== ===== Security Email Alias =====
Line 8: Line 83:
  
   - Log into ''php-smtp4.php.net''   - Log into ''php-smtp4.php.net''
-  - Edit ''/etc/aliases-02fixed'' — Use ''@php.net'' email addresses when available.+  - Edit ''/etc/aliases-02fixed'' — Use ''@php.net'' email addresses when available.
   - A cronjob will automatically update ''/etc/aliases'' every minute.   - A cronjob will automatically update ''/etc/aliases'' every minute.
 +  - The cronjob emails ''systems@php.net'' with changes to the aliases file.
   - Wait 5 minutes   - Wait 5 minutes
   - Announce new additions (and removals) by sending an email to ''security@php.net'' containing the actions taken.   - Announce new additions (and removals) by sending an email to ''security@php.net'' containing the actions taken.
  
 Last update: April 1st, 2022 Last update: April 1st, 2022
- 
- 
systems/tasks.1648803117.txt.gz · Last modified: 2022/04/01 08:51 by derick