[SOLVED] Problem for users under Tacacs+ server on redhat
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For research/study purpose I have deployed Tacacs+ server on redhat 6 and connected CISCO 7200 Routers with it using GNS3 emulator. Primary everything is working fine. I can add user in Tacacs+ config file, can define user priv-lvl, can restrict users on different commands specified on the config file. The problem I am facing is that (1) I can't assign user based enable password/secret on Tacacas+ Server and (2) the user authentication works for both telnet and console sessions but the authorization only works for telnet sessions where I need console users also to be authorized on commands. Besides, (3) I am looking for any web based Tacacs+ accounting system by which I can see the Tacacs+ real time logs in an interactive web interface. I have used a script and can view the logs in html file but this can't fulfill my requirements. Please help me to figure out my situation. Thanks in advance for trying for me.
R1#sh run | in aaa
aaa new-model
aaa authentication banner ^C^C
aaa authentication login default group tacacs+ local
aaa authentication enable default group tacacs+ enable
aaa authorization config-commands
aaa authorization exec default group tacacs+ if-authenticated
aaa authorization commands 1 default group tacacs+ if-authenticated
aaa authorization commands 15 default group tacacs+ if-authenticated
aaa authorization network default group tacacs+
aaa accounting exec default
aaa accounting commands 1 default
aaa accounting commands 15 default
aaa accounting network default
aaa accounting system default
aaa session-id common
### I can't use [line: 18] "enable = cleartext hello123" on Tacacs+ config file. Although many web tutorials show me to do that. Anyway, the error I get with "tac_plus -P -C /etc/tacacs/tac_plus.cfg" command is:
Quote:
enable Error: Unrecognized keyword enable for user on line 18
For research/study purpose I have deployed Tacacs+ server on redhat 6 and connected CISCO 7200 Routers with it using GNS3 emulator. Primary everything is working fine. I can add user in Tacacs+ config file, can define user priv-lvl, can restrict users on different commands specified on the config file. The problem I am facing is that (1) I can't assign user based enable password/secret on Tacacas+ Server and (2) the user authentication works for both telnet and console sessions but the authorization only works for telnet sessions where I need console users also to be authorized on commands. Besides, (3) I am looking for any web based Tacacs+ accounting system by which I can see the Tacacs+ real time logs in an interactive web interface. I have used a script and can view the logs in html file but this can't fulfill my requirements. Please help me to figure out my situation. Thanks in advance for trying for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.