[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">
|
---|
| 11 | <!ENTITY ssh-askpass-md5sum "a62b88b884df0b09b8a8c5789ac9e51b">
|
---|
| 12 | <!ENTITY ssh-askpass-size "1.2 MB">
|
---|
| 13 | <!ENTITY ssh-askpass-buildsize "6.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="openssh.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy: fernando $</othername>
|
---|
| 22 | <date>$Date: 2013-11-08 18:23:05 -0300 (Fri, 08 Nov 2013) $</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 | &lfs74_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="openssh"/>,
|
---|
| 84 | <xref linkend="sudo"/> (runtime)
|
---|
| 85 | <xref linkend="x-lib"/>, and
|
---|
| 86 | <xref linkend="x-window-system"/> (runtime)</para>
|
---|
| 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 &&
|
---|
| 102 | make gnome-ssh-askpass2</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <screen role="root"><userinput>install -v -d -m755 /usr/lib/openssh/contrib &&
|
---|
| 109 | install -v -m755 gnome-ssh-askpass2 /usr/lib/openssh/contrib &&
|
---|
| 110 | ln -sv -f contrib/gnome-ssh-askpass2 /usr/lib/openssh/ssh-askpass</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | The use of /usr/lib/openssh/contrib and a symlink are justified by the
|
---|
| 114 | eventual necessity of a different program for that service.
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="configuration">
|
---|
| 120 | <title>Configuring ssh-askpass</title>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
| 123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <sect3 id="ssh-askpass-config">
|
---|
| 127 | <title>Config File</title>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | As the <systemitem class="username">root</systemitem> user, configure
|
---|
| 131 | <xref linkend="sudo"/> to use <application>ssh-askpass</application>:
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <screen role="root"><userinput>cat >> /etc/sudo.conf << "EOF" &&
|
---|
| 135 | <literal># Path to askpass helper program
|
---|
| 136 | Path askpass /usr/lib/openssh/ssh-askpass</literal>
|
---|
| 137 | EOF
|
---|
| 138 | chmod -v 0644 /etc/sudo.conf</userinput></screen>
|
---|
| 139 |
|
---|
| 140 | <para>
|
---|
| 141 | If a given <application> requires administrative privileges, use
|
---|
| 142 | <command>sudo -A <application></command> from a x-terminal, from a Window Manager menu and/or replace "Exec=<application> ..." by "Exec=sudo -A <application>
|
---|
| 143 | ..." in the <application>.desktop file.</para>
|
---|
| 144 |
|
---|
| 145 | </sect3>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
| 154 | <segtitle>Installed Libraries</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
| 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>
|
---|
| 159 | ssh-askpass (symlink to gnome-ssh-askpass2) and gnome-ssh-askpass2
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
| 162 | None
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | /usr/lib/openssh/contrib
|
---|
| 166 | </seg>
|
---|
| 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="gnome-ssh-askpass2-prog">
|
---|
| 176 | <term><command>gnome-ssh-askpass2</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
| 179 | is the program helper agent used to grab a password.
|
---|
| 180 | </para>
|
---|
| 181 | <indexterm zone="ssh-askpass gnome-ssh-askpass2-prog">
|
---|
| 182 | <primary sortas="b-gnome-ssh-askpass2">scp</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="ssh-askpass-prog">
|
---|
| 188 | <term><command>ssh-askpass</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>
|
---|
| 191 | is a symlink to the program helper agent.
|
---|
| 192 | </para>
|
---|
| 193 | <indexterm zone="ssh-askpass ssh-askpass-prog">
|
---|
| 194 | <primary sortas="b-ssh-askpass">scp</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | </variablelist>
|
---|
| 200 |
|
---|
| 201 | </sect2>
|
---|
| 202 |
|
---|
| 203 | </sect1>
|
---|