Article delegate-en/4905 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Does Delegate support user-based access lists, with those users authenticated by a RADIUS server?
15 Sep 2010 02:27:35 GMT (Yutaka Sato)
The DeleGate Project

In message <_A4904@delegate-en.ML_> on 09/15/10(07:58:44)
you Vietnhi Phuvan <> wrote:
 |I am trying this syntax:
 |delegated -P1080 SERVER=socks 
 |AUTHORIZER=-pam:http,ftp:* REMITTABLE="tcprelay/80" 
 |REMITTABLE="tcprelay/22" HOSTLIST="ConsServ:/"  
 |REJECT="tcprelay:!ConsServ:ConsClnt,user1" PERMIT="tcprelay:*:*"  
 |and I get
 |-bash: !ConServ: event not found
 |The intent is to block user1 from accessing ConServ through ports 80 and 
 |22. The bash shell doesn't like the "!" sign. What's wrong with the syntax?

A user of a command shell is expected to know what "!" means when it 
used in a command line, and how to escape the interpretation of "!"
by a shell (using "\").  Just see "man bash" and search the word
"history" and the phrase "history substitution".

Another (recommended) way is not to use "!" on a command line, but in
a shell script to which the "history substitution" is not applied.

And another (the most recommended) way is writing parameters so that
never been interpreted by a shell, that is, writing each parameter
line by line in a file and include it with +=file.

  9 9   Yutaka Sato, CSDP#005482 <>
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]