summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRefik Hadzialic2011-10-26 15:26:19 +0200
committerRefik Hadzialic2011-10-26 15:26:19 +0200
commit6d701aed472984a42995b3a760f7a9599f2e0ed9 (patch)
treeacf7e9d52029003ee7fcbd95d4cb6b6927c33213
parentReport writing (diff)
downloadgsm-selftest-6d701aed472984a42995b3a760f7a9599f2e0ed9.tar.gz
gsm-selftest-6d701aed472984a42995b3a760f7a9599f2e0ed9.tar.xz
gsm-selftest-6d701aed472984a42995b3a760f7a9599f2e0ed9.zip
Report writing, explaining how to add .htaccess protection
-rw-r--r--notFinishedCode/Report/.~lock.Tri-report.doc#1
-rw-r--r--notFinishedCode/Report/test.log4
-rw-r--r--notFinishedCode/Report/test.pdfbin1489215 -> 1489396 bytes
-rw-r--r--notFinishedCode/Report/test.tex3
-rw-r--r--notFinishedCode/Report/test.tex~12
5 files changed, 10 insertions, 10 deletions
diff --git a/notFinishedCode/Report/.~lock.Tri-report.doc# b/notFinishedCode/Report/.~lock.Tri-report.doc#
deleted file mode 100644
index c6a4329..0000000
--- a/notFinishedCode/Report/.~lock.Tri-report.doc#
+++ /dev/null
@@ -1 +0,0 @@
-Refik ,refik,ubuntu.ubuntu-domain,26.10.2011 13:29,file:///home/refik/.libreoffice/3; \ No newline at end of file
diff --git a/notFinishedCode/Report/test.log b/notFinishedCode/Report/test.log
index af78854..ea24305 100644
--- a/notFinishedCode/Report/test.log
+++ b/notFinishedCode/Report/test.log
@@ -1,4 +1,4 @@
-This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.9.27) 26 OCT 2011 15:13
+This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.9.27) 26 OCT 2011 15:26
entering extended mode
%&-line parsing enabled.
**test.tex
@@ -435,7 +435,7 @@ ur/jknappen/ec/ecsx1440.600pk> </home/refik/.texmf-var/fonts/pk/ljfour/jknappen
sr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/te
xmf-texlive/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-texlive
/fonts/type1/public/amsfonts/cm/cmsy9.pfb>
-Output written on test.pdf (37 pages, 1489215 bytes).
+Output written on test.pdf (37 pages, 1489396 bytes).
PDF statistics:
755 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
diff --git a/notFinishedCode/Report/test.pdf b/notFinishedCode/Report/test.pdf
index 536f495..f82586e 100644
--- a/notFinishedCode/Report/test.pdf
+++ b/notFinishedCode/Report/test.pdf
Binary files differ
diff --git a/notFinishedCode/Report/test.tex b/notFinishedCode/Report/test.tex
index 6836904..d3d267e 100644
--- a/notFinishedCode/Report/test.tex
+++ b/notFinishedCode/Report/test.tex
@@ -679,7 +679,8 @@ refik@ubuntu:/etc/apache2/sites-available$ sudo /etc/init.d/apache2 restart
refik@ubuntu:/etc/apache2/sites-available$
\end{lstlisting}
\subsubsection{Password protecting the web site using .htaccess}
-
+Aside from using a secure communication protocol on the web, \emph{https}, it is important
+to ensure that only privileged users have access to the web site.
diff --git a/notFinishedCode/Report/test.tex~ b/notFinishedCode/Report/test.tex~
index df73cdb..6836904 100644
--- a/notFinishedCode/Report/test.tex~
+++ b/notFinishedCode/Report/test.tex~
@@ -529,11 +529,11 @@ refik@ubuntu:$ [Note: You are on local-host here]
refik@ubuntu:$ ssh-keygen
Generating public/private rsa key pair.
-Enter file in which to save the key (/home/jsmith/.ssh/id_rsa):[Enter key]
+Enter file in which to save the key (/home/refik/.ssh/id_rsa):[Enter key]
Enter passphrase (empty for no passphrase): [Press enter key]
Enter same passphrase again: [Press enter key]
-Your identification has been saved in /home/jsmith/.ssh/id_rsa.
-Your public key has been saved in /home/jsmith/.ssh/id_rsa.pub.
+Your identification has been saved in /home/refik/.ssh/id_rsa.
+Your public key has been saved in /home/refik/.ssh/id_rsa.pub.
The key fingerprint is:
33:b3:fe:af:95:95:18:11:31:d5:de:96:2f:f2:35:f9 refik@ubuntu
\end{lstlisting}
@@ -541,8 +541,8 @@ The key fingerprint is:
Then one needs to copy the public key to the remote machine (BeagleBoard) using ssh-copy-id:
\begin{lstlisting}
-refik@ubuntu$ ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
-jsmith@remote-host's password:
+refik@ubuntu:$ ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
+refik@remote-host's password:
Now try logging into the machine, with "ssh 'remote-host'", and check in:
.ssh/authorized_keys
@@ -557,7 +557,7 @@ refik@ubuntu:$ ssh remote-host
Last login: Sun Nov 16 17:22:33 2008 from 192.168.1.2
[Note: SSH did not ask for password.]
-refik@remote-host$ [Note: You are on remote-host here]
+refik@remote-host:$ [Note: You are on remote-host here]
\end{lstlisting}
The test was successful. We tested it with our SSH Tunnel port forwarding class and it worked perfectly.
\subsection{Security on the web site}