weixin_39748773
2020-12-08 19:37 阅读 0

WebGUI Linux multiusers

Martin, I hope you are very close to produce WebGUI for multiusers under linux with login to PAT via WebGUI to linux account and setup via WebGUI account on Winlink (store secure Winlink password) It will be good solution special for HamNET network where users can connect via 2.3/5.8 Ghz tcp/ip to local server via WebGUI. The server will be forward users emails to CMS via ARDOP/Winmor or Internet :-)

I very like GetSimple CMS http://get-simple.info/ as example how to run light CMS without database. It maybe will be usefull look on GetSimple code how to create login via Web without use SQL database to store username and password

该提问来源于开源项目:la5nta/pat

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • weixin_39812224 weixin_39812224 2020-12-08 19:37

    Yes - support for multiple users accounts would be a very interesting feature indeed.

    It would have to work cross-platform though, maybe even a simple drop-down to select MYCALL (which changes default mailbox path and password) as seen in Winlink Express.

    Unfortunately, I don't think this will be a priority for v1 as it probably would require a lot of refactoring and possible breaking config-structure changes. But further discussion and/or pull requests are of course welcomed :)

    Until then, you could configure a debian system with multi-user systemd that fires up Pat instances on different ports for different system accounts. Though sharing a single WINMOR TNC might be problematic.

    点赞 评论 复制链接分享
  • weixin_39748773 weixin_39748773 2020-12-08 19:37

    Hi Martin,

    We need add authorization to login via WebGUI. I don't know now what is best solution use local unix account password or separate in config user file.

    If multiuser PAT server on Linux in this case we don't need in WebGUI have access to users select any action CONNECT because PAT server will be scan folders users with waiting emails to POST via CMS.

    In this solution we separate config for SERVER and USERS We can define in separate config PAT server where is information about http port, radio ports, GPS etc and add one or more options in config server where we define how often will be sync mailbox users to send waiting email for example every 30 min and put order priority to send waiting emails. For example;

    "priority":[telnet,ardop] it means that first time server will be try send via Telnet Internet to CMS if don't work server will be try send email via radio ports use ARDOP.

    Config users will simple { "mycall": "N0CALL", "secure_login_password": "pssword", "auxiliary_addresses": [], "locator": "XX00XX", } PAT server will be use mycall and password local users to sync email with CMS

    Move mailbox directory from /home/username/.wl2k/mailbox/ to /var/spool/pat/username

    It is only idea :-) and it will be nice read other opinion.

    Maybe we need fork PAT to PAT Multi-user Server solution :-) because at current PAT cross-platform for single user on own PC computer is very good and need only small enhancement :-)

    点赞 评论 复制链接分享
  • weixin_39812224 weixin_39812224 2020-12-08 19:37

    See the proposed solution in issue #66, which should be able to provide multi-user support also. Combined with Puppet and/or containerization, you should be able to automate the setup of one Pat instance per user.

    点赞 评论 复制链接分享
  • weixin_39812224 weixin_39812224 2020-12-08 19:37

    Although built-in multiuser support in Pat would be nice, I'm closing the issue due to the fact that it is not a priority now and it is possible to use external applications and orchestration to implement a similar solution.

    If anyone want to work on this issue, please let me know and I will re-open the issue :)

    点赞 评论 复制链接分享

相关推荐