<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.opensourceecology.org/index.php?action=history&amp;feed=atom&amp;title=Maltfield_Log%2F2021_Q3</id>
	<title>Maltfield Log/2021 Q3 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.opensourceecology.org/index.php?action=history&amp;feed=atom&amp;title=Maltfield_Log%2F2021_Q3"/>
	<link rel="alternate" type="text/html" href="https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2021_Q3&amp;action=history"/>
	<updated>2026-05-02T18:55:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.13</generator>
	<entry>
		<id>https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2021_Q3&amp;diff=259276&amp;oldid=prev</id>
		<title>Maltfield: Created page with &quot;My work log from the year 2021 Quarter 2. I intentionally made this verbose to make future admin&#039;s work easier when troubleshooting. The more keywords, error messages, etc tha...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.opensourceecology.org/index.php?title=Maltfield_Log/2021_Q3&amp;diff=259276&amp;oldid=prev"/>
		<updated>2021-08-06T10:49:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;My work log from the year 2021 Quarter 2. I intentionally made this verbose to make future admin&amp;#039;s work easier when troubleshooting. The more keywords, error messages, etc tha...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;My work log from the year 2021 Quarter 2. I intentionally made this verbose to make future admin&amp;#039;s work easier when troubleshooting. The more keywords, error messages, etc that are listed in this log, the more helpful it will be for the future OSE Sysadmin.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
# [[Maltfield_Log]]&lt;br /&gt;
# [[User:Maltfield]]&lt;br /&gt;
# [[Special:Contributions/Maltfield]]&lt;br /&gt;
&lt;br /&gt;
=Fri August 06, 2021=&lt;br /&gt;
# jthomas is still having issues ssh&amp;#039;ing into the server. I think I may have fixed it by changing the ownership of the .ssh dir from 0755 to 0700 per our actual documentation https://wiki.opensourceecology.org/wiki/OSE_Server#SSH&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@opensourceecology log]# ls -lah /home/jthomas/.ssh&lt;br /&gt;
total 12K&lt;br /&gt;
drwxr-xr-x 2 jthomas jthomas 4.0K Jul  8 16:39 .&lt;br /&gt;
drwx------ 3 jthomas jthomas 4.0K Jul  8 16:38 ..&lt;br /&gt;
-rw-r--r-- 1 jthomas jthomas  717 Jul  8 16:39 authorized_keys&lt;br /&gt;
[root@opensourceecology log]# &lt;br /&gt;
[root@opensourceecology log]# &lt;br /&gt;
[root@opensourceecology log]# &lt;br /&gt;
[root@opensourceecology log]# chmod 700 /home/jthomas/.ssh&lt;br /&gt;
[root@opensourceecology log]# ls -lah /home/jthomas/.ssh&lt;br /&gt;
total 12K&lt;br /&gt;
drwx------ 2 jthomas jthomas 4.0K Jul  8 16:39 .&lt;br /&gt;
drwx------ 3 jthomas jthomas 4.0K Jul  8 16:38 ..&lt;br /&gt;
-rw-r--r-- 1 jthomas jthomas  717 Jul  8 16:39 authorized_keys&lt;br /&gt;
[root@opensourceecology log]# &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
## I&amp;#039;ve had this issue before since my own personal dir is 0755, and I usually just copy that as a template. Not sure why it always works for me as 0755 but not others..&lt;br /&gt;
# Today I finally re-logged-into the ose dev server since Marcin gave me access to the hetzner cloud panel again&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
user@ose:~$ ssh -p32415 maltfield@195.201.233.113&lt;br /&gt;
The authenticity of host &amp;#039;[195.201.233.113]:32415 ([195.201.233.113]:32415)&amp;#039; can&amp;#039;t be established.&lt;br /&gt;
ECDSA key fingerprint is SHA256:U99nmyy5WJZMQ6qQL7vofldQJcpztHzCEzO6OuHuLd4.&lt;br /&gt;
Are you sure you want to continue connecting (yes/no)? yes&lt;br /&gt;
Warning: Permanently added &amp;#039;[195.201.233.113]:32415&amp;#039; (ECDSA) to the list of known hosts.&lt;br /&gt;
Last login: Sun Sep 27 12:14:02 2020 from 110.44.127.170&lt;br /&gt;
[maltfield@osedev1 ~]$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
# And I setup the .ssh/config file to simplify this in the future&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
user@ose:~$ cat ~/.ssh/config &lt;br /&gt;
# OSE&lt;br /&gt;
Host openbuildinginstitute.org *.openbuildinginstitute.org opensourceecology.org *.opensourceecology.org&lt;br /&gt;
	Port 32415&lt;br /&gt;
	ForwardAgent yes&lt;br /&gt;
	IdentityFile /home/user/.ssh/identities/ose/id_rsa.ose&lt;br /&gt;
	User maltfield&lt;br /&gt;
Host osedev1&lt;br /&gt;
	Hostname 195.201.233.113&lt;br /&gt;
	Port 32415&lt;br /&gt;
	ForwardAgent yes&lt;br /&gt;
	IdentityFile /home/user/.ssh/identities/ose/id_rsa.ose&lt;br /&gt;
	User maltfield&lt;br /&gt;
user@ose:~$ &lt;br /&gt;
&lt;br /&gt;
user@ose:~$ ssh osedev1&lt;br /&gt;
Last login: Fri Aug  6 11:51:06 2021 from x4dbf0f28.dyn.telefonica.de&lt;br /&gt;
[maltfield@osedev1 ~]$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
# I scp&amp;#039;d Joshua&amp;#039;s CSR to the dev server, created his user, imported his cert, and signed it&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@osedev1 3]# ./easyrsa sign-req client jthomas&lt;br /&gt;
&lt;br /&gt;
Using SSL: openssl OpenSSL 1.0.2k-fips  26 Jan 2017&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You are about to sign the following certificate.&lt;br /&gt;
Please check over the details shown below for accuracy. Note that this request&lt;br /&gt;
has not been cryptographically verified. Please be sure it came from a trusted&lt;br /&gt;
source or that you have verified the request checksum with the sender.&lt;br /&gt;
&lt;br /&gt;
Request subject, to be signed as a client certificate for 1080 days:&lt;br /&gt;
&lt;br /&gt;
subject=&lt;br /&gt;
	countryName               = US&lt;br /&gt;
	stateOrProvinceName       = NV&lt;br /&gt;
	localityName              = Henderson&lt;br /&gt;
	organizationName          = Order of the Oracle LLC&lt;br /&gt;
	organizationalUnitName    = Sys Admin&lt;br /&gt;
	commonName                = Joshua Thomas&lt;br /&gt;
	emailAddress              = joshua.thomas@ooto.technology&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the word &amp;#039;yes&amp;#039; to continue, or any other input to abort.&lt;br /&gt;
  Confirm request details: yes&lt;br /&gt;
Using configuration from /usr/share/easy-rsa/3/pki/safessl-easyrsa.cnf&lt;br /&gt;
Enter pass phrase for /usr/share/easy-rsa/3/pki/private/ca.key:&lt;br /&gt;
Check that the request matches the signature&lt;br /&gt;
Signature ok&lt;br /&gt;
The Subject&amp;#039;s Distinguished Name is as follows&lt;br /&gt;
countryName           :PRINTABLE:&amp;#039;US&amp;#039;&lt;br /&gt;
stateOrProvinceName   :ASN.1 12:&amp;#039;NV&amp;#039;&lt;br /&gt;
localityName          :ASN.1 12:&amp;#039;Henderson&amp;#039;&lt;br /&gt;
organizationName      :ASN.1 12:&amp;#039;Order of the Oracle LLC&amp;#039;&lt;br /&gt;
organizationalUnitName:ASN.1 12:&amp;#039;Sys Admin&amp;#039;&lt;br /&gt;
commonName            :ASN.1 12:&amp;#039;Joshua Thomas&amp;#039;&lt;br /&gt;
emailAddress          :IA5STRING:&amp;#039;joshua.thomas@ooto.technology&amp;#039;&lt;br /&gt;
Certificate is to be certified until Jul 21 10:30:43 2024 GMT (1080 days)&lt;br /&gt;
&lt;br /&gt;
Write out database with 1 new entries&lt;br /&gt;
Data Base Updated&lt;br /&gt;
&lt;br /&gt;
Certificate created at: /usr/share/easy-rsa/3/pki/issued/jthomas.crt&lt;br /&gt;
&lt;br /&gt;
[root@osedev1 3]# &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
# And I prepared their openvpn config&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@osedev1 jthomas]# tar -czvf openvpn.tar.gz openvpn/&lt;br /&gt;
openvpn/&lt;br /&gt;
openvpn/ta.key&lt;br /&gt;
openvpn/client.conf&lt;br /&gt;
openvpn/ca.crt&lt;br /&gt;
openvpn/jthomas.csr&lt;br /&gt;
openvpn/jthomas.crt&lt;br /&gt;
openvpn/username.txt&lt;br /&gt;
[root@osedev1 jthomas]# &lt;br /&gt;
&lt;br /&gt;
[root@osedev1 jthomas]# pwd&lt;br /&gt;
/home/jthomas&lt;br /&gt;
[root@osedev1 jthomas]# du -sh *&lt;br /&gt;
32K	openvpn&lt;br /&gt;
8.0K	openvpn.tar.gz&lt;br /&gt;
[root@osedev1 jthomas]# &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
# I sent Joshua an email asking them to scp the config down from the dev server; then we&amp;#039;ll confirm access to the staging environment&lt;br /&gt;
&lt;br /&gt;
=Thr July 08, 2021=&lt;br /&gt;
&lt;br /&gt;
# Marcin approved granting root access to our server for Joshua Thomas, an OSE apprentice&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Michael,&lt;br /&gt;
&lt;br /&gt;
Yes, I authorize root access for Joshua Thomas to OSE infrastructure. He is&lt;br /&gt;
here for the next 6 months and I like how he works as a team player. He is&lt;br /&gt;
also resourceful. There are also risks involved, which I appreciate and I&lt;br /&gt;
would not give Joshua access unless there is a certain minimum of skill and&lt;br /&gt;
trust involved. Since he is performing well, I conclude that we would be&lt;br /&gt;
able to manage these risks successfully in cases of any breakdown. I do not&lt;br /&gt;
see much risk with finishing Discourse because from what I can tell, you&lt;br /&gt;
already did most of the work successfully.&lt;br /&gt;
&lt;br /&gt;
Please communicate with him and cc me for the next steps.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Marcin&lt;br /&gt;
&lt;br /&gt;
On Mon, Jul 5, 2021 at 10:46 AM Michael Altfield &amp;lt;&lt;br /&gt;
michael@opensourceecology.org&amp;gt; wrote:&lt;br /&gt;
&lt;br /&gt;
&amp;gt; Hey Marcin,&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; After reviewing Joshua&amp;#039;s CV, I see that they don&amp;#039;t have a lot of Linux&lt;br /&gt;
&amp;gt; System Administration experience.&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; It looks like they did install NextCloud on an Ubuntu service sometime&lt;br /&gt;
&amp;gt; in the past few years, but the rest of their experience is software&lt;br /&gt;
&amp;gt; development or Microsoft Admin or DB or telephony-related administration.&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; The benefit of granting them access is that they can do tasks for you&lt;br /&gt;
&amp;gt; like setting-up Discourse.&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; The risk of granting them access is that they break the server, and I&lt;br /&gt;
&amp;gt; don&amp;#039;t have time to restore it from backup (which is a very, very long &amp;amp;&lt;br /&gt;
&amp;gt; involved process).&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; Ultimately it&amp;#039;s your choice: Do you authorize me granting Joshua Thomas&lt;br /&gt;
&amp;gt; root access to all of OSE&amp;#039;s infrastructure?&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; Cheers,&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; Michael Altfield&lt;br /&gt;
&amp;gt; Senior Technology Advisor&lt;br /&gt;
&amp;gt; PGP Fingerprint: 8A4B 0AF8 162F 3B6A 79B7  70D2 AA3E DF71 60E2 D97B&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; Open Source Ecology&lt;br /&gt;
&amp;gt; www.opensourceecology.org&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
# I created a user, set his password to a random 100 char string, added his ssh key, and added him to the sshaccess &amp;amp; wheel groups&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
useradd jthomas&lt;br /&gt;
passwd jthomas&lt;br /&gt;
gpasswd -a jthomas sshaccess&lt;br /&gt;
cd /home/jthomas/&lt;br /&gt;
mkdir .ssh&lt;br /&gt;
vim .ssh/authorized_keys&lt;br /&gt;
chown -R jthomas:jthomas .ssh&lt;br /&gt;
chmod 0700 .ssh&lt;br /&gt;
chmod 0644 .ssh/authorized_keys &lt;br /&gt;
gpasswd -a jthomas wheel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
# I sent Joshua an email asking him to signup for wire and send me his username so I can send him his temp password&lt;br /&gt;
# I sent Joshua an email asking him to generate an OSE-specific 4096-bit RSA keypair and send me &amp;amp; Marcin his public key&lt;br /&gt;
# I sent Joshua an email asking him to confirm ssh access&lt;br /&gt;
# I sent Joshua an email with a list of 12 wiki articles for ramp-up reading &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 1. https://wiki.opensourceecology.org/wiki/OSE_Server&lt;br /&gt;
 2. https://wiki.opensourceecology.org/wiki/OSE_Development_Server&lt;br /&gt;
 3. https://wiki.opensourceecology.org/wiki/OSE_Staging_Server&lt;br /&gt;
 4. https://wiki.opensourceecology.org/wiki/Web_server_configuration&lt;br /&gt;
 5. https://wiki.opensourceecology.org/wiki/Wordpress&lt;br /&gt;
 6. https://wiki.opensourceecology.org/wiki/Mediawiki&lt;br /&gt;
 7. https://wiki.opensourceecology.org/wiki/Munin&lt;br /&gt;
 8. https://wiki.opensourceecology.org/wiki/Awstats&lt;br /&gt;
 9. https://wiki.opensourceecology.org/wiki/Ossec&lt;br /&gt;
10. https://wiki.opensourceecology.org/wiki/VPN&lt;br /&gt;
11. https://wiki.opensourceecology.org/wiki/OpenVPN&lt;br /&gt;
12. https://wiki.opensourceecology.org/wiki/2FA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
# I sent Joshua an email asking him to signup for a hetzner account so that Marcin can grant him access to our cloud server (it looks like my account was disabled; iirc Hetzner couldn&amp;#039;t confirm my identity and they ended-up locking me out of my account)&lt;/div&gt;</summary>
		<author><name>Maltfield</name></author>
	</entry>
</feed>