[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">
|
---|
[ff8b4c9] | 11 | <!ENTITY ssh-askpass-md5sum "4d8547670e2a220d5ef805ad9e47acf2">
|
---|
[6c6990c] | 12 | <!ENTITY ssh-askpass-size "1.5 MB">
|
---|
| 13 | <!ENTITY ssh-askpass-buildsize "8.2 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 |
|
---|
[c828e9cb] | 42 | &lfs79_checked;&gcc6_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">
|
---|
| 82 | <xref linkend="gtk2"/>,
|
---|
[9d92be58] | 83 | <xref linkend="sudo"/> (runtime),
|
---|
[8a6b187] | 84 | <xref linkend="xorg7-lib"/>, and
|
---|
[7a5b2e77] | 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 &&
|
---|
| 101 | make gnome-ssh-askpass2</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[6c6990c] | 107 | <screen role="root"><userinput>install -v -d -m755 /usr/libexec/openssh/contrib &&
|
---|
| 108 | install -v -m755 gnome-ssh-askpass2 \
|
---|
| 109 | /usr/libexec/openssh/contrib &&
|
---|
| 110 | ln -sv -f contrib/gnome-ssh-askpass2 \
|
---|
| 111 | /usr/libexec/openssh/ssh-askpass</userinput></screen>
|
---|
[7a5b2e77] | 112 |
|
---|
| 113 | <para>
|
---|
[b9d56ad4] | 114 | The use of /usr/libexec/openssh/contrib and a symlink is justified by the
|
---|
[7a5b2e77] | 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">
|
---|
[9d92be58] | 124 | <title>Configuration Information</title>
|
---|
[7a5b2e77] | 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 >> /etc/sudo.conf << "EOF" &&
|
---|
| 132 | <literal># Path to askpass helper program
|
---|
[b9d56ad4] | 133 | Path askpass /usr/libexec/openssh/ssh-askpass</literal>
|
---|
[7a5b2e77] | 134 | EOF
|
---|
| 135 | chmod -v 0644 /etc/sudo.conf</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
[9d92be58] | 138 | If a given graphical <application> requires administrative
|
---|
| 139 | privileges, use <command>sudo -A <application></command> from an
|
---|
| 140 | x-terminal, from a Window Manager menu and/or replace
|
---|
| 141 | "Exec=<application> ..." by
|
---|
| 142 | "Exec=sudo -A <application> ..." in the
|
---|
[6c6990c] | 143 | <application>.desktop file.
|
---|
| 144 | </para>
|
---|
[7a5b2e77] | 145 |
|
---|
| 146 | </sect3>
|
---|
| 147 |
|
---|
| 148 | </sect2>
|
---|
| 149 |
|
---|
| 150 | <sect2 role="content">
|
---|
| 151 | <title>Contents</title>
|
---|
| 152 |
|
---|
| 153 | <segmentedlist>
|
---|
| 154 | <segtitle>Installed Programs</segtitle>
|
---|
[9d92be58] | 155 | <segtitle>Installed Library</segtitle>
|
---|
| 156 | <segtitle>Installed Directory</segtitle>
|
---|
[7a5b2e77] | 157 |
|
---|
| 158 | <seglistitem>
|
---|
| 159 | <seg>
|
---|
[21a2189] | 160 | None
|
---|
[7a5b2e77] | 161 | </seg>
|
---|
| 162 | <seg>
|
---|
| 163 | None
|
---|
| 164 | </seg>
|
---|
| 165 | <seg>
|
---|
[b9d56ad4] | 166 | /usr/libexec/openssh/contrib
|
---|
[7a5b2e77] | 167 | </seg>
|
---|
| 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | </sect1>
|
---|