help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] User-Password character


From: Tomoyasu Maitani
Subject: Re: [Help-gnu-radius] User-Password character
Date: Fri, 19 Aug 2005 10:43:16 +0100

Thank you for a kind reply.
I understand that User-Password can contain any characters.
But I have still problem when I try to do Radauth by command line
as follows;

//users file//
test    Auth-Type = Local,
                User-Password = "test=123!"
        Service-Type = Framed-User,
                Framed-Protocol = PPP

//Radauth//
# ./radauth -v test 'test=123!'
assign: invalid IP address: 123!
Password:

# ./radauth -v test "test=123!"
-bash: !": event not found

# ./radauth -v test password='test=123!'
Password:

As the above result, "test=123!" is does not recocnized as password
from command line. How should I specify the password from command
line?

Regards,

Tomoyasu Maitani

On Fri, 19 Aug 2005 09:57:47 +0300
Sergey Poznyakoff <address@hidden> wrote:

> Hi Maurice!
> 
> Nice to hear you :)
>  
> >   username-chars  "address@hidden&\\/="
> > 
> > in your radius config file? The equal sign is normally not a password
> > character which is accepted.
> 
> No, you have mixed it up with the user name. Passwords can contain
> whatever characters one likes (except 0 of course).
>  
> > (like "password=thepassword", where "password=3$8d=!$= is confusing the 
> > parser).
> 
> That's right. It should be password='3$8d=!$=' instead (besides,
> exclamation sign is a special character in many shells and must be
> either quoted or escaped).
> 
> Regards,
> Sergey



****************************************************************************
The information contained in this electronic mail message, and any and
all accompanying documents, is confidential and may be legally 
privileged.  If you are not the intended recipient of this information,
any form of disclosure, distribution, copying or use of this communication
or the information in it or in any attachments is strictly prohibited
and may be unlawful. If you received this information in error, please
notify the sender immediately and delete it and destroy any copies of it.
Messages sent via the Internet may be subject to delays and/or unauthorized
alteration. Neither KDDI Europe Limited nor any of its affiliates shall
be held liable for the contents of this message.
****************************************************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]