Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
bob111
Contributor

Tacacs authentication to firewall

Hello guys, I set up tacacs to my firewalls and I wanted to know if there is a way to log in straight to expert mode?
Thanks! 

0 Kudos
6 Replies
Lesley
Leader Leader
Leader

This can be done via the clish mode with:

set user admin shell /bin/bash

-------
If you like this post please give a thumbs up(kudo)! 🙂
AkosBakos
Advisor
Advisor

@Lesley 

Not 100% sure, but, TACACS user always "starts" in clish mode, or not?

Of course, you always set the default privilage (not the maximum), which is CLISH

 tacacs.png

https://support.checkpoint.com/results/sk/sk98733

Akos

----------------
\m/_(>_<)_\m/
0 Kudos
Lesley
Leader Leader
Leader

Ah yes this is true 

After login, you can use the Gaia Clish command 'tacacs_enable TACP-15' to gain full privileges.
The security goal is to require a different password after logging in to deter malicious activities.
An Expert password that differs from all TACACS passwords, provides even more security.

HostName> add rba role TACP-15 domain-type System readwrite-features backup,clock-date,cluster_ha,configuration,expert,export,hw-monitor,message,perf,reboot_halt,revert,show-route-all,snapshot,static-route,syslog,tacacs_enable

 

-------
If you like this post please give a thumbs up(kudo)! 🙂
bob111
Contributor

Thank you very much for the help! So just to be clear there is no way for a tacacs user to log in to expert mode directly?

0 Kudos
PhoneBoy
Admin
Admin

All "non local" users are impacted by this entry in /etc/passwd: 

_nonlocl:x:96:100:Non-local user:/home/_nonlocl:/etc/cli.sh

You can change this by editing /etc/passwd manually, but it impacts all TACACS+ and RADIUS servers.

0 Kudos
bob111
Contributor

Thank you.
Is there something else I need to do afterwards? I changed it but it still connects to clish first.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events