[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
|
---|
[c6b192c] | 8 | "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&ssh-askpass-version;.tar.gz">
|
---|
[7a5b2e77] | 9 | <!ENTITY ssh-askpass-download-ftp
|
---|
| 10 | "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&ssh-askpass-version;.tar.gz">
|
---|
[bed8f3ef] | 11 | <!ENTITY ssh-askpass-md5sum "&openssh-md5sum;">
|
---|
[2d0c6b1] | 12 | <!ENTITY ssh-askpass-size "1.7 MB">
|
---|
[075cb1e] | 13 | <!ENTITY ssh-askpass-buildsize "10 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 |
|
---|
| 21 | <title>ssh-askpass-&ssh-askpass-version;</title>
|
---|
| 22 |
|
---|
| 23 | <indexterm zone="ssh-askpass">
|
---|
| 24 | <primary sortas="a-ssh-askpass">ssh-askpass</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to ssh-askpass</title>
|
---|
| 29 |
|
---|
| 30 | <para>
|
---|
| 31 | The <application>ssh-askpass</application> is a generic executable name for
|
---|
| 32 | many packages, with similar names, that provide a interactive X service to
|
---|
| 33 | grab password for packages requiring administrative privileges to be run.
|
---|
| 34 | It prompts the user with a window box where the necessary password can be
|
---|
| 35 | inserted. Here, we choose Damien Miller's package distributed in the
|
---|
| 36 | <application>OpenSSH</application> tarball.</para>
|
---|
| 37 |
|
---|
[0f76bd9] | 38 | &lfs120_checked;
|
---|
[7a5b2e77] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&ssh-askpass-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&ssh-askpass-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &ssh-askpass-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &ssh-askpass-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &ssh-askpass-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &ssh-askpass-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">ssh-askpass Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
[579c512] | 78 | <xref linkend="gtk3"/>,
|
---|
[96e9478] | 79 | <xref role="runtime" linkend="sudo"/> (runtime),
|
---|
| 80 | <xref linkend="xorg7-lib"/>, and
|
---|
| 81 | <xref role="runtime" linkend="x-window-system"/> (runtime)
|
---|
| 82 | </para>
|
---|
[7a5b2e77] | 83 |
|
---|
[1ef28cd2] | 84 | <para condition="html" role="usernotes">
|
---|
[42ddc30] | 85 | Editor Notes: <ulink url='&blfs-wiki;/ssh-askpass'/>
|
---|
[1ef28cd2] | 86 | </para>
|
---|
[7a5b2e77] | 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
| 90 | <title>Installation of ssh-askpass</title>
|
---|
| 91 |
|
---|
| 92 | <para>
|
---|
| 93 | Install <application>ssh-askpass</application> by running the following
|
---|
| 94 | commands:
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput>cd contrib &&
|
---|
[579c512] | 98 | make gnome-ssh-askpass3</userinput></screen>
|
---|
[7a5b2e77] | 99 |
|
---|
| 100 | <para>
|
---|
| 101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
[8394f7d1] | 104 | <screen role="root"><userinput>install -v -d -m755 /usr/libexec/openssh/contrib &&
|
---|
[579c512] | 105 | install -v -m755 gnome-ssh-askpass3 /usr/libexec/openssh/contrib &&
|
---|
| 106 | ln -sv -f contrib/gnome-ssh-askpass3 /usr/libexec/openssh/ssh-askpass</userinput></screen>
|
---|
[7a5b2e77] | 107 |
|
---|
| 108 | <para>
|
---|
[b9d56ad4] | 109 | The use of /usr/libexec/openssh/contrib and a symlink is justified by the
|
---|
[7a5b2e77] | 110 | eventual necessity of a different program for that service.
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="configuration">
|
---|
| 116 | <title>Configuring ssh-askpass</title>
|
---|
| 117 |
|
---|
| 118 | <sect3 id="ssh-askpass-config">
|
---|
[9d92be58] | 119 | <title>Configuration Information</title>
|
---|
[7a5b2e77] | 120 |
|
---|
| 121 | <para>
|
---|
| 122 | As the <systemitem class="username">root</systemitem> user, configure
|
---|
| 123 | <xref linkend="sudo"/> to use <application>ssh-askpass</application>:
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <screen role="root"><userinput>cat >> /etc/sudo.conf << "EOF" &&
|
---|
| 127 | <literal># Path to askpass helper program
|
---|
[b9d56ad4] | 128 | Path askpass /usr/libexec/openssh/ssh-askpass</literal>
|
---|
[7a5b2e77] | 129 | EOF
|
---|
| 130 | chmod -v 0644 /etc/sudo.conf</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
[9d92be58] | 133 | If a given graphical <application> requires administrative
|
---|
| 134 | privileges, use <command>sudo -A <application></command> from an
|
---|
| 135 | x-terminal, from a Window Manager menu and/or replace
|
---|
| 136 | "Exec=<application> ..." by
|
---|
| 137 | "Exec=sudo -A <application> ..." in the
|
---|
[6c6990c] | 138 | <application>.desktop file.
|
---|
| 139 | </para>
|
---|
[7a5b2e77] | 140 |
|
---|
| 141 | </sect3>
|
---|
| 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="content">
|
---|
| 146 | <title>Contents</title>
|
---|
| 147 |
|
---|
| 148 | <segmentedlist>
|
---|
| 149 | <segtitle>Installed Programs</segtitle>
|
---|
[9d92be58] | 150 | <segtitle>Installed Library</segtitle>
|
---|
| 151 | <segtitle>Installed Directory</segtitle>
|
---|
[7a5b2e77] | 152 |
|
---|
| 153 | <seglistitem>
|
---|
| 154 | <seg>
|
---|
[54d58907] | 155 | gnome-ssh-askpass3, ssh-askpass (symlink to
|
---|
[579c512] | 156 | <filename>gnome-ssh-askpass3</filename>)
|
---|
[7a5b2e77] | 157 | </seg>
|
---|
| 158 | <seg>
|
---|
| 159 | None
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
[b9d56ad4] | 162 | /usr/libexec/openssh/contrib
|
---|
[7a5b2e77] | 163 | </seg>
|
---|
| 164 | </seglistitem>
|
---|
| 165 | </segmentedlist>
|
---|
| 166 |
|
---|
| 167 | </sect2>
|
---|
| 168 |
|
---|
| 169 | </sect1>
|
---|