Re: web-gui for scripts

2013-10-19 Thread Lars Noodén
On 18.10.2013 20:56, Pol Hallen wrote: [snip] > But is boring everytime connect to ssh and put new domain using command > line... :-/ [snip] You could try a single-purpose key. You are logging in using keys already, I hope? If you combine the single-purpose key with some changes to ~/.ssh/config

Re: web-gui for scripts

2013-10-18 Thread Pol Hallen
is it "something like this" or is it "this"? :-) If it's "this", I would suggest you to install a software like Webmin or so. I need build my own web-gui thanks for help Pol -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contac

Re: web-gui for scripts

2013-10-18 Thread Pol Hallen
The easiest thing is to make sure there no user-submitted data can be passed on to the system and no system output can be passed on directly to the user. ok Use if-then statements, case statements, and even scrubbing via regex if it is necessary to pass data. good idea, thanks! Also, if

Re: web-gui for scripts

2013-10-18 Thread Philipp Born
Hey, is it "something like this" or is it "this"? If it's "this", I would suggest you to install a software like Webmin or so. Greetings. On 18.10.2013 14:35, Pol Hallen wrote: Howdy :-) I searching for what is the way to create a gui interface for my scripts ("security web-gui"). So, a sc

Re: web-gui for scripts

2013-10-18 Thread Lars Noodén
On 18.10.2013 15:35, Pol Hallen wrote: > Howdy :-) > > I searching for what is the way to create a gui interface for my scripts > ("security web-gui"). > > So, a script could be something like this (execute by root user): > > #!/bin/bash > # pr.sh > /etc/postfix reload > > So, I must create a g

web-gui for scripts

2013-10-18 Thread Pol Hallen
Howdy :-) I searching for what is the way to create a gui interface for my scripts ("security web-gui"). So, a script could be something like this (execute by root user): #!/bin/bash # pr.sh /etc/postfix reload So, I must create a gui do "reload postfix service" I can write a php script lik