Hi,
Thanks for your reply buddy. I'm gonna use the web gui for public entrance, it just costs too much time to build a API based custom panel.
As for the safety, well, I'm not sure, but it just feels unsafe for pubic users to guess the linux user password, maybe just psychosomatic, I hope so.