Hello,
I "need" a webserver that will do some "low-level" system stuff, like mounting/dismounting/access zfs data/check or alter the status of some devices/... ....
While some of this can be done via trigger-files and scripts others should access "real-time" data some shell scripts deliver....
As scripts don`t support suid I see only one other way to do this with FreeBSD than making a programm that is started via rc.conf offering an interface e.g. on a TCP Port the tomcat servlets communicate with....
Or ist there any other way to access "realtime" system data by a tomcat servlet running on a FreeBSD system?
I "need" a webserver that will do some "low-level" system stuff, like mounting/dismounting/access zfs data/check or alter the status of some devices/... ....
While some of this can be done via trigger-files and scripts others should access "real-time" data some shell scripts deliver....
As scripts don`t support suid I see only one other way to do this with FreeBSD than making a programm that is started via rc.conf offering an interface e.g. on a TCP Port the tomcat servlets communicate with....
Or ist there any other way to access "realtime" system data by a tomcat servlet running on a FreeBSD system?