Re: openBSD 4.1 + vsftpd

2007-10-26 Thread Christopher Bianchi
gentoo1 wrote:
 david l goodrich-2 wrote:
   
 On Fri, 26 Oct 2007 05:18:07 -0700 (PDT), gentoo1 [EMAIL PROTECTED] wrote:
 
 HI guys!
  I'm new in Open BSD world.. I have 5 years experience in Linux and
   
 UNIX..
 
 But  now i have openbsd instalation since 1 week :)
 And a problem with vsftpd (anonymous):

 client says :
 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp
 .
 .
 .
 When i set
 anonymous_enable=NO
 local_enable=YES ,
  Then Everything is okay:
 Connected to .
 220 Welcome to Open BSD FTP server
 User (...:(none)):


 Please help me to solve this problem:blush:
   
 Do you have a user on your system named ftp?
   --david

 
 --
 View this message in context:
 http://www.nabble.com/openBSD-4.1-%2B-vsftpd-tf4696963.html#a13426108
 Sent from the openbsd user - misc mailing list archive at Nabble.com.
   

 


 I have this in /etc/passwd :

 _ftp:*:84:84:FTP Daemon:/var/empty:/sbin/nologin


 I have not been appending it as root in system but I think that this user is
 created by default / by instalation/ or not?

 Thanks in advance!
   
http://www.openbsd.org/faq/faq10.html#AnonFTP

it's so clear...



Re: openBSD 4.1 + vsftpd

2007-10-26 Thread Christopher Bianchi
gentoo1 wrote:
 david l goodrich-2 wrote:
   
 On Fri, 26 Oct 2007 05:18:07 -0700 (PDT), gentoo1 [EMAIL PROTECTED] wrote:
 
 HI guys!
  I'm new in Open BSD world.. I have 5 years experience in Linux and
   
 UNIX..
 
 But  now i have openbsd instalation since 1 week :)
 And a problem with vsftpd (anonymous):

 client says :
 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp
 .
 .
 .
 When i set
 anonymous_enable=NO
 local_enable=YES ,
  Then Everything is okay:
 Connected to .
 220 Welcome to Open BSD FTP server
 User (...:(none)):


 Please help me to solve this problem:blush:
   
 Do you have a user on your system named ftp?
   --david

 
 --
 View this message in context:
 http://www.nabble.com/openBSD-4.1-%2B-vsftpd-tf4696963.html#a13426108
 Sent from the openbsd user - misc mailing list archive at Nabble.com.
   

 


 I have this in /etc/passwd :

 _ftp:*:84:84:FTP Daemon:/var/empty:/sbin/nologin


 I have not been appending it as root in system but I think that this user is
 created by default / by instalation/ or not?

 Thanks in advance!
   
oh, you're doing it with vsftpd, but yes, i think you must create a ftp user



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-25 Thread Christopher Bianchi
Alexander Hall wrote:
 Christopher Bianchi skrev:
 Hello everyone. My situation is this:
 i've a laptop, a Sharp pc-ax10 with Windows 2000 preinstalled , without
 cdrom, floppy. I wish install OpenBSD on it. Naturally bios can't boot
 from USB.
 So i've thinked to boot the bsd.rd , but how ? The faq explain the
 procedure from an older OpenBSD operating system... i've Windows 2000
 on it.

 Is it possible ? and if is possible, in which way ? Where i must put the
 bsd.rd and in which way i can boot from him ?

 If all other booting possibilities were unavailable, I'd try this
 (though I cannot say for sure it'd work):

 first:

 BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP
 BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP

 (well no, I would probably not, but it's strongly recommended)

 and then,


 - make room for bsd partition with e.g. Partition Magic.

 - create a primary partition (of any type) to use for the OpenBSD
 install. You'll probably have to change the type to A6 in fdisk during
 the OpenBSD install.

 - create a virtual machine in vmware that uses the physical disk and a
 virtual cdrom (with mounted installXX.iso). Install openbsd carefully
 TO THE FREE'D PARTITION ONLY - do NOT ``use the entire disk for
 openbsd''!

 (Yes, this requires some fiddling with fdisk manually, but having a
 Windows tool creating the partition with the right offset and size
 helps a lot - then you only need to change the type).

 - After the installation is done, copy the mbr (as per the FAQ
 mentioned earlier in the thread) to the windows machine via network,
 usb stick, whatever.

 - Throw the mbr into 'C:\openbsd.mbr' and fix C:\boot.ini (FAQ too).

 - Boot your favourite os

 and don't forget:

 BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP
 BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP


 cheers
 /Alexander


oh thanks, but i've resolved simply pulling out the hard disk :-) but
thanks for the possible solution, when i will have some time,i'll try
test it !



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-16 Thread Christopher Bianchi
nikolai wrote:
 Hello everyone. My situation is this:
 i've a laptop, a Sharp pc-ax10 with Windows 2000 preinstalled , without
 cdrom, floppy. I wish install OpenBSD on it. Naturally bios can't boot
 from USB.
 So i've thinked to boot the bsd.rd , but how ? The faq explain the
 procedure from an older OpenBSD operating system... i've Windows 2000 on
 it.

 Is it possible ? and if is possible, in which way ? Where i must put the
 bsd.rd and in which way i can boot from him ?

 I've tried google, but nothing :-(

 Thanks for the attention

 Christopher Bianchi


 

 Christopher,

 Check out http://www.openbsd.org/faq/faq4.html#Multibooting,
 the Windows NT/2000/XP NTLDR section.
 Worked perfectly for me on W2K.

 --
  Nick


   
thanks to all, i've resolved pulling out the hard disk...simply way ! thanks



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Christopher Bianchi
Steve Shockley ha scritto:
 Christopher Bianchi wrote:
 Thanks for the attention Nick, but 1) i can't boot from pxe ( damn Sharp
 ) and 2) i wish an elegance solution without pull out the hard disk. 
 Thanks

 What would you do if you had to reload Windows 2000?  I've never seen
 a PC that could only boot from the hard drive.


The situation is this: this notebook can boot from cdrom and floppy,
yes..but from docking station ! i haven't docking station ! Desperate :-(



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Christopher Bianchi
ropers ha scritto:
 On 10/10/2007, Christopher Bianchi [EMAIL PROTECTED] wrote:
   
 Nick Guenther ha scritto:
 
 On 10/10/07, Christopher Bianchi [EMAIL PROTECTED] wrote:

   
 Hello everyone. My situation is this:
 i've a laptop, a Sharp pc-ax10 with Windows 2000 preinstalled , without
 cdrom, floppy. I wish install OpenBSD on it. Naturally bios can't boot
 from USB.
 So i've thinked to boot the bsd.rd , but how ? The faq explain the
 procedure from an older OpenBSD operating system... i've Windows 2000 on 
 it.

 Is it possible ? and if is possible, in which way ? Where i must put the
 bsd.rd and in which way i can boot from him ?

 I've tried google, but nothing :-(

 Thanks for the attention

 
 Can your BIOS boot from the network (PXE)? If you can set up a PXE
 server with pxeboot as the boot image then you can boot that way.

 Alternatively you can pull out the hard drive, plug it into a
 different computer or a USB-to-IDE converter, install there, and then
 put it back.

 -Nick


   
 Thanks for the attention Nick, but 1) i can't boot from pxe ( damn Sharp
 ) and 2) i wish an elegance solution without pull out the hard disk.  Thanks
 

 DISCLAIMER: I'm talking out my arse here, and I don't know if what
 you're hoping to do is even possible. That said, here are my thoughts
 on the matter:

 (1) The only way to hand off control from one operating system to
 another operating system is to make a program run exclusively (not
 preemptively multitasked (
 http://en.wikipedia.org/wiki/Preemption_%28computing%29#Pre-emptive_multitasking
 )) and with full access to the entire computer, including all of the
 memory (ie. outside of memory protection (
 http://en.wikipedia.org/wiki/Memory_protection )).

 (a) To use unix terminology, you would need to start the system in
 single user mode ( http://en.wikipedia.org/wiki/Single_user_mode ),
 and then you would need a program that can load the OpenBSD kernel and
 hand off control to it. In some very rare cases, programs like this do
 exist. I remember (unsuccessfully) trying to install NetBSD on an old
 Apple PowerBook 145B many moons ago. Because the firmware (ie. the
 BIOS) of this Motorola 68K based laptop did not support loading a
 non-Apple OS, the solution there was to load Mac OS 6 or 7.whatever,
 and then run a Mac OS program that would seize control of the entire
 machine and load NetBSD. (This would have worked, except that my
 machine had too little RAM and HDD space.) The old Mac OS was not a
 proper preemtive multitasking OS w/ memory-protection; and writing a
 program to load another OS from it was only possible because of these
 limitations. Windows 2000 however is built on NT (OS/2) technology and
 has memory protection and preemtive multitasking. No a program like
 that old NetBSD boot loader cannot exist for Windows. However, a kind
 of single user mode does exist for Windows 2000, it's called the
 recovery console ( http://support.microsoft.com/kb/229716 ). However,
 the recovery console is sadly not installed by default; you can either
 boot it from the Windows 2000 install CDs (which you say you can't
 boot), or it can be installed by running winnt32.exe /cmdcons.
 However, if the recovery console isn't already installed, then the
 Windows 2000 installation files probably aren't on your HDD either,
 and you'd then need to run winnt32.exe /cmdcons from the Windows
 2000 install CD (which, again, you say you can't access). Even if you
 have the recovery console installed, I have no clue how to get custom
 programs installed into it. This might be extra hard to do, because,
 to quote Wikipedia: [The Recovery Console] is independent of the
 (...) operating system. And, to quote Annoyances.org: The Recovery
 Console looks like DOS, but it isn't DOS. I don't know if even a
 single non-MS program for the recovery console exists. That probably
 means that a BSD loader program that you could run from the recovery
 console is a (big fat opium-) pipe dream at best.

 (b) However, Windows OSes have a reputation of being not the most
 secure of operating systems. Hypothetically speaking, if you knew a
 kernel exploit and or virus/trojan that would allow you to insert
 arbitrary code for exclusive execution deep into the windows kernel,
 then you could theoretically use that type of vulnerability to write a
 BSD loader. Your best bet there may be to insert your boot loader
 early in the NT boot process by somehow patching either Ntdetect.com,
 NTLDR, or ntoskrnl.exe. (Cf. http://en.wikipedia.org/wiki/Ntoskrnl.exe
 , http://en.wikipedia.org/wiki/NTLDR , and
 http://en.wikipedia.org/wiki/Ntdetect.com .) This would of course
 quite possibly also wreck your Windows 2000 installation, except if
 the inserted code somehow presented the user a boot menu to select
 whether to load the BSD kernel or continue to load Windows. The way
 I've followed IT news for a while, I am fairly sure that no such
 program currently exists. I am unsure how

Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Christopher Bianchi
Craig Skinner ha scritto:
 Christopher Bianchi wrote:
 The situation is this: this notebook can boot from cdrom and floppy,
 yes..but from docking station ! i haven't docking station ! Desperate
 :-(

 Can it boot from a USB floppy?


in the bios there aren't any voices for boot from usb... so i assume
that this notebook can't boot in this way :-(



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Christopher Bianchi
Peter N. M. Hansteen ha scritto:
 Christopher Bianchi [EMAIL PROTECTED] writes:

   
 Mmm i've tried qemu, but i wish install really OpenBSD on it. I've a
 pcmcia but this notebook can't boot from it. 
 

 As Craig pointed out, if the machine has a USB port it's likely it can
 boot from USB floppy.

   
really ?  but in the bios i not see any voices about it...anyway i'll try.



How can i boot a bsd.rd from windows 2000 ?

2007-10-10 Thread Christopher Bianchi
Hello everyone. My situation is this:
i've a laptop, a Sharp pc-ax10 with Windows 2000 preinstalled , without
cdrom, floppy. I wish install OpenBSD on it. Naturally bios can't boot
from USB.
So i've thinked to boot the bsd.rd , but how ? The faq explain the
procedure from an older OpenBSD operating system... i've Windows 2000 on it.

Is it possible ? and if is possible, in which way ? Where i must put the
bsd.rd and in which way i can boot from him ?

I've tried google, but nothing :-(

Thanks for the attention

Christopher Bianchi



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-10 Thread Christopher Bianchi
Nick Guenther ha scritto:
 On 10/10/07, Christopher Bianchi [EMAIL PROTECTED] wrote:
   
 Hello everyone. My situation is this:
 i've a laptop, a Sharp pc-ax10 with Windows 2000 preinstalled , without
 cdrom, floppy. I wish install OpenBSD on it. Naturally bios can't boot
 from USB.
 So i've thinked to boot the bsd.rd , but how ? The faq explain the
 procedure from an older OpenBSD operating system... i've Windows 2000 on it.

 Is it possible ? and if is possible, in which way ? Where i must put the
 bsd.rd and in which way i can boot from him ?

 I've tried google, but nothing :-(

 Thanks for the attention
 

 Can your BIOS boot from the network (PXE)? If you can set up a PXE
 server with pxeboot as the boot image then you can boot that way.

 Alternatively you can pull out the hard drive, plug it into a
 different computer or a USB-to-IDE converter, install there, and then
 put it back.

 -Nick

   

Thanks for the attention Nick, but 1) i can't boot from pxe ( damn Sharp
) and 2) i wish an elegance solution without pull out the hard disk.  Thanks

Chris