systems:tasks
System Administration Tasks
This page explains how to do specific tasks with the PHP infrastructure.
Download Server Access
ssh downloads.php.net
, and then:
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
Last update: July 31, 2024
Admin access to Debian systems
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
Also, add the following to $USER_TO_ADD/.gitconfig:
[user] name = User's Actual Name email = User's Email Address Used on GitHub
Last update: August 14, 2024
Add Announce List Moderator
ssh lists.php.net
, and then:
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
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
To add somebody to the security@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
security@php.net
containing the actions taken.
Last update: April 1st, 2022
systems/tasks.txt · Last modified: 2024/08/14 09:44 by derick