[RADIATOR] Modyfying UsernamePrompt in ServerTACACSPLUS

Heikki Vatiainen hvn at open.com.au
Thu Jun 26 14:12:59 CDT 2014


On 06/25/2014 04:56 PM, Vangelis Kyriakakis wrote:

>      I'm trying to modify the username prompt in a ServerTACACSPLUS
> method. The problem is that I cannot put trailing spaces after the
> prompt. It seems that radiator discards any trailing spaces. Is there a
> way to add trailing spaces?

Hello Vangelis,

yes, there is a way to do it. To quote section 5.1 'General information':
   ... parameter values can contain escaped octal characters ...

Although any trailing whitespace is removed during the configuration
file parsing, you can add a space as an escaped octal character.

> For example I want to print "This is my User
> prompt: " in order to have:
>  
> This is my User prompt: username              (Space between : and username)

Try this:
UsernamePrompt This is my User prompt:\040

Thanks,
Heikki

-- 
Heikki Vatiainen <hvn at open.com.au>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.


More information about the radiator mailing list