[tac_plus] Cisco Nexus Authorization problem

Kevin.Cruse at Instinet.com Kevin.Cruse at Instinet.com
Thu Jul 16 21:39:43 UTC 2015



Hello

I have configured TACPLUS to work with cisco nexus device. I am able to
successfully  authenticate, however, I am able to run all commands on
router. It seems the router is not restricted to the commands specified in
my group config. Has anyone gotten Cisco nexus to work properly with
tacplus? I need to limit certain users and cannot get this working
properly. Any help is greatly appreciated!!! Thanks.

Group Config:

        group = snm {
                default service = deny
                service = shell {
                set shell:roles="\"network-admin\""
                default command = deny
                default attribute = deny
                set priv-lvl = 15
                cmd = configure {deny .*}
                cmd = clear {
                permit "counters"
                permit "qos stat"
                permit "mls qos int"
                }
                cmd = disable {permit .*}
                cmd = enable {permit .*}
                cmd = end {permit .*}
                cmd = exit {permit .*}
                cmd = logout {permit .*}
                cmd = ping {permit .*}
                cmd = set {
                permit "length 0"
                }
                cmd = show {
                deny "controllers vip"
                permit .*
                }
                cmd = skip-page-display {permit .*}
                cmd = terminal {
                permit "length 0"
                }
                cmd = write {
                permit "network"
                permit "terminal"
                permit "memory"
                }
                }
        }


        user = testuser {

                member = snm
        }


Session output from router:

 telnet labrouter
Trying labrouter...
Connected to labrouter.
Escape character is '^]'.
User Access Verification
login: testuser
Password:
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
LABROUTER# configure
<------------------------------------------------------------ This should
be denied
Enter configuration commands, one per line.  End with CNTL/Z.
LABROUTER(config)# interface ethernet 1/1 configure
<------------------------------------------------------------ This should
be denied
LABROUTER(config-if)# shut
<------------------------------------------------------------ This should
be denied
LABROUTER(config-if)# no shut
<------------------------------------------------------------ This should
be denied
LABROUTER(config-if)# end
LABROUTER#

=========================================================================================================  <<<< Disclaimer >>>>   This message is intended solely for use by the named addressee(s). If you receive this transmission in error, please immediately notify the sender and destroy this message in its entirety, whether in electronic or hard copy format. Any unauthorized use (and reliance thereon), copying, disclosure, retention, or distribution of this transmission or the material in this transmission is forbidden. We reserve the right to monitor and archive electronic communications. This material does not constitute an offer or solicitation with respect to the purchase or sale of any security. It should not be construed to contain any recommendation regarding any security or strategy. Any views expressed are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This communication is provided on an “as is” basis. It contains material that is owned by Instinet Incorporated, its subsidiaries or its or their licensors, and may not, in whole or in part, be (i) copied, photocopied or duplicated in any form, by any means, or (ii) redistributed, posted, published, excerpted, or quoted without Instinet Incorporated's prior written consent. Please access the following link for important information and instructions:  http://instinet.com/includes/index.jsp?thePage=/html/le_index.txt   Securities products and services are provided by locally registered brokerage subsidiaries of Instinet Incorporated: Instinet Australia Pty Limited (ACN: 131 253 686 AFSL No: 327834), regulated by the Australian Securities & Investments Commission; Instinet Canada Limited, member IIROC/CIPF; Instinet Pacific Limited, authorized and regulated by the Securities and Futures Commission of Hong Kong; Instinet Singapore Services Private Limited, regulated by the Monetary Authority of Singapore, trading member of The Singapore Exchange Securities Trading Private Limited and clearing member of The Central Depository (Pte) Limited; and Instinet, LLC, member SIPC.  

=========================================================================================================  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/tac_plus/attachments/20150716/5c309608/attachment.html>


More information about the tac_plus mailing list