dwww Home | Show directory contents | Find package

<FILENAME filename="index.html"><html><head><title>Das Handbuch zu KDE su</title><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-default.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-docs.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-localised.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><meta name="description" content="KDE su ist eine grafische Oberfläche für den UNIX-Befehl su."><meta name="keywords" content="KDE, su, Passwort, Systemverwalter"><link rel="home" href="index.html" title="Das Handbuch zu KDE su"><link rel="next" href="introduction.html" title="Kapitel 1. Einleitung"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.14 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="content"><div id="header"><div id="header_content"><div id="header_left"><div id="header_right"><img src="help:/kdoctools5-common/top-kde.jpg" width="36" height="34"> Das Handbuch zu <span class="application">KDE su</span></div></div></div></div><div class="navCenter"><table class="navigation"><tr><td class="prevCell"></td><td class="upCell"> </td><td class="nextCell"><a accesskey="n" href="introduction.html">Weiter</a></td></tr></table></div><div id="contentBody"><div lang="de" class="book"><div class="titlepage"><div><div><h1 class="title"><a name="kdesu"></a>Das Handbuch zu <span class="application">KDE su</span></h1></div><div><div class="authorgroup"><p class="author"><span class="firstname">Geert</span> <span class="surname">Jansen</span> <code class="email">&lt;g.t.jansen@stud.tue.nl&gt;</code></p><span class="othercredit"><span class="contrib">Übersetzung</span>: <span class="firstname">Philipp</span> <span class="surname">Siegert</span><br></span></div></div><div>Version <span class="releaseinfo">KDE 4.5 (<span class="date">2010-09-21</span>)</span></div><div><p class="copyright">Copyright © 2000 <span class="firstname">Geert</span> <span class="surname">Jansen</span></p></div><div><p><a href="help:/kdoctools5-common/fdl-notice.html">Rechtlicher Hinweis</a></p></div><div><div><div class="abstract"><p><span class="application">KDE su</span> ist eine grafische Oberfläche für den <span class="trademark">UNIX</span>®-Befehl <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span>. </p></div></div></div></div><hr></div><div class="toc"><p><b>Inhaltsverzeichnis</b></p><dl class="toc"><dt><span class="chapter"><a href="introduction.html">1. Einleitung</a></span></dt><dt><span class="chapter"><a href="using-kdesu.html">2. <span class="application">KDE su</span> benutzen</a></span></dt><dt><span class="chapter"><a href="Internals.html">3. Interne Funktionsweise</a></span></dt><dd><dl><dt><span class="sect1"><a href="Internals.html#x-authentication">X-Authentifizierung</a></span></dt><dt><span class="sect1"><a href="interface-to-su.html">Schnittstelle zu <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span></a></span></dt><dt><span class="sect1"><a href="password-checking.html">Passwort-Überprüfung</a></span></dt><dt><span class="sect1"><a href="sec-password-keeping.html">Passwörter speichern</a></span></dt></dl></dd><dt><span class="chapter"><a href="Author.html">4. Autor</a></span></dt></dl></div><FILENAME filename="introduction.html"><html><head><title>Kapitel 1. Einleitung</title><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-default.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-docs.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-localised.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><meta name="keywords" content="KDE, su, Passwort, Systemverwalter"><link rel="home" href="index.html" title="Das Handbuch zu KDE su"><link rel="up" href="index.html" title="Das Handbuch zu KDE su"><link rel="prev" href="index.html" title="Das Handbuch zu KDE su"><link rel="next" href="using-kdesu.html" title="Kapitel 2. KDE su benutzen"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.14 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="content"><div id="header"><div id="header_content"><div id="header_left"><div id="header_right"><img src="help:/kdoctools5-common/top-kde.jpg" width="36" height="34"> Einleitung</div></div></div></div><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="index.html">Zurück</a></td><td class="upCell"> </td><td class="nextCell"><a accesskey="n" href="using-kdesu.html">Weiter</a></td></tr></table></div><div id="contentBody"><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="introduction"></a>Kapitel 1. Einleitung</h1></div></div></div><p>Willkommen bei <span class="application">KDE su</span>! <span class="application">KDE su</span> ist eine grafische Oberfläche für den <span class="trademark">UNIX</span>®-Befehl <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> in KDE. Es ermöglicht Ihnen, ein Programm mit einer anderen Benutzerkennung auszuführen, indem Sie das Passwort dieses Benutzers angeben. <span class="application">KDE su</span> hat keine speziellen Systemrechte; es benutzt den Befehl <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span>. </p><p><span class="application">KDE su</span> hat eine zusätzliche Funktion: Es kann Passwörter speichern. Wenn Sie diese Funktion benutzen, müssen Sie das Passwort für jeden Befehl nur einmal eingeben. Weitere Informationen und eine Sicherheitsanalyse finden Sie unter <a class="xref" href="sec-password-keeping.html" title="Passwörter speichern">„Passwörter speichern“</a>.</p><p>Dieses Programm sollte von der Befehlszeile oder durch <code class="filename">.desktop</code>-Dateien gestartet werden. Obwohl es über einen Dialog nach dem Passwort des Systemverwalters (<code class="systemitem">root</code>) fragt, ist es trotzdem eher ein Befehlszeilen- als ein reines <acronym class="acronym">GUI</acronym>-Programm.</p><p><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>kdesu</strong></span></span> wird nicht mehr in <strong class="userinput"><code> $(kf5-config --prefix)</code></strong>/bin, sondern in <strong class="userinput"><code>kf5-config --path libexec</code></strong> installiert. Daher ist es nicht mehr in Ihrem <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="envar"><code class="envar">Pfad</code></span>. Verwenden Sie deshalb <strong class="userinput"><code>$(kf5-config --path libexec)<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>kdesu</strong></span></span></code></strong>, um <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>kdesu</strong></span></span> aufzurufen.</p></div></div><div id="footer"><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="index.html">Zurück</a></td><td class="upCell"><a accesskey="h" href="index.html">Zum Anfang</a></td><td class="nextCell"><a accesskey="n" href="using-kdesu.html">Weiter</a></td></tr><tr><td class="prevCell">Das Handbuch zu <span class="application">KDE su</span> </td><td class="upCell"> </td><td class="nextCell"> <span class="application">KDE su</span> benutzen</td></tr></table></div><div id="footer_text">Möchten Sie Kommentare und Verbesserungen zu dieser Seite beitragen?<br>Senden Sie Ihre Vorschläge an das <a href="mailto:kde-doc-english@kde.org" class="footer_email">KDE Dokumentationsteam</a></div></div></div></body></html></FILENAME><FILENAME filename="using-kdesu.html"><html><head><title>Kapitel 2. KDE su benutzen</title><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-default.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-docs.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-localised.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><meta name="keywords" content="KDE, su, Passwort, Systemverwalter"><link rel="home" href="index.html" title="Das Handbuch zu KDE su"><link rel="up" href="index.html" title="Das Handbuch zu KDE su"><link rel="prev" href="introduction.html" title="Kapitel 1. Einleitung"><link rel="next" href="Internals.html" title="Kapitel 3. Interne Funktionsweise"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.14 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="content"><div id="header"><div id="header_content"><div id="header_left"><div id="header_right"><img src="help:/kdoctools5-common/top-kde.jpg" width="36" height="34"> <span class="application">KDE su</span> benutzen</div></div></div></div><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="introduction.html">Zurück</a></td><td class="upCell"> </td><td class="nextCell"><a accesskey="n" href="Internals.html">Weiter</a></td></tr></table></div><div id="contentBody"><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="using-kdesu"></a>Kapitel 2. <span class="application">KDE su</span> benutzen</h1></div></div></div><p>Die Benutzung von <span class="application">KDE su</span> ist einfach. Der Syntax ist folgendermaßen:</p><div class="cmdsynopsis"><p><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>kdesu</strong></span></span> [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-c</code></span><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code> command</code></em></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-d</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-f</code></span><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code> file</code></em></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-i</code></span><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code> icon name</code></em></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-n</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-p</code></span><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code> priority</code></em></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-r</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-s</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-t</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-u</code></span><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code> user</code></em></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">--noignorebutton</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">--attach</code></span><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code> winid</code></em></span>]</p></div><div class="cmdsynopsis"><p><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>kdesu</strong></span></span> [Allgemeine Einstellungen für <span class="orgname">KDE</span>] [Allgemeine Einstellungen zu <span class="trademark">Qt</span>™]</p></div><p>Die Befehlszeilen-Parameter sind weiter unten erklärt.</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-c <span class="replaceable"><em class="replaceable"><code>command</code></em></span></code></span></span></dt><dd><p>Dies gibt den Befehl an, der als Benutzer root ausgeführt werden soll. Er muss als Parameter übergeben werden. Wenn Sie beispielsweise eine neue Dateiverwaltung starten wollen, geben Sie auf der Befehlszeile Folgendes ein: <strong class="userinput"><code>$(kf5-config --path libexec)<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>kdesu <span class="option"><code class="option">-c <span class="replaceable"><em class="replaceable"><code> <span class="application">Dolphin</span></code></em></span></code></span></strong></span></span></code></strong></p></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-d</code></span></span></dt><dd><p>Debug-Informationen anzeigen. (<span class="emphasis"><em>Anmerkung des Übersetzers: Diese Option funktioniert nicht mit der in <span class="orgname">KDE</span> 3.0 enthaltenen Version von <span class="application">KDE su</span>.</em></span>)</p></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-f <span class="replaceable"><em class="replaceable"><code>Datei</code></em></span></code></span></span></dt><dd><p>Dieser Parameter erlaubt den effizienten Einsatz von <span class="application">KDE su</span> bei <code class="filename">.desktop</code> Dateien. Er weist <span class="application">KDE su</span> an, die Datei, die mit <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="parameter"><em class="parameter"><code>Datei</code></em></span> angegeben wurde, zu untersuchen. Besitzt der aktuelle Benutzer Schreibrechte auf die Datei, wird die Datei unter seinem Namen ausgeführt. Besitzt er keine Schreibrechte, wird die Datei unter dem Benutzernamen <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="parameter"><em class="parameter"><code>Benutzer</code></em></span> (Voreinstellung: Systemverwalter) ausgeführt.</p><p><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="parameter"><em class="parameter"><code>Datei</code></em></span> wird folgendermaßen ausgewertet: Wenn <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="parameter"><em class="parameter"><code>Datei</code></em></span> mit <code class="literal">/</code> beginnt, wird es als absoluter Dateiname behandelt. Anderenfalls wird es als Name einer globalen <span class="orgname">KDE</span>-Konfigurationsdatei behandelt.</p></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-i</code></span> <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code>Symbolname</code></em></span></span></dt><dd><p>Legt fest, welches Symbol im Passwortdialog verwendet wird. Sie können einfach nur den Namen ohne Erweiterung eingeben.</p><p>Um zum Beispiel <span class="application">Konqueror</span> im Dateiverwaltungs-Modus mit dem <span class="application">Konqueror</span>-Symbol im Passwortdialog zu starten, geben Sie dies ein:</p><pre class="screen"><strong class="userinput"><code>$(kf5-config --path libexec)<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>kdesu</strong></span></span>  <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-i konqueror</code></span> 
<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-c "konqueror --profile filemanagement"</code></span></code></strong></pre></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-n</code></span></span></dt><dd><p>Das Passwort nicht speichern. Dieser Parameter schaltet das Ankreuzfeld <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="guiitem"><span class="guilabel">Passwort beibehalten</span></span> im Passwort-Dialog aus.</p></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-p</code></span> <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code>Priorität</code></em></span></span></dt><dd><p>Stellt die Priorität ein. Dies ist eine Nummer zwischen 0 und 100, wobei 100 für die höchste und 0 für die niedrigste Priorität steht. Die Voreinstellung ist 50.</p></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-r</code></span></span></dt><dd><p>Aktiviert die Echtzeit-Ausführung.</p></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-s</code></span></span></dt><dd><p>Den kdesu-Dämon anhalten. Weitere Details finden Sie unter <a class="xref" href="sec-password-keeping.html" title="Passwörter speichern">„Passwörter speichern“</a>.</p></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-t</code></span></span></dt><dd><p>Terminal-Ausgabe einschalten. Dieser Parameter schaltet das Speichern von Passwörtern aus. Dies ist hauptsächlich für Debugging-Zwecke interessant. Wenn Sie eine Anwendung benutzen wollen, die im Konsolen-Modus läuft, sollten Sie stattdessen den Standardbefehl <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> verwenden.</p></dd><dt><span class="term"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-u</code></span> <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code> Benutzer</code></em></span></span></dt><dd><p>Die häufigste Verwendung von <span class="application">KDE su</span> ist, ein Programm als Systemverwalter auszuführen. Sie können aber auch einen anderen Benutzernamen und Passwort übergeben.</p></dd></dl></div></div></div><div id="footer"><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="introduction.html">Zurück</a></td><td class="upCell"><a accesskey="h" href="index.html">Zum Anfang</a></td><td class="nextCell"><a accesskey="n" href="Internals.html">Weiter</a></td></tr><tr><td class="prevCell">Einleitung </td><td class="upCell"> </td><td class="nextCell"> Interne Funktionsweise</td></tr></table></div><div id="footer_text">Möchten Sie Kommentare und Verbesserungen zu dieser Seite beitragen?<br>Senden Sie Ihre Vorschläge an das <a href="mailto:kde-doc-english@kde.org" class="footer_email">KDE Dokumentationsteam</a></div></div></div></body></html></FILENAME><FILENAME filename="Internals.html"><html><head><title>Kapitel 3. Interne Funktionsweise</title><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-default.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-docs.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-localised.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><meta name="keywords" content="KDE, su, Passwort, Systemverwalter"><link rel="home" href="index.html" title="Das Handbuch zu KDE su"><link rel="up" href="index.html" title="Das Handbuch zu KDE su"><link rel="prev" href="using-kdesu.html" title="Kapitel 2. KDE su benutzen"><link rel="next" href="interface-to-su.html" title="Schnittstelle zu su"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.14 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="content"><div id="header"><div id="header_content"><div id="header_left"><div id="header_right"><img src="help:/kdoctools5-common/top-kde.jpg" width="36" height="34"> Interne Funktionsweise</div></div></div></div><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="using-kdesu.html">Zurück</a></td><td class="upCell"> </td><td class="nextCell"><a accesskey="n" href="interface-to-su.html">Weiter</a></td></tr></table></div><div id="contentBody"><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="Internals"></a>Kapitel 3. Interne Funktionsweise</h1></div></div></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="x-authentication"></a>X-Authentifizierung</h2></div></div></div><p>Das Programm, das Sie aufrufen, wird unter der Benutzer-Kennung (User ID) des Systemverwalters ausgeführt und hat grundsätzlich keinen Zugriff auf Ihre X-Anzeige. <span class="application">KDE su</span> umgeht dies, indem es Ihrer Anzeige ein Cookie zur Authentifizierung hinzufügt. Dazu wird eine zeitlich befristete <code class="filename">.Xauthority</code>-Datei angelegt. Nach Beendigung des Befehls wird die Datei wieder gelöscht. </p><p>Wenn Sie keine X-Cookies benutzen, sind Sie auf sich alleine gestellt. <span class="application">KDE su</span> wird dies erkennen und kein Cookie hinzufügen. Sie müssen sich vergewissern, dass der Systemverwalter berechtigt ist, auf die Anzeige zuzugreifen.</p></div><FILENAME filename="interface-to-su.html"><html><head><title>Schnittstelle zu su</title><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-default.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-docs.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-localised.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><meta name="keywords" content="KDE, su, Passwort, Systemverwalter"><link rel="home" href="index.html" title="Das Handbuch zu KDE su"><link rel="up" href="Internals.html" title="Kapitel 3. Interne Funktionsweise"><link rel="prev" href="Internals.html" title="Kapitel 3. Interne Funktionsweise"><link rel="next" href="password-checking.html" title="Passwort-Überprüfung"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.14 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="content"><div id="header"><div id="header_content"><div id="header_left"><div id="header_right"><img src="help:/kdoctools5-common/top-kde.jpg" width="36" height="34"> Schnittstelle zu <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span></div></div></div></div><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="Internals.html">Zurück</a></td><td class="upCell">Interne Funktionsweise</td><td class="nextCell"><a accesskey="n" href="password-checking.html">Weiter</a></td></tr></table></div><div id="contentBody"><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="interface-to-su"></a>Schnittstelle zu <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span></h2></div></div></div><p><span class="application">KDE su</span> benutzt den Systembefehl <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span>, um Rechte zu erhalten. In diesem Abschnitt wird erklärt, wie <span class="application">KDE su</span> dabei vorgeht. </p><p>Da manche Implementierungen von <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> (<abbr class="abbrev">z. B.</abbr> die von <span class="trademark">Red Hat</span>®) keine Passwörter von <code class="literal">stdin</code> lesen, erstellt <span class="application">KDE su</span> ein pty/tty-Paar und führt <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> so aus, dass die Standard-Dateideskriptoren mit dem tty verbunden sind.</p><p>Um anstelle einer interaktiven Shell einen vom Benutzer angegebenen Befehl auszuführen, benutzt <span class="application">KDE su</span> den Befehl <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> mit dem Parameter <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-c</code></span>. Dieser Parameter wird von jeder bekannten Shell verstanden, sodass er portabel einsetzbar sein sollte. <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> übergibt den Parameter <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-c</code></span> an die Shell des Benutzers, unter dessen ID der Befehl ausgeführt werden soll. Diese Shell führt dann das Programm aus. Beispiel: <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su <span class="option"><code class="option">root -c <span class="replaceable"><em class="replaceable"><code>das_programm</code></em></span></code></span></strong></span></span>.</p><p>Statt den Befehl des Benutzers direkt mit <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> auszuführen, führt <span class="application">KDE su</span> das Hilfsprogramm <span class="application">kdesu_stub</span> aus. Dieses Hilfsprogramm, das unter der ID des Zielbenutzers läuft, fordert über den pty/tty-Kanal (stdin und stdout des Hilfsprogramms) einige Informationen von <span class="application">KDE su</span> an. Danach wird das Programm des Benutzers ausgeführt. Folgende Informationen werden übergeben: die X-Anzeige, ein X-Authentifizierungs-Cookie (wenn verfügbar), die Variable <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="envar"><code class="envar">PATH</code></span> und der auszuführende Befehl. Der Grund für die Benutzung eines Hilfsprogramms ist der X-Cookie. Dieser beinhaltet sensible Informationen und kann deshalb nicht auf der Befehlszeile übergeben werden.</p></div></div><div id="footer"><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="Internals.html">Zurück</a></td><td class="upCell"><a accesskey="h" href="index.html">Zum Anfang</a></td><td class="nextCell"><a accesskey="n" href="password-checking.html">Weiter</a></td></tr><tr><td class="prevCell">Interne Funktionsweise </td><td class="upCell">Interne Funktionsweise</td><td class="nextCell"> Passwort-Überprüfung</td></tr></table></div><div id="footer_text">Möchten Sie Kommentare und Verbesserungen zu dieser Seite beitragen?<br>Senden Sie Ihre Vorschläge an das <a href="mailto:kde-doc-english@kde.org" class="footer_email">KDE Dokumentationsteam</a></div></div></div></body></html></FILENAME><FILENAME filename="password-checking.html"><html><head><title>Passwort-Überprüfung</title><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-default.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-docs.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-localised.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><meta name="keywords" content="KDE, su, Passwort, Systemverwalter"><link rel="home" href="index.html" title="Das Handbuch zu KDE su"><link rel="up" href="Internals.html" title="Kapitel 3. Interne Funktionsweise"><link rel="prev" href="interface-to-su.html" title="Schnittstelle zu su"><link rel="next" href="sec-password-keeping.html" title="Passwörter speichern"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.14 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="content"><div id="header"><div id="header_content"><div id="header_left"><div id="header_right"><img src="help:/kdoctools5-common/top-kde.jpg" width="36" height="34"> Passwort-Überprüfung</div></div></div></div><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="interface-to-su.html">Zurück</a></td><td class="upCell">Interne Funktionsweise</td><td class="nextCell"><a accesskey="n" href="sec-password-keeping.html">Weiter</a></td></tr></table></div><div id="contentBody"><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="password-checking"></a>Passwort-Überprüfung</h2></div></div></div><p><span class="application">KDE su</span> überprüft die Passwörter, die Sie eingeben und gibt bei Falscheingabe eine Fehlermeldung zurück. Die Überprüfung erfolgt durch ein Testprogramm (<code class="filename">/bin/true</code>). Wenn die Ausführung dieses Programms erfolgreich ist, wird angenommen, dass das Passwort richtig ist.</p></div></div><div id="footer"><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="interface-to-su.html">Zurück</a></td><td class="upCell"><a accesskey="h" href="index.html">Zum Anfang</a></td><td class="nextCell"><a accesskey="n" href="sec-password-keeping.html">Weiter</a></td></tr><tr><td class="prevCell">Schnittstelle zu <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> </td><td class="upCell">Interne Funktionsweise</td><td class="nextCell"> Passwörter speichern</td></tr></table></div><div id="footer_text">Möchten Sie Kommentare und Verbesserungen zu dieser Seite beitragen?<br>Senden Sie Ihre Vorschläge an das <a href="mailto:kde-doc-english@kde.org" class="footer_email">KDE Dokumentationsteam</a></div></div></div></body></html></FILENAME><FILENAME filename="sec-password-keeping.html"><html><head><title>Passwörter speichern</title><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-default.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-docs.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-localised.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><meta name="keywords" content="KDE, su, Passwort, Systemverwalter"><link rel="home" href="index.html" title="Das Handbuch zu KDE su"><link rel="up" href="Internals.html" title="Kapitel 3. Interne Funktionsweise"><link rel="prev" href="password-checking.html" title="Passwort-Überprüfung"><link rel="next" href="Author.html" title="Kapitel 4. Autor"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.14 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="content"><div id="header"><div id="header_content"><div id="header_left"><div id="header_right"><img src="help:/kdoctools5-common/top-kde.jpg" width="36" height="34"> Passwörter speichern</div></div></div></div><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="password-checking.html">Zurück</a></td><td class="upCell">Interne Funktionsweise</td><td class="nextCell"><a accesskey="n" href="Author.html">Weiter</a></td></tr></table></div><div id="contentBody"><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sec-password-keeping"></a>Passwörter speichern</h2></div></div></div><p>Um es Ihnen so einfach wie möglich zu machen, enthält <span class="application">KDE su</span> eine Funktion <span class="quote">„<span class="quote">Passwort beibehalten</span>“</span>. Falls Sie sich für die Sicherheit dieser Funktion interessieren, sollten Sie diesen Absatz lesen.</p><p>Indem Sie <span class="application">KDE su</span> erlauben, die Passwörter zu speichern, entsteht eine (kleine) Sicherheitslücke in Ihrem System. <span class="application">KDE su</span> erlaubt offensichtlich nur Ihrer User-ID die Verwendung der Passwörter. Wenn Sie allerdings nicht aufpassen, kann hierdurch die Sicherheitsstufe des Systemverwalters (<code class="systemitem">root</code>) auf die eines normalen Benutzers (Ihre Benutzer-ID) herabgesetzt werden. Ein Hacker, der versucht, in Ihren Zugang einzubrechen, würde dann Zugang zu den Funktionen von <code class="systemitem">root</code> erhalten. <span class="application">KDE su</span> versucht dies zu verhindern. Das Sicherheitskonzept, das benutzt wird, ist angemessen sicher, zumindest nach bestem Wissen des Autors. Das Konzept wird hier weiter erklärt.</p><p><span class="application">KDE su</span> benutzt den Dämon <span class="application">kdesud</span>. Der Dämon nimmt auf einem <span class="trademark">UNIX</span>®-Socket in <code class="filename">/tmp</code> Befehle entgegen. Die Zugriffsrechte des Sockets sind auf 0600 eingestellt, sodass nur Ihre Benutzer-ID Verbindungen zu dem Socket aufbauen kann. Wurde <span class="quote">„<span class="quote">Passwort beibehalten</span>“</span> aktiviert, führt <span class="application">KDE su</span> Befehle durch diesen Dämon aus. <span class="application">KDE su</span> schreibt dann den Befehl und das Passwort des Systemverwalters auf den Socket. Der Dämon führt daraufhin, wie oben beschrieben, mit Hilfe von <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span> den Befehl aus. Danach werden Befehl und Passwort nicht gelöscht, sondern für eine bestimmte Zeit zwischengespeichert. Diese Zeit wird dem Kontrollmodul entnommen. Erfolgt innerhalb dieser Zeitspanne eine andere Anfrage für den Befehl, muss der Benutzer das Passwort nicht erneut eingeben. Um zu verhindern, dass Hacker, die in Ihren Zugang eingedrungen sind, Passwörter stehlen, wird der Dämon mit den Parametern <span class="quote">„<span class="quote">set-group-id nogroup</span>“</span> eingerichtet. Dies sollte alle normalen Benutzer (Sie eingeschlossen) daran hindern, Passwörter von dem Prozess <span class="application">kdesud</span> zu bekommen. Der Dämon setzt außerdem die Umgebungsvariable <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="envar"><code class="envar">DISPLAY</code></span> auf den Wert, den der Dämon hatte, als er gestartet wurde. Das Einzige, was ein Hacker demnach tun könnte, wäre Anwendungen auf Ihrer Anzeige auszuführen.</p><p>Ein Schwachpunkt in diesem Sicherheitskonzept ist die Tatsache, dass die auszuführenden Programme wahrscheinlich nicht nach Sicherheitsgesichtpunkten geschrieben wurden (<abbr class="abbrev">z. B.</abbr> setuid <code class="systemitem">root</code> Programme). Dies bedeutet, dass in diesen Programme Puffer-Überläufe oder andere Probleme auftreten könnten, die ein Hacker ausnutzen könnte.</p><p>Die Benutzung der Funktion zum Speichern der Passwörter ist ein Kompromiss zwischen Sicherheitsansprüchen und Komfort. Überdenken Sie dies bitte und entscheiden Sie selbst ob Sie diese Funktion benutzen wollen oder nicht.</p></div></div><div id="footer"><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="password-checking.html">Zurück</a></td><td class="upCell"><a accesskey="h" href="index.html">Zum Anfang</a></td><td class="nextCell"><a accesskey="n" href="Author.html">Weiter</a></td></tr><tr><td class="prevCell">Passwort-Überprüfung </td><td class="upCell">Interne Funktionsweise</td><td class="nextCell"> Autor</td></tr></table></div><div id="footer_text">Möchten Sie Kommentare und Verbesserungen zu dieser Seite beitragen?<br>Senden Sie Ihre Vorschläge an das <a href="mailto:kde-doc-english@kde.org" class="footer_email">KDE Dokumentationsteam</a></div></div></div></body></html></FILENAME></div></div><div id="footer"><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="using-kdesu.html">Zurück</a></td><td class="upCell"><a accesskey="h" href="index.html">Zum Anfang</a></td><td class="nextCell"><a accesskey="n" href="interface-to-su.html">Weiter</a></td></tr><tr><td class="prevCell"><span class="application">KDE su</span> benutzen </td><td class="upCell"> </td><td class="nextCell"> Schnittstelle zu <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span class="command"><strong>su</strong></span></span></td></tr></table></div><div id="footer_text">Möchten Sie Kommentare und Verbesserungen zu dieser Seite beitragen?<br>Senden Sie Ihre Vorschläge an das <a href="mailto:kde-doc-english@kde.org" class="footer_email">KDE Dokumentationsteam</a></div></div></div></body></html></FILENAME><FILENAME filename="Author.html"><html><head><title>Kapitel 4. Autor</title><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-default.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-docs.css"><link rel="stylesheet" type="text/css" href="help:/kdoctools5-common/kde-localised.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><meta name="keywords" content="KDE, su, Passwort, Systemverwalter"><link rel="home" href="index.html" title="Das Handbuch zu KDE su"><link rel="up" href="index.html" title="Das Handbuch zu KDE su"><link rel="prev" href="sec-password-keeping.html" title="Passwörter speichern"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.14 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="content"><div id="header"><div id="header_content"><div id="header_left"><div id="header_right"><img src="help:/kdoctools5-common/top-kde.jpg" width="36" height="34"> Autor</div></div></div></div><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="sec-password-keeping.html">Zurück</a></td><td class="upCell"> </td><td class="nextCell"></td></tr></table></div><div id="contentBody"><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="Author"></a>Kapitel 4. Autor</h1></div></div></div><p><span class="application">KDE su</span></p><p>Copyright 2000 <span class="firstname">Geert</span> <span class="surname">Jansen</span></p><p><span class="application">KDE su</span> wurde von <span class="firstname">Geert</span> <span class="surname">Jansen</span> geschrieben. Es basiert irgendwie auf Pietro Iglios <span class="application">KDE su</span>, Version 0.3. Pietro und Geert Jansen sind übereingekommen, dass Geert Jansen das Programm in Zukunft pflegen wird.</p><p>Der Autor ist unter folgender Adresse zu erreichen: <code class="email">(g.t.jansen AT stud.tue.nl)</code>. Bitte schicken Sie ihm alle Fehler die Sie finden, sodass er Sie entfernen kann. Wenn Sie Vorschläge zu diesem Programm haben, können Sie Geert Jansen gerne anschreiben.</p><p>Übersetzung  Philipp Siegert<code class="email">(siegert AT pp-services.de)</code></p><p><a name="gnu-fdl"></a>Diese Dokumentation ist unter den Bedingungen der <a class="ulink" href="help:/kdoctools5-common/fdl-translated.html" target="_top">GNU Free Documentation License</a> 
veröffentlicht.</p><p>Dieses Programm ist unter den Bedingungen der 
<a class="ulink" href="help:/kdoctools5-common/artistic-license.html" target="_top">Artistic License</a> 
veröffentlicht.</p></div></div><div id="footer"><div class="navCenter"><table class="navigation"><tr><td class="prevCell"><a accesskey="p" href="sec-password-keeping.html">Zurück</a></td><td class="upCell"><a accesskey="h" href="index.html">Zum Anfang</a></td><td class="nextCell"></td></tr><tr><td class="prevCell">Passwörter speichern </td><td class="upCell"> </td><td class="nextCell"> </td></tr></table></div><div id="footer_text">Möchten Sie Kommentare und Verbesserungen zu dieser Seite beitragen?<br>Senden Sie Ihre Vorschläge an das <a href="mailto:kde-doc-english@kde.org" class="footer_email">KDE Dokumentationsteam</a></div></div></div></body></html></FILENAME></div></div><div id="footer"><div class="navCenter"><table class="navigation"><tr><td class="prevCell"></td><td class="upCell"> </td><td class="nextCell"><a accesskey="n" href="introduction.html">Weiter</a></td></tr><tr><td class="prevCell"> </td><td class="upCell"> </td><td class="nextCell"> Einleitung</td></tr></table></div><div id="footer_text">Möchten Sie Kommentare und Verbesserungen zu dieser Seite beitragen?<br>Senden Sie Ihre Vorschläge an das <a href="mailto:kde-doc-english@kde.org" class="footer_email">KDE Dokumentationsteam</a></div></div></div></body></html></FILENAME>

Generated by dwww version 1.15 on Sun Jun 16 13:04:20 CEST 2024.