This commit is contained in:
Daniel Schubert 2019-01-15 17:22:12 +01:00
parent cf633a9860
commit b0a16b3b97
4 changed files with 260 additions and 0 deletions

259
7.html Normal file
View File

@ -0,0 +1,259 @@
<!doctype html>
<html lang="de">
<meta charset="utf-8">
<title>Einführung in Linux</title>
<meta name="description" content="YALC - Yet Another Linux Course ">
<meta name="author" content="Daniel Schubert">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/league.css" id="theme">
<link rel="icon" href="img/openlogo-nd-25.png" type="img/png">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section data-transition="slide" data-background="#4d7e65" data-background-transition="zoom">
<h1>LINUX</h1>
<h3>Das universelle Betriebssystem</h3>
<p>Eine Einführung - Teil 7
<p>
<small>Deutsche Angestellten Akademie</small>
</p>
<aside class="notes">
Frage: Fragen zur letzten Stunde?
</aside>
</section>
<section data-transition="slide" data-background="lightblue" data-background-transition="zoom">
<h2>Einstieg in die Systemverwaltung</h2>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 0 - Zugrifssrechte </h2>
</section>
<section>
<pre><code>~$ ls -l
drwxr-xr-x 2 dany dany 4096 Nov 14 09:03 backup/
-rw-r--r-- 1 dany dany 845 Jul 24 13:45 .bash_aliases
-rw------- 1 dany dany 32726 Jan 15 15:08 .bash_history
-rw-r--r-- 1 dany dany 2410 Nov 13 12:14 .bashrc
drwxr-xr-x 2 dany dany 4096 Jan 15 16:05 Bilder/
drwxr-xr-x 6 dany dany 4096 Nov 15 15:38 bin/
</code></pre>
</section>
<section>
<pre><code>drwxr-xr-x 6 dany dany 4096 Nov 15 15:38 bin/</code></pre>
<p style="font-size: .6em">erstes Zeichen: Filetype ( hier „d“ für directory )</p>
<table style="font-size: .6em" >
<caption>
</caption>
<tbody><tr>
<th colspan="2" style="text-align: left">Three permission triads
</th></tr>
<tr>
<td style="text-align: right; vertical-align: text-top;">first triad</td>
<td>what the owner can do
</td></tr>
<tr>
<td style="text-align: right; vertical-align: text-top;">second triad</td>
<td>what the group members can do
</td></tr>
<tr>
<td style="text-align: right; vertical-align: text-top;">third triad</td>
<td>what other users can do
</td></tr>
<tr>
<th colspan="2" style="text-align: left">Each triad
</th></tr>
<tr>
<td style="text-align: right; vertical-align: text-top;">first character</td>
<td><tt>r</tt>: readable
</td></tr>
<tr>
<td style="text-align: right; vertical-align: text-top;">second character</td>
<td><tt>w</tt>: writable
</td></tr>
<tr>
<td style="text-align: right; vertical-align: text-top;">third character</td>
<td><tt>x</tt>: executable<br><tt>s</tt> or <tt>t</tt>: <a href="/wiki/Setuid" title="Setuid">setuid</a>/<a href="/wiki/Setgid" class="mw-redirect" title="Setgid">setgid</a> or <a href="/wiki/Sticky_bit" title="Sticky bit">sticky</a> (also executable)<br><tt>S</tt> or <tt>T</tt>: setuid/setgid or sticky (not executable)
</td></tr></tbody></table>
</section>
<section>
<h4>Beispiele</h4>
<pre><code> drwx------ 6 archie users 4096 Jul 5 17:37 Documents </code></pre>
<p style="font-size:.5em">
Benutzer archie darf: lesen schreiben ausführen, Inhalt auflisten
</p>
<div class="fragment">
<pre><code> dr-x------ 6 archie users 4096 Jul 5 17:37 Documents </code></pre>
<p style="font-size:.5em">
Benutzer archie darf: lesen ausführen, Inhalt auflisten
</p>
</div>
<div class="fragment">
<pre><code> d-wx------ 6 archie users 4096 Jul 5 17:37 Documents </code></pre>
<p style="font-size:.5em">
Benutzer archie darf: in das Verz. Dateien schreiben, Dateien listen/öffnen deren Namen er kennt
</p>
</div>
<div class="fragment">
<pre><code> d--x------ 6 archie users 4096 Jul 5 17:37 Documents </code></pre>
<p style="font-size:.5em">
Benutzer archie darf: Dateien listen/öffnen deren Namen er kennt
</p>
</div>
<div class="fragment">
<pre><code> -rw-r--r-- 1 archie users 5120 Jun 27 08:28 foobar </code></pre>
<p style="font-size:.5em">
Benutzer archie darf: lesen/schreiben; Alle anderen dürfen lesen
</p>
</div>
<aside class="notes">
ls -l <br>
ls -n
</aside>
</section>
<section>
<h4>Spezialrechte</h4>
</section>
<section>
<h4>Rechte ändern</h4>
chmod
chown
chgrp
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 1 - sudo </h2>
</section>
<section>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 2 - Benutzerverwaltung</h2>
</section>
<section>
<h4>Befehle zur Benutzerverwaltung</h4>
<ul>
<li class="fragment ">this</li>
</ul>
</section>
<section>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 3 - Prozessverwaltung</h2>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 3 - daemons</h2>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 4 - Uhrzeit und Datum</h2>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 5 - Zeitgesteuerte Jobs</h2>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 6 - Cron</h2>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="convex">
<h2>Part 7 - Startup / Shutdown</h2>
</section>
<section>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/search/search.js', async: true },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>

0
beispiele/4/mysystem.sh Executable file → Normal file
View File

0
beispiele/5/10-whiptail.sh Normal file → Executable file
View File

View File

@ -22,6 +22,7 @@
<li><a href="4.html">4. Abend - Bash Scripting Einführung</a></li>
<li><a href="5.html">5. Abend - Bash Scripting Fortsetzung</a></li>
<li><a href="6.html">6. Abend - vim / emacs</a></li>
<li><a href="7.html">7. Abend - Systemverwaltung</a></li>
</ol>
<div class="ui left aligned padded grid">