Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Juniper / Unable to use certain combinations of characters in password for TACACS server

Unable to use certain combinations of characters in password for TACACS server

June 9, 2016 by Marques Brownlee

Users are unable to use combinations of \n , \t , \r , \’ , \” , \v , \f , etc… in passwords for TACACS server. These are interpreted as escape sequences.

The following log messages are related to a failure of TACACS negotiation:

Jun 21 22:41:40 SRX240 sshd[60845]: tac_config: /var/etc/pam_tacplus.conf:1: unterminated quoted string
Jun 21 23:20:54 SRX240 sshd[60883]: tac_config: /var/etc/pam_tacplus.conf:1: unterminated quoted string

These logs in traceoptions are generated when there is a escape sequence used in the secret-key or mismatch of key.

A RADIUS shared secret is a case-sensitive password used to validate communications between a RADIUS server such as Steel-Belted Radius Carrier, and a RADIUS client, such as a network access device. Steel-Belted Radius Carrier supports shared secrets of up to 127 alphanumeric characters, including spaces and the following special characters: ~ ! @ # $ % ^ & * ( ) _ + | \ = – ‘ { } [ ] : ” ‘ ; < > ? / . ,

The backwards slash character ‘\’ has special meaning in the C programming language. It begins what is called an “Escape sequence” and it is used to define certain special characters within string literals.

 Unable to use certain combinations of characters in password for TACACS server

Use “juniper\\n” in the RADIUS user configuration if “juniper\n” has been configured in the radius-server.

Related

Filed Under: Juniper Tagged With: radius, RADIUS shared secret, TACACS, TACACS server

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in