<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica Documentation – Ident authentication</title>
    <link>/en/security-and-authentication/client-authentication/ident-authentication/</link>
    <description>Recent content in Ident authentication on Vertica Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/security-and-authentication/client-authentication/ident-authentication/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Security-and-Authentication: Installing and setting up an ident server</title>
      <link>/en/security-and-authentication/client-authentication/ident-authentication/installing-and-setting-up-an-ident-server/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/security-and-authentication/client-authentication/ident-authentication/installing-and-setting-up-an-ident-server/</guid>
      <description>
        
        
        &lt;p&gt;To use Ident authentication, you must install one or more packages, depending on your operating system, and enable the Ident server on your Vertica server. &lt;code&gt;oidentd&lt;/code&gt; is an Ident daemon that is compatible with Vertica and compliant with &lt;a href=&#34;https://www.ietf.org/rfc/rfc1413.txt&#34;&gt;RFC 1413&lt;/a&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

You can find the source code and installation instructions for oidentd at the &lt;a href=&#34;http://ojnk.sourceforge.net/&#34;&gt;oidentd website&lt;/a&gt;.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;To install and configure Ident authentication for use with your Vertica database, follow the appropriate steps for your operating system.&lt;/p&gt;
&lt;h3 id=&#34;red-hat-7xcentos-7x&#34;&gt;Red hat 7.x/CentOS 7.x&lt;/h3&gt;
&lt;p&gt;Install an Ident server on Red Hat 7.x or CentOS 7.x by installing the &lt;code&gt;authd&lt;/code&gt; and &lt;code&gt;xinetd&lt;/code&gt; packages:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ yum install authd
$ yum install xinetd
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;ubuntudebian&#34;&gt;Ubuntu/debian&lt;/h3&gt;
&lt;p&gt;Install &lt;code&gt;oidentd&lt;/code&gt; on Ubuntu or Debian by running this command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo apt-get install oidentd
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;suse-linux-enterprise-server&#34;&gt;SUSE Linux enterprise server&lt;/h3&gt;
&lt;p&gt;Install the &lt;code&gt;pidentd&lt;/code&gt; and &lt;code&gt;xinetd&lt;/code&gt; RPMs from the following locations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://www.suse.com/LinuxPackages/packageRouter.jsp?product=server&amp;amp;version=11&amp;amp;service_pack=&amp;amp;architecture=i386&amp;amp;package_name=pidentd&#34;&gt;https://www.suse.com/LinuxPackages/packageRouter.jsp?product=server&amp;amp;version=11&amp;amp;service_pack=&amp;amp;architecture=i386&amp;amp;package_name=pidentd&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://www.suse.com/LinuxPackages/packageRouter.jsp?product=server&amp;amp;version=11&amp;amp;service_pack=&amp;amp;architecture=i386&amp;amp;package_name=xinetd&#34;&gt;https://www.suse.com/LinuxPackages/packageRouter.jsp?product=server&amp;amp;version=11&amp;amp;service_pack=&amp;amp;architecture=i386&amp;amp;package_name=xinetd&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;post-installation-steps-for-ubuntudebian&#34;&gt;Post-installation steps for ubuntu/debian&lt;/h2&gt;
&lt;p&gt;After you install &lt;code&gt;oidentd&lt;/code&gt; on your Ubuntu/Debian system, continue with the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Verify that the Ident server accepts IPv6 connections to prevent authentication failure. To do so, you must enable this capability. In the script &lt;code&gt;/etc/init.d/oidentd&lt;/code&gt;, change the line from:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;exec=&amp;#34;/usr/sbin/oidentd&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;to&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;exec=&amp;#34;/usr/sbin/oidentd -a ::&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then, at the Linux prompt, start &lt;code&gt;oidentd&lt;/code&gt; with &lt;code&gt;-a ::&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart the server with the following command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ /etc/init.d/oidentd restart
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;post-installation-steps-for-red-hat-7xcentos-7x-and-suse-linux-enterprise-server&#34;&gt;Post-installation steps for red hat 7.x/CentOS 7.x and SUSE Linux enterprise server&lt;/h2&gt;
&lt;p&gt;After you install the required packages on your Red Hat 7.x/CentOS 7.x or SUSE Linux Enterprise Server system, continue with the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Enable the &lt;code&gt;auth&lt;/code&gt; service by setting &lt;code&gt;disable = no&lt;/code&gt; in the configuration file &lt;code&gt;/etc/xinetd.d/auth&lt;/code&gt;. If this file does not exist, create it. The following is a sample configuration file:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;service auth
{
        disable = no
        socket_type = stream
        wait = no
        user = ident
        cps = 4096 10
        instances = UNLIMITED
        server = /usr/sbin/in.authd
        server_args = -t60 --xerror --os
}
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart the &lt;code&gt;xinetd&lt;/code&gt; service with the following command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ service xinetd restart
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Security-and-Authentication: Configuring ident authentication for database users</title>
      <link>/en/security-and-authentication/client-authentication/ident-authentication/configuring-ident-authentication-db-users/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/security-and-authentication/client-authentication/ident-authentication/configuring-ident-authentication-db-users/</guid>
      <description>
        
        
        &lt;p&gt;To configure Ident authentication, take the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Create an authentication method that uses Ident.&lt;/p&gt;
&lt;p&gt;The Ident server must be installed on the same computer as your database, so specify the keyword LOCAL. Vertica requires that the Ident server and database always be on the same computer as the database.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE AUTHENTICATION v_ident METHOD &amp;#39;ident&amp;#39; LOCAL;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the Ident authentication parameters, specifying the system users who should be allowed to connect to your database.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER AUTHENTICATION v_ident SET system_users=&amp;#39;&lt;span class=&#34;code-variable&#34;&gt;user1&lt;/span&gt;:&lt;span class=&#34;code-variable&#34;&gt;user2&lt;/span&gt;:&lt;span class=&#34;code-variable&#34;&gt;user3&lt;/span&gt;&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Associate the authentication method with the Vertica user. Use a GRANT statement that allows the system user &lt;code&gt;user1&lt;/code&gt; to log in using Ident authentication:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; GRANT AUTHENTICATION v_ident TO &lt;span class=&#34;code-variable&#34;&gt;user1&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
  </channel>
</rss>
