Saturday, April 23, 2011

SSH Server Configurator - Update

Maybe it won't be just a day or two after all!

I still plan to plod along until it starts mostly working so that I can make an initial release but I can already see places to improve for the next version. The XML library I'm using (a thin layer on top of minidom) is really reinventing the wheel. It's a bit more concise than other implementations but I will definitely be switching soon.

I'd post screenshots but not much has changed. The ListenAddress buttons are working now (and there is a "remove" button too.) I also see a lot of room to simplify in the future and perhaps add more options and doo-dads.

Anyway - It's still a work in progress!

25 April 2011:
 Still working on it - but I've had a few other things to do too. Writing is basically done, but I haven't been able to test it because I have to learn just exactly what is the kosher way to run a command as root. I was using pkexec but from what I understand that's probably not the most secure method (hence it may not work if pkexec is disabled). I've resolved to stick with it anyway, but I might need to change that in the future.


26 April 2011:
It writes now! The writing even has the advantage that it doesn't need any special program to run as root. So it can run with only everyday programs such as pidof, tee and mv available to root. It actually does everything I need it to, but now I have a lot of reading to do on python packaging. I could technically tar.gz it but there would be too much setup as yet probably. (It needs its files copied to the right places.)

No comments:

Post a Comment