source: postlfs/security/ssh-askpass.xml@ 2325e9ba

systemd-13485
Last change on this file since 2325e9ba was ac38e9dc, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY ssh-askpass-download-http
8 "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&ssh-askpass-version;.tar.gz">
9 <!ENTITY ssh-askpass-download-ftp
10 "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&ssh-askpass-version;.tar.gz">
11 <!ENTITY ssh-askpass-md5sum "08f72de6751acfbd0892b5f003922701">
12 <!ENTITY ssh-askpass-size "1.4 MB">
13 <!ENTITY ssh-askpass-buildsize "8.0 MB">
14 <!ENTITY ssh-askpass-time "less than 0.1 SBU">
15]>
16
17<sect1 id="ssh-askpass" xreflabel="ssh-askpass-&ssh-askpass-version;">
18 <?dbhtml filename="ssh-askpass.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>ssh-askpass-&ssh-askpass-version;</title>
26
27 <indexterm zone="ssh-askpass">
28 <primary sortas="a-ssh-askpass">ssh-askpass</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to ssh-askpass</title>
33
34 <para>
35 The <application>ssh-askpass</application> is a generic executable name for
36 many packages, with similar names, that provide a interactive X service to
37 grab password for packages requiring administrative privileges to be run.
38 It prompts the user with a window box where the necessary password can be
39 inserted. Here, we choose Damien Miller's package distributed in the
40 <application>OpenSSH</application> tarball.</para>
41
42 &lfs77_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&ssh-askpass-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&ssh-askpass-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &ssh-askpass-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &ssh-askpass-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &ssh-askpass-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &ssh-askpass-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">ssh-askpass Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
81 <para role="required">
82 <xref linkend="gtk2"/>,
83 <xref linkend="sudo"/> (runtime),
84 <xref linkend="xorg7-lib"/>, and
85 <xref linkend="x-window-system"/> (runtime)</para>
86
87 <para condition="html" role="usernotes">
88 User Notes: <ulink url='&blfs-wiki;/ssh-askpass'/>
89 </para>
90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of ssh-askpass</title>
94
95 <para>
96 Install <application>ssh-askpass</application> by running the following
97 commands:
98 </para>
99
100<screen><userinput>cd contrib &amp;&amp;
101make gnome-ssh-askpass2</userinput></screen>
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>install -v -d -m755 /usr/libexec/openssh/contrib &amp;&amp;
108install -v -m755 gnome-ssh-askpass2 /usr/libexec/openssh/contrib &amp;&amp;
109ln -sv -f contrib/gnome-ssh-askpass2 /usr/libexec/openssh/ssh-askpass</userinput></screen>
110
111 <para>
112 The use of /usr/libexec/openssh/contrib and a symlink is justified by the
113 eventual necessity of a different program for that service.
114 </para>
115
116 </sect2>
117
118 <sect2 role="configuration">
119 <title>Configuring ssh-askpass</title>
120
121 <sect3 id="ssh-askpass-config">
122 <title>Configuration Information</title>
123
124 <para>
125 As the <systemitem class="username">root</systemitem> user, configure
126 <xref linkend="sudo"/> to use <application>ssh-askpass</application>:
127 </para>
128
129<screen role="root"><userinput>cat &gt;&gt; /etc/sudo.conf &lt;&lt; "EOF" &amp;&amp;
130<literal># Path to askpass helper program
131Path askpass /usr/libexec/openssh/ssh-askpass</literal>
132EOF
133chmod -v 0644 /etc/sudo.conf</userinput></screen>
134
135 <para>
136 If a given graphical &lt;application&gt; requires administrative
137 privileges, use <command>sudo -A &lt;application&gt;</command> from an
138 x-terminal, from a Window Manager menu and/or replace
139 "Exec=&lt;application&gt; ..." by
140 "Exec=sudo -A &lt;application&gt; ..." in the
141 &lt;application&gt;.desktop file.</para>
142
143 </sect3>
144
145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Library</segtitle>
153 <segtitle>Installed Directory</segtitle>
154
155 <seglistitem>
156 <seg>
157 ssh-askpass (symlink) and gnome-ssh-askpass2
158 </seg>
159 <seg>
160 None
161 </seg>
162 <seg>
163 /usr/libexec/openssh/contrib
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="gnome-ssh-askpass2-prog">
174 <term><command>gnome-ssh-askpass2</command></term>
175 <listitem>
176 <para>
177 is the program helper agent used to grab a password.
178 </para>
179 <indexterm zone="ssh-askpass gnome-ssh-askpass2-prog">
180 <primary sortas="b-gnome-ssh-askpass2">scp</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="ssh-askpass-prog">
186 <term><command>ssh-askpass</command></term>
187 <listitem>
188 <para>
189 is a symlink to the program helper agent used to grab a password.
190 </para>
191 <indexterm zone="ssh-askpass ssh-askpass-prog">
192 <primary sortas="b-ssh-askpass">scp</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 </variablelist>
198
199 </sect2>
200
201</sect1>
Note: See TracBrowser for help on using the repository browser.