我正在尝试configurationFreeRadius以使用我的外部authentication脚本。
我有一个自定义模块
exec myscript { wait = yes shell_escape = yes program = "/path/to/myscript %{Stripped-User-Name} %{User-Password}" }
这工作。 不过,我担心,因为明文密码是作为命令行parameter passing给脚本的,所以ps
在适当的时候运行就可以显示密码。
如果我可以将参数写入受保护的文件,myscript可以读取它们会更好。 我一直无法find如何做到这一点。 这是可能的,以及如何?