source: postlfs/security/ssh-askpass.xml@ 11f9ce2

11.0 ken/refactor-virt lazarus qt5new trunk upgradedb
Last change on this file since 11f9ce2 was 11f9ce2, checked in by Bruce Dubbs <bdubbs@…>, 4 months ago

Fix ssh-askpass md5sum

  • Property mode set to 100644
File size: 5.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 "https://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 "805f7048aec6dd752584e570383a6f00">
12 <!ENTITY ssh-askpass-size "1.7 MB">
13 <!ENTITY ssh-askpass-buildsize "9.6 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 <date>$Date$</date>
22 </sect1info>
23
24 <title>ssh-askpass-&ssh-askpass-version;</title>
25
26 <indexterm zone="ssh-askpass">
27 <primary sortas="a-ssh-askpass">ssh-askpass</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to ssh-askpass</title>
32
33 <para>
34 The <application>ssh-askpass</application> is a generic executable name for
35 many packages, with similar names, that provide a interactive X service to
36 grab password for packages requiring administrative privileges to be run.
37 It prompts the user with a window box where the necessary password can be
38 inserted. Here, we choose Damien Miller's package distributed in the
39 <application>OpenSSH</application> tarball.</para>
40
41 &lfs101_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&ssh-askpass-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&ssh-askpass-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &ssh-askpass-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &ssh-askpass-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &ssh-askpass-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &ssh-askpass-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">ssh-askpass Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required">
81 <xref linkend="gtk2"/>,
82 <xref role="runtime" linkend="sudo"/> (runtime),
83 <xref linkend="xorg7-lib"/>, and
84 <xref role="runtime" linkend="x-window-system"/> (runtime)
85 </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 \
109 /usr/libexec/openssh/contrib &amp;&amp;
110ln -sv -f contrib/gnome-ssh-askpass2 \
111 /usr/libexec/openssh/ssh-askpass</userinput></screen>
112
113 <para>
114 The use of /usr/libexec/openssh/contrib and a symlink is justified by the
115 eventual necessity of a different program for that service.
116 </para>
117
118 </sect2>
119
120 <sect2 role="configuration">
121 <title>Configuring ssh-askpass</title>
122
123 <sect3 id="ssh-askpass-config">
124 <title>Configuration Information</title>
125
126 <para>
127 As the <systemitem class="username">root</systemitem> user, configure
128 <xref linkend="sudo"/> to use <application>ssh-askpass</application>:
129 </para>
130
131<screen role="root"><userinput>cat &gt;&gt; /etc/sudo.conf &lt;&lt; "EOF" &amp;&amp;
132<literal># Path to askpass helper program
133Path askpass /usr/libexec/openssh/ssh-askpass</literal>
134EOF
135chmod -v 0644 /etc/sudo.conf</userinput></screen>
136
137 <para>
138 If a given graphical &lt;application&gt; requires administrative
139 privileges, use <command>sudo -A &lt;application&gt;</command> from an
140 x-terminal, from a Window Manager menu and/or replace
141 "Exec=&lt;application&gt; ..." by
142 "Exec=sudo -A &lt;application&gt; ..." in the
143 &lt;application&gt;.desktop file.
144 </para>
145
146 </sect3>
147
148 </sect2>
149
150 <sect2 role="content">
151 <title>Contents</title>
152
153 <segmentedlist>
154 <segtitle>Installed Programs</segtitle>
155 <segtitle>Installed Library</segtitle>
156 <segtitle>Installed Directory</segtitle>
157
158 <seglistitem>
159 <seg>
160 None
161 </seg>
162 <seg>
163 None
164 </seg>
165 <seg>
166 /usr/libexec/openssh/contrib
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 </sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.