Limit Command
Hi I want to limit some command to particular user. Like user can only use ls command. Can you please give me an example how to set that please? Please forgive me if the question is not appropriate. Thank you very much in advance -- View this message in context: http://www.nabble.com/Limit-Command-tf2664017.html#a7429446 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Install jailkit python not found
Hi I am trying to install jailkit from http://olivier.sessink.nl/jailkit/ However when i run ./configure it come back to me python is not found. But there is python2.4 in my machine. So can you please tell me what i should do? Is there a misunderstand the name of python? Thank you very much Best regard Maverick -- View this message in context: http://www.nabble.com/Install-jailkit-python-not-found-tf2664165.html#a7429809 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Disable rsh or not?
Hi i am trying to secure my OpenBSD. I am quite new to OpenBSD so i am reading the book Mastering FreeBSD And OpenBSD Security It said Your rsh/rlogin daemons (that for some crazy reason you didn't disable yet) will now permit root logins from any system with no password Is that mean i should disable rsh ? Or disable rlogin ? If one of them so can you please tell me how can i do it? Thanks a lot Best regard Maverick -- View this message in context: http://www.nabble.com/Disable-rsh-or-not--tf2660269.html#a7420083 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Problem when apply 001_httpd.patch
Hi i am trying to apply the 001 patch What i have done is cd /usr/src patch -p0 001_httpd.patch and i come back to me as: Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Apply by doing: | cd /usr/src | patch -p0 001_httpd.patch | |And then rebuild and install httpd and its modules: | cd usr.sbin/httpd | make -f Makefile.bsd-wrapper obj | make -f Makefile.bsd-wrapper cleandir | make -f Makefile.bsd-wrapper depend | make -f Makefile.bsd-wrapper | make -f Makefile.bsd-wrapper install | -- View this message in context: http://www.nabble.com/Problem-when-apply-001_httpd.patch-tf2603928.html#a7265560 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: Problem when apply 001_httpd.patch
Oop The rest of the post is gone :-( The thing that i got back after patch -p0 001_httpd.patch is this Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Apply by doing: | cd /usr/src | patch -p0 001_httpd.patch | |And then rebuild and install httpd and its modules: | cd usr.sbin/httpd | make -f Makefile.bsd-wrapper obj | make -f Makefile.bsd-wrapper cleandir | make -f Makefile.bsd-wrapper depend | make -f Makefile.bsd-wrapper | make -f Makefile.bsd-wrapper install | | |If httpd had been started, you might want to run | apachectl stop |before running make install, and | apachectl start |afterwards. | |Index: usr.sbin/httpd/src/main//http_protocol.c |=== |RCS file: /cvs/src/usr.sbin/httpd/src/main/http_protocol.c,v |retrieving revision 1.30 |retrieving revision 1.30.4.1 |diff -u -p -r1.30 -r1.30.4.1 |--- usr.sbin/httpd/src/main//http_protocol.c 11 Feb 2006 19:15:57 - 1.30 |+++ usr.sbin/httpd/src/main//http_protocol.c 1 Nov 2006 21:18:38 - 1.30.4.1 -- File to patch: I try the 003 patch but it happend to be the same sort of thing. Why do they ask me for the file to patch :( Can you please tell me what i have done wrong here? :-( Thanks you very much Andreas Maus-2 wrote: Hi. So whats your question/problem ? Andreas. On 11/9/06, Maverick [EMAIL PROTECTED] wrote: Hi i am trying to apply the 001 patch What i have done is cd /usr/src patch -p0 001_httpd.patch and i come back to me as: Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Apply by doing: | cd /usr/src | patch -p0 001_httpd.patch | |And then rebuild and install httpd and its modules: | cd usr.sbin/httpd | make -f Makefile.bsd-wrapper obj | make -f Makefile.bsd-wrapper cleandir | make -f Makefile.bsd-wrapper depend | make -f Makefile.bsd-wrapper | make -f Makefile.bsd-wrapper install | -- View this message in context: http://www.nabble.com/Problem-when-apply-001_httpd.patch-tf2603928.html#a7265560 Sent from the openbsd user - misc mailing list archive at Nabble.com. -- Hobbes : Shouldn't we read the instructions? Calvin : Do I look like a sissy? -- View this message in context: http://www.nabble.com/Problem-when-apply-001_httpd.patch-tf2603928.html#a7265976 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: Problem when apply 001_httpd.patch
Oop The rest of the post is gone :-( The thing that i got back after patch -p0 001_httpd.patch is this Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Apply by doing: | cd /usr/src | patch -p0 001_httpd.patch | |And then rebuild and install httpd and its modules: | cd usr.sbin/httpd | make -f Makefile.bsd-wrapper obj | make -f Makefile.bsd-wrapper cleandir | make -f Makefile.bsd-wrapper depend | make -f Makefile.bsd-wrapper | make -f Makefile.bsd-wrapper install | | |If httpd had been started, you might want to run | apachectl stop |before running make install, and | apachectl start |afterwards. | |Index: usr.sbin/httpd/src/main//http_protocol.c |=== |RCS file: /cvs/src/usr.sbin/httpd/src/main/http_protocol.c,v |retrieving revision 1.30 |retrieving revision 1.30.4.1 |diff -u -p -r1.30 -r1.30.4.1 |--- usr.sbin/httpd/src/main//http_protocol.c 11 Feb 2006 19:15:57 - 1.30 |+++ usr.sbin/httpd/src/main//http_protocol.c 1 Nov 2006 21:18:38 - 1.30.4.1 -- File to patch: I try the 003 patch but it happend to be the same sort of thing. Why do they ask me for the file to patch :( Can you please tell me what i have done wrong here? :-( Thanks you very much Joel Goguen wrote: I don't see an issue there. It looks like it applied properly. Follow the directions it printed out and see that it compiles and installs properly :) On 11/9/06, Maverick [EMAIL PROTECTED] wrote: Hi i am trying to apply the 001 patch What i have done is cd /usr/src patch -p0 001_httpd.patch and i come back to me as: Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Apply by doing: | cd /usr/src | patch -p0 001_httpd.patch | |And then rebuild and install httpd and its modules: | cd usr.sbin/httpd | make -f Makefile.bsd-wrapper obj | make -f Makefile.bsd-wrapper cleandir | make -f Makefile.bsd-wrapper depend | make -f Makefile.bsd-wrapper | make -f Makefile.bsd-wrapper install | -- View this message in context: http://www.nabble.com/Problem-when-apply-001_httpd.patch-tf2603928.html#a7265560 Sent from the openbsd user - misc mailing list archive at Nabble.com. -- Joel Goguen Bachelor of Computer Science III University of New Brunswick http://iapetus.dyndns.org/ -- View this message in context: http://www.nabble.com/Problem-when-apply-001_httpd.patch-tf2603928.html#a7265975 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Applying patch ?
Hi i am quite new to openbsd. I have download the patchs from the openbsd website and extract it. I run the command to fix the first bug patch 001_sendmail.patch However it taking more then 15 mins and still staying there. Is there any thing wrong with what i have been doing? What should i do to apply the patch for openbsd 3.9 Thanks you very much. Best regard -- View this message in context: http://www.nabble.com/Applying-patch---tf2536341.html#a7066168 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: Applying patch ?
Thanks a lot for the answer I have tried it but i have something after that as well # cd /usr/src # patch -p0 001_sendmail.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Apply by doing: | cd /usr/src | patch -p0 001_sendmail.patch | |And then rebuild and install sendmail: | cd gnu/usr.sbin/sendmail | make obj | make depend | make | make install | |Index: gnu/usr.sbin/sendmail/libsm/fflush.c |=== |RCS file: /cvs/src/gnu/usr.sbin/sendmail/libsm/fflush.c,v |retrieving revision 1.2 |diff -u -p -r1.2 fflush.c |--- gnu/usr.sbin/sendmail/libsm/fflush.c 1 Oct 2001 17:18:29 - 1.2 |+++ gnu/usr.sbin/sendmail/l Can you please tell me what i can i do with this? Greg Thomas-3 wrote: On 10/29/06, Maverick [EMAIL PROTECTED] wrote: Hi i am quite new to openbsd. I have download the patchs from the openbsd website and extract it. I run the command to fix the first bug patch 001_sendmail.patch However it taking more then 15 mins and still staying there. Is there any thing wrong with what i have been doing? What should i do to apply the patch for openbsd 3.9 It appears that you didn't read the first two lines of the patch: Apply by doing: cd /usr/src patch -p0 001_sendmail.patch Greg -- View this message in context: http://www.nabble.com/Applying-patch---tf2536341.html#a7067350 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: Applying patch ?
uppsss I am sorry I forgot to add the important bit. When i run patch -p0 001_sendmail.patch, it asked me for the file to patch. Can you please give me an example how to go that in sendmail patch? Thanks a lot for your help I do appreciate that. Joe S wrote: Maverick wrote: Thanks a lot for the answer I have tried it but i have something after that as well # cd /usr/src # patch -p0 001_sendmail.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Apply by doing: | cd /usr/src | patch -p0 001_sendmail.patch | |And then rebuild and install sendmail: | cd gnu/usr.sbin/sendmail | make obj | make depend | make | make install | |Index: gnu/usr.sbin/sendmail/libsm/fflush.c |=== |RCS file: /cvs/src/gnu/usr.sbin/sendmail/libsm/fflush.c,v |retrieving revision 1.2 |diff -u -p -r1.2 fflush.c |--- gnu/usr.sbin/sendmail/libsm/fflush.c 1 Oct 2001 17:18:29 - 1.2 |+++ gnu/usr.sbin/sendmail/l Can you please tell me what i can i do with this? You have applied the patch to the sendmail source code. Now you must rebuild and install sendmail. The output from the patch command tells you what to do: |And then rebuild and install sendmail: | cd gnu/usr.sbin/sendmail | make obj | make depend | make | make install Since you are new to OpenBSD, you should know that OpenBSD tells you how to do all of the important things. In other words, OpenBSD is very well documented. However, to be successful you must learn to find the documentation. In this case it was right under your nose. All/most patches will tell you how to apply them. Also check the OpenBSD FAQ. -- View this message in context: http://www.nabble.com/Applying-patch---tf2536341.html#a7070241 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Problem when mount USB to OpenBSD
Hi Can you please tell me how to fix this problem? Thanks a lot I am trying to mount a USB pen drive to OpenBSD. When i connect the usb to the computer there is no notice or lines appear. I run usbdevs and it return addr 1: UHCI root, hub ,Intel addr 2: USB MP3, vendor 0x0d7d addr 3: UHCI root, hub ,Intel addr 4: UHCI root, hub ,Intel So there is my usb pen i have tried mount -t msdos /dev/usb0 /mnt/usb and it return that block device required i tried disklabel usb0 it return back that there are 2 partition c and i and the i is the same size as c i is ms-dos type so i tried to mount -t msdos /dev/usb0i /mnt/usb and got the message No such file and directory -- View this message in context: http://www.nabble.com/Problem-when-mount-USB-to-OpenBSD-tf2504877.html#a6983796 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: Problem when mount USB to OpenBSD
Greg Thomas-3 wrote: On 10/24/06, Maverick [EMAIL PROTECTED] wrote: Hi Can you please tell me how to fix this problem? Thanks a lot I am trying to mount a USB pen drive to OpenBSD. When i connect the usb to the computer there is no notice or lines appear. I run usbdevs and it return addr 1: UHCI root, hub ,Intel addr 2: USB MP3, vendor 0x0d7d addr 3: UHCI root, hub ,Intel addr 4: UHCI root, hub ,Intel So there is my usb pen i have tried mount -t msdos /dev/usb0 /mnt/usb and it return that block device required i tried disklabel usb0 it return back that there are 2 partition c and i and the i is the same size as c i is ms-dos type so i tried to mount -t msdos /dev/usb0i /mnt/usb and got the message No such file and directory Hmmm, I thought USB drives showed up as SCSI? Isn't /dev/usb0 just the bus? At least I'm still doing the following: mount_msdos /dev/sd0i /mnt Also, in addition to usbdevs you should be providing a dmesg. Greg hi yeahhh it working Sorry i am a new bee to Unix in general. I having another question. Can we intall firefox in openbsd? -- View this message in context: http://www.nabble.com/Problem-when-mount-USB-to-OpenBSD-tf2504877.html#a6984204 Sent from the openbsd user - misc mailing list archive at Nabble.com.