source: postlfs/security/ssh-askpass.xml@ 1ab21f7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1ab21f7 was 1ab21f7, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Misc tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22040 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.2 KB
RevLine 
[7a5b2e77]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">
[119bb45]11 <!ENTITY ssh-askpass-md5sum "bf050f002fe510e1daecd39044e1122d">
[5581e6ee]12 <!ENTITY ssh-askpass-size "1.5 MB">
[17756081]13 <!ENTITY ssh-askpass-buildsize "8.6 MB">
[953fa69]14 <!ENTITY ssh-askpass-time "less than 0.1 SBU">
[7a5b2e77]15]>
16
17<sect1 id="ssh-askpass" xreflabel="ssh-askpass-&ssh-askpass-version;">
[41f3ac3]18 <?dbhtml filename="ssh-askpass.html"?>
[7a5b2e77]19
20 <sect1info>
[6c76fe8a]21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
[7a5b2e77]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
[1ab21f7]42 &lfs90_checked;
[7a5b2e77]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">
[96e9478]82 <xref linkend="gtk2"/>,
83 <xref role="runtime" linkend="sudo"/> (runtime),
84 <xref linkend="xorg7-lib"/>, and
85 <xref role="runtime" linkend="x-window-system"/> (runtime)
86 </para>
[7a5b2e77]87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url='&blfs-wiki;/ssh-askpass'/>
90 </para>
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of ssh-askpass</title>
95
96 <para>
97 Install <application>ssh-askpass</application> by running the following
98 commands:
99 </para>
100
101<screen><userinput>cd contrib &amp;&amp;
102make gnome-ssh-askpass2</userinput></screen>
103
104 <para>
105 Now, as the <systemitem class="username">root</systemitem> user:
106 </para>
107
[6c6990c]108<screen role="root"><userinput>install -v -d -m755 /usr/libexec/openssh/contrib &amp;&amp;
109install -v -m755 gnome-ssh-askpass2 \
110 /usr/libexec/openssh/contrib &amp;&amp;
111ln -sv -f contrib/gnome-ssh-askpass2 \
112 /usr/libexec/openssh/ssh-askpass</userinput></screen>
[7a5b2e77]113
114 <para>
[b9d56ad4]115 The use of /usr/libexec/openssh/contrib and a symlink is justified by the
[7a5b2e77]116 eventual necessity of a different program for that service.
117 </para>
118
119 </sect2>
120
121 <sect2 role="configuration">
122 <title>Configuring ssh-askpass</title>
123
124 <sect3 id="ssh-askpass-config">
[9d92be58]125 <title>Configuration Information</title>
[7a5b2e77]126
127 <para>
128 As the <systemitem class="username">root</systemitem> user, configure
129 <xref linkend="sudo"/> to use <application>ssh-askpass</application>:
130 </para>
131
132<screen role="root"><userinput>cat &gt;&gt; /etc/sudo.conf &lt;&lt; "EOF" &amp;&amp;
133<literal># Path to askpass helper program
[b9d56ad4]134Path askpass /usr/libexec/openssh/ssh-askpass</literal>
[7a5b2e77]135EOF
136chmod -v 0644 /etc/sudo.conf</userinput></screen>
137
138 <para>
[9d92be58]139 If a given graphical &lt;application&gt; requires administrative
140 privileges, use <command>sudo -A &lt;application&gt;</command> from an
141 x-terminal, from a Window Manager menu and/or replace
142 "Exec=&lt;application&gt; ..." by
143 "Exec=sudo -A &lt;application&gt; ..." in the
[6c6990c]144 &lt;application&gt;.desktop file.
145 </para>
[7a5b2e77]146
147 </sect3>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Programs</segtitle>
[9d92be58]156 <segtitle>Installed Library</segtitle>
157 <segtitle>Installed Directory</segtitle>
[7a5b2e77]158
159 <seglistitem>
160 <seg>
[21a2189]161 None
[7a5b2e77]162 </seg>
163 <seg>
164 None
165 </seg>
166 <seg>
[b9d56ad4]167 /usr/libexec/openssh/contrib
[7a5b2e77]168 </seg>
169 </seglistitem>
170 </segmentedlist>
171
172 </sect2>
173
174</sect1>
Note: See TracBrowser for help on using the repository browser.