Re: build own web-gui

2013-10-21 Thread Pol Hallen
 All what you need ist webmin. It is not inside debian! Look here:
 http://www.webmin.com/download.html
 There is a module for postfix here:
 http://download.webmin.com/download/modules/postfix.wbm.gz

Hi and thanks for reply, sorry if I persist:

that script is only an example... I don't want use webmin but build my own.

I've a server with many scripts (root owner) and I'd like build a webgui
to use it from browser but I'm not how do it.

For apache-ssl I'm ok, also auth modules of apache.

cpanel, plesk and other gui panel how interacts with low level
scripts/commands?

re-thanks for help!

Pol


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ea2097a609508cff95a459a215cf52dd.squir...@fuckaround.org



build own web-gui

2013-10-20 Thread Pol Hallen
Howdy

I'm apology if this isn't correct list but I didn't found any way...

I need build my own webgui to run bash scripts on my server:

that scripts 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 (and using it from
internet)

I can write a php script like this:

?php
$output = shell_exec('/root/bin/./pr.sh');
echo pre$output/pre;
?

But I'm afraid about security issue I've also ssl on apache web.

What is the best way to create a web security gui? Use post/put apache
commands? using php code?

Thanks for help!


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/c90a0e9c909d4ad7a3a2e1396b530d6d.squir...@fuckaround.org



apt-get upgrade (security packages)

2013-10-14 Thread Pol Hallen
Howdy

I've a production server particularly patched. I prefer install only
security packages but keep others packages to same version.

Should I've some problems if keep only:

deb http://security.debian.org/ stable/updates main contrib non-free

to /etc/apt/sources.list

or better pin every packages?

What's the best way to do this?

thanks!

Pol


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/30b7bf1da5f98f43e8853b64f7e75b4e.squir...@fuckaround.org



set version of package after recompile it

2013-06-23 Thread Pol Hallen
Hi all :-)

Applying a patch to package and after recompiled and installed, from
sources.list is there available same version of package (ufficial
version).

How change my own version of package as next of actual version? But
keeping the correct if new version will be available.

Sorry for my english :-( i.e.

dpkg -l|grep nmap

ii nmap 6.00-0.3

I download the source and recompile it. After installed new version, doing
apt-get upgrade I've available nmap. I need have also next version of nmap
when will available.

thanks

Pol


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cd3318e5a46aafcfb69f073a49617f41.squir...@fuckaround.org



advice about compile a package

2013-06-03 Thread Pol Hallen


Hi all! This is my first post :-)

I try to patch postfix and I want be sure that my procedure is correct :-)

apt-get source postfix and I see:

f 215552 Jun  3 13:35 postfix_2.7.1-1+squeeze1.diff.gz
f 1754 Jun  3 13:35 postfix_2.7.1-1+squeeze1.dsc
d 4096 Jun  3 13:35 postfix-2.7.1
f 3418747 Jun  3 13:35 postfix_2.7.1.orig.tar.gz

I go to postfix-2.7.1 dir and I patch:

patch -p1  patch.x.y.z

everything ok

to rebuild I do:

dpkg-buildpackage -rfakeroot -uc -us

and I've a new postfix package

A question: the dir of postfix (created by system after apt-get source
postfix), is already patched with debian patches? or I need compile debian
patches to that dir?

Thanks and sorry for banal question :-/

Pol



-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ed5cd2931636b1bfb84ecbebbcfdcb08.squir...@fuckaround.org