wiki/creating-ec2-image-from-scratch.md
... ...
@@ -7,6 +7,7 @@ I then did a `yum update` and added the following packages:
7 7
- httpd
8 8
- mod_proxy_html
9 9
- tmux
10
+ - nfs-utils
10 11
11 12
Then I created a mount point /home/sailing and copied the following lines from the /etc/fstab file from an existing SL instance:
12 13
... ...
@@ -19,4 +20,20 @@ UUID=7d7e68a3-27a1-49ef-908f-a6ebadcc55bb none swap sw 0
19 20
172.31.18.15:/var/log/old /var/log/old nfs tcp,intr,timeo=100,retry=0
20 21
```
21 22
22
-This will mount the swap space partition as well as the /home/sailing partition, /var/log/old and the Android SDK stuff required for local builds.
... ...
\ No newline at end of file
0
+This will mount the swap space partition as well as the /home/sailing partition, /var/log/old and the Android SDK stuff required for local builds.
1
+
2
+In `/etc/ssh/sshd_config` I commented the line
3
+
4
+```
5
+# Only allow root to run commands over ssh, no shell
6
+#PermitRootLogin forced-commands-only
7
+```
8
+
9
+and added the lines
10
+
11
+```
12
+PermitRootLogin without-password
13
+PermitRootLogin Yes
14
+```
15
+
16
+to allow root shell login.
... ...
\ No newline at end of file