King Crimson
July 25th, 2008, 12:08 AM
Hi,
I'm running Kubuntu 8.04.1 with Wine 1.1.1. My problem is somehow non-standard and unusual, therefore I hope some guru might read this and suggest some nice solution...
After reading the Wine FAQ I realize that I shouldn't be running Wine as root or with sudo, since that gives the Windows application full control and access to the system, but in my special case I somehow see no other choice... unless any of you have a better suggestion!
I badly need a program for UDP logging from my dreambox satellite receiver (that is also running linux). I know I could simply run netcat -u -l -p port_number. But even though it works, the output is totally unformatted and looks like garbage. So since I couldn't find an alternative native linux application for that end, I turned to 3CSysLog, which is a free w32 program from 3com. In Windows, this runs just fine - it has a nice GUI and formats the output in a very nice and readable manner.
The only disadvantage of this program is that it has a fixed listening port (514). In Linux, any program that wants to have access to ports below 1024 needs root privileges to do so - if I try to run this program as normal user in Wine I get an error: binding to port 514 prohibited.
Therefore, I tried to run the program with: sudo wine "/home/marek/.wine/dosdevices/c:/Program Files/syslog/3CSyslog.EXE". But that didn't work either - the system complained that "./wine is owned by another user" (I can't remember the exact wording, but it was something very similar).
I therefore saw no other choice than to issue the command sudo chown -R root:root ~/.wine. After that, finally, the program runs flawlessly after invoking it with sudo wine "/home/marek/.wine/dosdevices/c:/Program Files/syslog/3CSyslog.EXE".
Of course, there's a big disadvantage of that "pathetic hack": now all programs need to be run in Wine as root. Therefore, three questions:
1.) Do you guys see any other (better) solution to the above problem?
2.) If not, do you know any other native Linux application for UDP logging, preferably with a GUI?
3.) If not, is the above solution really a huge security risk providing that I know exactly which programs I'm running and that I won't be running any viruses/malware etc.?
I'd be much obliged for an answer...
King Crimson
I'm running Kubuntu 8.04.1 with Wine 1.1.1. My problem is somehow non-standard and unusual, therefore I hope some guru might read this and suggest some nice solution...
After reading the Wine FAQ I realize that I shouldn't be running Wine as root or with sudo, since that gives the Windows application full control and access to the system, but in my special case I somehow see no other choice... unless any of you have a better suggestion!
I badly need a program for UDP logging from my dreambox satellite receiver (that is also running linux). I know I could simply run netcat -u -l -p port_number. But even though it works, the output is totally unformatted and looks like garbage. So since I couldn't find an alternative native linux application for that end, I turned to 3CSysLog, which is a free w32 program from 3com. In Windows, this runs just fine - it has a nice GUI and formats the output in a very nice and readable manner.
The only disadvantage of this program is that it has a fixed listening port (514). In Linux, any program that wants to have access to ports below 1024 needs root privileges to do so - if I try to run this program as normal user in Wine I get an error: binding to port 514 prohibited.
Therefore, I tried to run the program with: sudo wine "/home/marek/.wine/dosdevices/c:/Program Files/syslog/3CSyslog.EXE". But that didn't work either - the system complained that "./wine is owned by another user" (I can't remember the exact wording, but it was something very similar).
I therefore saw no other choice than to issue the command sudo chown -R root:root ~/.wine. After that, finally, the program runs flawlessly after invoking it with sudo wine "/home/marek/.wine/dosdevices/c:/Program Files/syslog/3CSyslog.EXE".
Of course, there's a big disadvantage of that "pathetic hack": now all programs need to be run in Wine as root. Therefore, three questions:
1.) Do you guys see any other (better) solution to the above problem?
2.) If not, do you know any other native Linux application for UDP logging, preferably with a GUI?
3.) If not, is the above solution really a huge security risk providing that I know exactly which programs I'm running and that I won't be running any viruses/malware etc.?
I'd be much obliged for an answer...
King Crimson