Re: A PHP management interface for OpenBSD ?

2007-01-25 Thread Passeur
Thanks for your feedbacks guys.
Of course the idea is not to introduce silly and easy security holes in
OpenBSD.
So we will go for the most secure platform possible.
As for SSH comments, of course I agree, but this interface is a framework to
manage OpenBSD based appliances but also an Operation Management software
that aims to be used by anybody, even Unix newcomers.

If you want to get a more precised idea of what I am talking about, check
the following screenshot here.
http://www.matrice-in-motion.com/images/MIMAdmin.JPG

Regards

Michael



David Bryan wrote:
 
 I really like the concept- but something you must remember when
 developing any web app- Input Validation.
 
 Ideally you would have a mysql database or file that just enables or
 disables something ( literally a 1 or a 0 or true/false, then a
 secondary program that creates config files from that with very little
 that is used as input- maybe an IP address, or small flags.  Again
 limiting the input so as to remove the possibility for command
 injections.  If done well, this could be great!  Done poorly anyone
 could own you box via SQL or command injections.
 
 Check out OWASP for php filters, and other programing nuggets.
 
 chefren wrote:
 On 1/25/07 1:34 AM, Passeur wrote:
 We are in the process of developing a PHP framework with a web
 frontend to
 manage the OpenBSD settings through a web browser.

 It should be handy, I presume =all= configs, logins, groups, passwords
 and for example the settings for Apache and PHP itself included?

 A friend advised me not to do that because of all the security holes
 I will
 introduce on OpenBSD.
 He advised me rather using PHP to use CGI/PERL.

 What is your opinion ?

 Let's punch through all carefully designed security layers of OpenBSD
 with a 'program' based on the most insecure language of the planet.


 Clueless

 +++chefren
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-A-PHP-management-interface-for-OpenBSD---tf3095866.html#a8613399
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Wanted: OpenBSD Systems Administrator

2007-01-02 Thread Passeur
Well if there was a JOB section like there is on NetBSD, that would avoid
this kind of issues.
Just a suggestion...

-- 
View this message in context: 
http://www.nabble.com/Wanted%3A-OpenBSD-Systems-Administrator-tf2910166.html#a8135257
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: LiveCD

2006-12-24 Thread Passeur
Alright sorry guys I thought it was the official WIKI website.
Anyway let say I can not use QEMU, which is the case, what would you
recommend to build a live CD ? Having a second machine ? Even virtual, or
can we bypass this step as the other LiveCD FAQS do not even talk about a
second host.



Andreas Bihlmaier-2 wrote:
 
 On Sat, Dec 23, 2006 at 03:49:25PM -0800, Passeur wrote:
 Hi,
 
 I am trying to build a live CD based on the official OpenBSD article.
 (http://www.openbsd-wiki.org/index.php?title=LiveCD)
 
 This is not official.
 
 qemu-img create ~/livecd.qemu.hd0 2G
 Ran fine, I have got a 2GB virtual drive.
 
 qemu -hda ~/livecd.qemu.hd0 -cdrom /home/cd40.iso -boot d
 Error message after validation of the previous command:
 
 Could not initialize SDL - Exiting
 
 What you just did is using qemu, doesn't have anything to do with
 LiveCD, thus you might want to bug ports@ about it.
 
 In order to help post:
 - dmesg
 - pkg_info
 - qemu -h | grep version
 
 
 I have some articles and they were talking about the fact we need to
 recomp
 the Kernell with SDL support ?
 Is that so ?
 
 Kernel with SDL support? WTF?
 No you do not need to change your kernel for userland stuff.
 
 Thank you
 
 Regards,
 ahb
 
 Btw.
 (for those enjoying christian traditions): Merry Christmas
 
 
 

-- 
View this message in context: 
http://www.nabble.com/LiveCD-building-error-tf2875827.html#a8043613
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Screen resolution and ACPI

2006-12-23 Thread Passeur
Hi,

I am using OpenBSD 4.0 with KDE 3.5.4
I am looking for how to change the screen resolution which is stuck to
640*480 at the moment.
KDE option to change the screen resolution is greyed out.
I have been pointed out to change the XF86Config file but this file does not
exist on my installation.

Also I would like the PC to actualy shut down when I do shutdown -h now
instead of having to press the power button. This option is supported but
disabled by default as far I have read, but how to enable it ?

Thanks a million in advance


-- 
View this message in context: 
http://www.nabble.com/Screen-resolution-and-ACPI-tf2875353.html#a8036593
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Screen resolution and ACPI

2006-12-23 Thread Passeur
Ok found it. I have used the XORGCFG tool to proceed and I have been able to
change the screen resolution.
Also for ACPI I would need to recompile the kernell as it was (Still is ?)
more or less experimental.



Passeur wrote:
 
 Hi,
 
 I am using OpenBSD 4.0 with KDE 3.5.4
 I am looking for how to change the screen resolution which is stuck to
 640*480 at the moment.
 KDE option to change the screen resolution is greyed out.
 I have been pointed out to change the XF86Config file but this file does
 not exist on my installation.
 
 Also I would like the PC to actualy shut down when I do shutdown -h now
 instead of having to press the power button. This option is supported but
 disabled by default as far I have read, but how to enable it ?
 
 Thanks a million in advance
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Screen-resolution-and-ACPI-tf2875353.html#a8036664
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Screen resolution and ACPI

2006-12-23 Thread Passeur
There you go : 
Thank you Joachim

===
OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) D CPU 3.40GHz (GenuineIntel 686-class) 3.44 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,DS-CPL
real mem  = 267939840 (261660K)
avail mem = 236662784 (231116K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(53) BIOS, date 07/29/05, BIOS32 rev. 0 @ 0xfd880,
SMBIOS rev. 2.31 @ 0xe0010 (45 entries)
bios0: VMware, Inc. VMware Virtual Platform
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xdc000/0x4000!
0xe/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: VMware Virtual IDE Hard Drive
wd0: 64-sector PIO, LBA, 4096MB, 8388608 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: NECVMWar, VMware IDE CDR10, 1.00 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus
disabled
vga1 at pci0 dev 15 function 0 VMware Virtual SVGA II rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
bha3 at pci0 dev 16 function 0 BusLogic MultiMaster rev 0x01: irq 11,
BusLogic 9xxC SCSI
bha3: model BT-958, firmware 5.07B
bha3: sync, parity
scsibus1 at bha3: 8 targets
pcn0 at pci0 dev 17 function 0 AMD 79c970 PCnet-PCI rev 0x10, Am79c970A,
rev 0: irq 9, address 00:0c:29:55:5e:ee
eap0 at pci0 dev 18 function 0 Ensoniq AudioPCI97 rev 0x02: irq 10
ac97: codec id 0x43525913 (Cirrus Logic CS4297A rev 3)
audio0 at eap0
midi0 at eap0: AudioPCI MIDI UART
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask e965 netmask eb65 ttymask fbe7
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted


===



Joachim Schipper wrote:
 
 On Sat, Dec 23, 2006 at 12:22:06PM -0800, Passeur wrote:
 Hi,
 
 I am using OpenBSD 4.0 with KDE 3.5.4
 I am looking for how to change the screen resolution which is stuck to
 640*480 at the moment.
 KDE option to change the screen resolution is greyed out.
 I have been pointed out to change the XF86Config file but this file does
 not
 exist on my installation.
 
 You'll want to take a look at /etc/X11/xorg.conf, instead.
 
 Also I would like the PC to actualy shut down when I do shutdown -h now
 instead of having to press the power button. This option is supported but
 disabled by default as far I have read, but how to enable it ?
 
 dmesg, please. ;-)
 
   Joachim
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Screen-resolution-and-ACPI-tf2875353.html#a8037639
Sent from the openbsd user - misc mailing list archive at Nabble.com.



LiveCD

2006-12-23 Thread Passeur
Hi,

I am trying to build a live CD based on the official OpenBSD article.
(http://www.openbsd-wiki.org/index.php?title=LiveCD)

qemu-img create ~/livecd.qemu.hd0 2G
Ran fine, I have got a 2GB virtual drive.

qemu -hda ~/livecd.qemu.hd0 -cdrom /home/cd40.iso -boot d
Error message after validation of the previous command:

Could not initialize SDL - Exiting

I have some articles and they were talking about the fact we need to recomp
the Kernell with SDL support ?
Is that so ?

Thank you


-- 
View this message in context: 
http://www.nabble.com/LiveCD-tf2875827.html#a8038010
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Screen resolution and ACPI

2006-12-23 Thread Passeur
Cool thanks



Steve Shockley wrote:
 
 Passeur wrote:
 Also I would like the PC to actualy shut down when I do shutdown -h now
 instead of having to press the power button. This option is supported but
 disabled by default as far I have read, but how to enable it ?
 
 See the first and last message at 
 http://www.vmware.com/community/thread.jspa;?messageID=441903.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Screen-resolution-and-ACPI-tf2875353.html#a8038395
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Screen resolution and ACPI

2006-12-23 Thread Passeur
Yes I am using VMWARE workstation 5.5.1 build 19175.
I have not done anything special to run OpenBSD, I have just select type of
OS : Other.



Randal L. Schwartz wrote:
 
 Passeur == Passeur  [EMAIL PROTECTED] writes:
 
 Passeur bios0: VMware, Inc. VMware Virtual Platform
 
 Aha... if you get VMWare working nicely, please publish the instructions.
 
 -- 
 Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
 0095
 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/
 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
 See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
 training!
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Screen-resolution-and-ACPI-tf2875353.html#a8038393
Sent from the openbsd user - misc mailing list archive at Nabble.com.