<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rogierm&#039;s Blog &#187; avocent</title>
	<atom:link href="http://rogierm.redbee.nl/blog/tag/avocent/feed/" rel="self" type="application/rss+xml" />
	<link>http://rogierm.redbee.nl/blog</link>
	<description>Just another blog with technical stuff</description>
	<lastBuildDate>Mon, 28 Jun 2010 21:04:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Tacacs authentication on Avocent ACS terminal server</title>
		<link>http://rogierm.redbee.nl/blog/2009/07/30/tacacs-authentication-on-avocent-acs-terminal-server/</link>
		<comments>http://rogierm.redbee.nl/blog/2009/07/30/tacacs-authentication-on-avocent-acs-terminal-server/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 20:23:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[avocent]]></category>
		<category><![CDATA[tacacs]]></category>
		<category><![CDATA[terminal server]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=38</guid>
		<description><![CDATA[We have a combination of Cisco 2500 terminal server (oldies) and some Avocent ACS terminal servers. All our cisco kit authenticates against a tacacs server (tac_plus) and I want to include the Avocent in the same central user-management infrastructure. The Avocent manual includes some commands to configure it to authenticate against different back-ends. The tacacs [...]]]></description>
			<content:encoded><![CDATA[<p>We have a combination of Cisco 2500 terminal server (oldies) and some Avocent ACS terminal servers. All our cisco kit authenticates against a tacacs server (<a href="http://www.shrubbery.net/tac_plus/">tac_plus</a>) and I want to include the Avocent in the same central user-management infrastructure.</p>
<p>The Avocent manual includes some commands to configure it to authenticate against different back-ends. The tacacs commands and options are all explained, but these commands did not give me a working setup. Below I outline the steps in a small how-to to setup Tacacs authentication on an Avocent terminal server.</p>
<ol>
<li>Login to the avocent as root</li>
<li>enter the command line interface:<br />
<code><br />
[root@hostname root]# CLI</p>
<p>- Thanks for using the CLI -</p>
<p>This interface allows you to easily modify configurations to customize<br />
and define the functionality of your unit.</p>
<p>Some basic and useful keys are:<br />
up/down arrow - navigates up/down in the command history<br />
tab (once/twice) - shows the next possible option(s)</p>
<p>Other hints:<br />
Put quotes around strings that contain spaces.</p>
<p>Please refer to the  Reference  Guide  for  other  special  keys   and<br />
additional information on how to use this interface.</p>
<p>Press TAB to see the list of available options.</p>
<p></code><code>cli&gt;<br />
</code></li>
<li>Configure the ACS to use tacacs for physical ports:<br />
<code><br />
cli&gt;config physicalports all access authtype TacacsPlusDownlocal</p>
<p></code></li>
<li>Configure the ACS to use tacacs for authentication to the terminal server itself:<br />
<code><br />
cli&gt;config security authentication authtype tacasdownlocal</p>
<p></code></li>
<li>Configure the tacacs parameters:<br />
<code><br />
cli&gt;config security authentication tacplusauthsvr1 10.x.x.x<br />
cli&gt;config security authentication tacplussecret T@C@CSk3y</p>
<p></code></li>
<li>Commit the config:<br />
<code><br />
cli&gt;config runconfig</p>
<p></code></li>
<li>Save the config to flash:<br />
<code><br />
cli&gt;config savetoflashadf</p>
<p></code></li>
</ol>
<p>With the setup described above I was not able to succesfully login to the Avocent with a valid tacacs user. The following entries was written in the tacacs log file:<br />
<code><br />
Thu Jul 30 18:29:16 2009 [23176]: pap-login query for 'testuser' ssh from hostname.domain rejected<br />
Thu Jul 30 18:29:16 2009 [23176]: login failure: testuser hostname.domain (10.x.x.x) ssh<br />
</code></p>
<div>The cause of the problem was that the Avocent uses &#8216;PAP&#8217; authentication and this needs to be configured separately for the tacacs user. See the example below:</div>
<p><code><br />
user = testuser {<br />
default service = permit<br />
name = "Test User"<br />
login = cleartext "password"<br />
pap = cleartext "password"<br />
service = exec {<br />
priv-lvl = 15<br />
}<br />
} </code></p>
<div>I encountered a problem  when logging in with a &#8216;restricted&#8217; rancid user (see <a href="http://rogierm.redbee.nl/blog/?p=19">article</a>). This user does not have the proper authorization, since this is only setup to backup Cisco configuration. In my setup this is not a problem, but be aware of this issue. The problem can be seen in the tacacs log file:</div>
<p><code><br />
Thu Jul 30 18:47:12 2009 [1541]: authorization query for 'rancid' ssh from cltsp-ts01.ams-spa rejected<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2009/07/30/tacacs-authentication-on-avocent-acs-terminal-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
