Re: delete user in group script

2010-12-14 Thread Leonardo Rodrigues
Ok! Here goes my contribution to this thread! # $1=group # $2=user cd /etc cat ./group \ | sed '/'$1'/ s/'$2'//' \ | sed '/'$1'/ s/,,/,/' \ | sed '/'$1'/ s/,$//' \ | sed '/'$1'/ s/:,/:/' group.new mv /etc/group.new /etc/group chown root.wheel /etc/group chmod

Re: Donations

2010-12-10 Thread Leonardo Rodrigues
To paraphrase Benjamin Franklin (an american! diplomat!): Any society that would give up a little liberty to gain a little security will deserve neither and lose both.

Doubts about dynamic forwarding and traffic queueing

2010-12-07 Thread Leonardo Rodrigues
Hello everyone, I'm trying to come up with a solution for the following scenario, and its answer still eludes me... An user sets up an SSH connection (using flags -N -D) with dynamic forwarding enabled (for web surfing, git, messenger, etc), to an OpenBSD machine. That machine runs PF and

Re: Nobreak

2010-10-06 Thread Leonardo Rodrigues
This link could help you: https://calomel.org/nut_ups.html On Sun, Oct 3, 2010 at 3:49 AM, SJP Lists sjp.li...@flashbsd.net wrote: On 2 October 2010 02:16, Henning Brauer lists-open...@bsws.de wrote: * Gregory Edigarov g...@bestnet.kharkov.ua [2010-09-30 16:13]: nut is in ports, though I

Re: 4.7 CDs arrived in Colorado

2010-04-28 Thread Leonardo Rodrigues
Humm... will packages for 4.7 be available now on FTP, since people are already getting their pre-order cd sets? On Wed, Apr 28, 2010 at 1:46 AM, Ted Roby ted.r...@gmail.com wrote: On Tue, Apr 27, 2010 at 7:33 PM, Mark Zimmerman markz...@frii.com wrote: Not much to say, except Thanks and

Re: 4.7 CDs arrived in Colorado

2010-04-28 Thread Leonardo Rodrigues
and WooHoo! I'll have mine as soon as priority mail gets it from there to here! On Wed, Apr 28, 2010 at 11:38:30AM -0300, Leonardo Rodrigues wrote: Humm... will packages for 4.7 be available now on FTP, since people are already getting their pre-order cd sets? Nope, unless they change the way

Re: Brazil resellers of OpenBSD - Tempo Real?

2010-04-20 Thread Leonardo Rodrigues
I used to buy official OpenBSD sets there, but I remember trying to buy a set a couple of months ago, and I couldn't find any. Actually, their website isn't even working (www.temporeal.com.br) and there are reports on some forums that the physical store has closed. Meh =( On Mon, Apr 19, 2010 at

OpenSSH exploit... or not?

2009-07-20 Thread Leonardo Rodrigues
For information... http://seclists.org/fulldisclosure/2009/Jul/0279.html

Re: OpenBSD server with samba and openldap

2009-05-15 Thread Leonardo Rodrigues
Hi, I've set up an OpenBSD PDC server for a client, serving some 40 computers, and did not encounter that performance issue you mentioned. I did not use OpenLDAP, relying instead on tdbsam and unix accounts. It runs OpenBSD 4.4 with samba from packages. Also, as some have mentioned, some

Re: Multiboot OpenBSD with Vista

2009-05-15 Thread Leonardo Rodrigues
It's really good to know that there's someone working recently on bringing Wine to OpenBSD. It really isn't a trivial port =( On Fri, May 15, 2009 at 4:42 PM, Daniel Ouellet dan...@presscom.net wrote: Lars Nooden wrote: I've not see a port of WINE to OpenBSD for some time, but it'd be worth a

Re: Quick question about an PF user's guide example

2009-03-11 Thread Leonardo Rodrigues
the external interface. Does anyone has any ideas on how to accomplish such a setup? Leonardo Rodrigues

Quick question about an PF user's guide example

2009-03-10 Thread Leonardo Rodrigues
from 192.168.2.5 to any keep state queue traffic2_ext pass out on fxp0 from 192.168.5.5 to any keep state queue traffic3_ext Thanks for any ideas =) Leonardo Rodrigues

Re: Wine on OpenBSD

2009-01-04 Thread Leonardo Rodrigues
On Sun, Dec 28, 2008 at 02:28:58PM -0600, Austin English wrote: I've gotten around some of the issues, but am looking for the 'right' way to do so, rather than hacks. Check the ports/misc archives. There was an effort on porting wine, but it did not get very far. If I remember correctly,

Re: 4.4 arrives in Brazil

2008-12-06 Thread Leonardo Rodrigues
Great, thanks for letting us now. With the global financial crisis, the exchange rate got into a point that I just can't import it from ComputerShopCalgary. And R$99 is a great price =) 2008/12/2 Ricardo Augusto de Souza [EMAIL PROTECTED]: OpenBSD 4.4 arrives in Brazil.

Re: how to undelete?

2008-07-20 Thread Leonardo Rodrigues
recover the file. On Thu, Jul 10, 2008 at 4:04 AM, Janne Johansson [EMAIL PROTECTED] wrote: On Thu, 2008-07-10 at 03:40 -0300, Leonardo Rodrigues wrote: If I'm not mistaken, openbsd zeroes the data when you delete a file. I remember trying to recover a file and then receiving a 0Kb file =) I

Re: how to undelete?

2008-07-10 Thread Leonardo Rodrigues
If I'm not mistaken, openbsd zeroes the data when you delete a file. I remember trying to recover a file and then receiving a 0Kb file =) If you still want to try, you could try using the sleuth kit (available in ports) to recover something.

Re: Lastet supported jdk on OpenBSD

2008-05-21 Thread Leonardo Rodrigues
That too. And the plugin case is somewhat worse, since as far as I know, Sun still hasn't released the proper license for the browser plugin, so, no packages for it even on -current. As others pointed out, if you're running -current, you can already install the jdk or jre packages. On Wed, May

USB mouse does not work on Lenovo T61

2008-05-01 Thread Leonardo Rodrigues
Hi everyone, Just got a Thinkpad T61, and installed latest snapshot (08-04-29). Strangely enough, the lenovo usb mouse (2000dpi) that came with it doesn't work. When plugged in, these messages appear: uhub4: port 1, set config at addr 2 failed uhub4: device problem, disabling port 1 I've tried

Re: USB mouse does not work on Lenovo T61

2008-05-01 Thread Leonardo Rodrigues
Does it work in another machine, or on another os? Yes it does (tested on Windows XP). A cheap USB mouse works fine also. I'll try to test it on another Unix-like machine. This is strange. The mouse seems to be simple enough to work. What did Lenovo put on it?... So, if there's no software for

Re: OpenBSD 4.3 released May 1, 2008

2008-04-30 Thread Leonardo Rodrigues
Well, it should work if your snapshot is pre-4.3. The FAQ says that upgrades should work if your current release is minus one from the release you are upgrading to. Ok, so to clarify, I was running a snapshot on my macppc machine. I've been finding it a bit slow, but nice enough, bnut with

Re: Nvidia Quadro NVS 140M

2008-04-27 Thread Leonardo Rodrigues
Damnit, my T61 will arrive next week, and I didn't know how serious this issue was when I ordered the laptop =( I may be stuck with it, since Lenovo takes almost a month to deliver a laptop here in Brazil, and if I decide to change the motherboard, I wouldn't like to even think about the time it

Re: Nvidia Quadro NVS 140M

2008-04-26 Thread Leonardo Rodrigues
Do you mean basic support for the card or for 3D? Basic performance (no 3D) should be supported by Xorg`s nv driver. There seems to be some problems with that though (https://bugs.freedesktop.org/show_bug.cgi?id=14803).

Re: 4.3 song and lyrics and commentary

2008-04-11 Thread Leonardo Rodrigues
Yeah, that was a lng thread. Quite funny too hehe. It's good to see that the artwork is as good as ever =) Keep up the good job!

Re: Verify authenticity of installation files on mirrors?

2008-04-06 Thread Leonardo Rodrigues
Does buying the original CD sets count? On Sun, Apr 6, 2008 at 6:49 PM, Philipp Winter [EMAIL PROTECTED] wrote: Hi, I did not find a file on the OpenBSD mirrors which contains a digital signature for the 'MD5' files which are placed in the platformspecific directories (e.g.:

Re: OpenBSD Artwork BSD Licensed?

2008-03-23 Thread Leonardo Rodrigues
There's also a nice one that comes with the OpenBSD Audio CD. (great songs by the way!) On a side note, is there somewhere we can purchase some translucent wireframe blowfish stickers? I for one would love to have some of these and I'm sure others would too. -- An OpenBSD user... and

Re: openbsd game server

2008-03-20 Thread Leonardo Rodrigues
Err, could you be a bit more specific? I have managed to build some openbsd-based game servers in the past, like QuakeWorld, Quake3, Counter-Strike, and the likes. Keep in mind that some game server binaries are only available for Linux, so you will have to turn on linux emulation. On Thu, Mar

Re: What is our ultimate goal??

2008-02-17 Thread Leonardo Rodrigues
anything, instead, they give their code for free to whoever might find it useful. Is it so hard to understand that? Leonardo Rodrigues

Re: Authenticate squid in Active Directory

2008-02-08 Thread Leonardo Rodrigues
I'm not sure I fully understand: I was under the impression that NT, up to NT 4, used the PDC/BDC model, and W2K and later used AD. While the kernel-panic tutorial does seem to address using OpenBSD to handle logins to NT4-compatible domains (including logins to such domains from W2K/WXP

Re: Authenticate squid in Active Directory

2008-02-05 Thread Leonardo Rodrigues
Hummm, I wish I had seen this patch earlier. Anyway, when I need winbind, I just edit squid's Makefile and add winbind configure args... As Eduardo said, why not have a winbind flavor for the squid package? -- An OpenBSD user... and that's all you need to know =)

Re: mmap() on i386

2008-01-07 Thread Leonardo Rodrigues
I'm still running OpenBSD 4.1-generic and rtorrent 0.7.1 on a home server for months now, and I never really had any problems, except having to raise the limit on maxopen files. You could try checking yours with ulimit -n. If the problem is not that, then I'm clueless =( -- An OpenBSD user...

Re: Suggested PF Setup when using BitTorrent?

2008-01-05 Thread Leonardo Rodrigues
Maybe those watchdog timeouts have nothing to do with bittorrent, and are probably more related to nic problems. Have you tried running your torrent client with a different network card? On Jan 5, 2008 4:22 PM, Brian [EMAIL PROTECTED] wrote: Is there any suggested PF setup when using

Re: Real men don't attack straw men

2007-12-14 Thread Leonardo Rodrigues
The ports system may contain a general facility which could build and install any program. (I don't know if it does.) If so, I have nothing against that. But it certainly contains specific recipes for installing specific non-free programs. That's what I object to. I believe that what you

Re: Powered by obsd stickers and other stuff

2007-11-09 Thread Leonardo Rodrigues
Hey, nice job! Those are really good looking. I'll use that background puffy =) On Nov 9, 2007 9:18 PM, Iqigo Tejedor Arrondo [EMAIL PROTECTED] wrote: Hello all Some art, at slw spanish foul asymetric connection. The sources are xcf, at 1600x1200. Clarify that I am not a designer :)

Re: OpenBSD 4.2 release November 1, 2007

2007-10-31 Thread Leonardo Rodrigues
May the IPV6 Samurai rest in peace. We are all thankful for his work. And cheers to yet another release =) -- An OpenBSD user... and that's all you need to know =) Please, send private emails to [EMAIL PROTECTED]

Re: AMD Releases 900+ Pages Of GPU Specs

2007-09-12 Thread Leonardo Rodrigues
Could this lead to an implementation of a driver that is less evil, I mean that does not bypass kernel in order to mess around with registers etc? Or is this the design state of all video cards on the market? -- An OpenBSD user... and that's all you need to know =) Please, send private emails

Re: Show your appreciation and get your 4.2 DVD

2007-09-06 Thread Leonardo Rodrigues
There's a wireframe puffy sticker with the audio cd? Gotta buy one now :P Yes, I agree with Daniel Ouellet too. Buying the projects releases and merchandise really gives that nice warm and fuzzy feeling by knowing that you are supporting a project that has, in my opinion, great ideals. And

Re: Intel Core 2

2007-06-27 Thread Leonardo Rodrigues
http://www.geek.com/images/geeknews/2006Jan/core_duo_errata__2006_01_21__full.gif Show stopper Potentially Catastrophic Those are some warm and fuzzy words =) Geez, that's a whole lot of bugs... I never imagined that processors could be so bugged. Theo says that AMD is getting less helpful

Re: General Answers about OpenBSD

2007-06-09 Thread Leonardo Rodrigues
On 6/9/07, Peter J. Philipp [EMAIL PROTECTED] wrote: There is always issues with shit in this box. It's a constant drain on nerves, but for some reason I still do it. ? -- An OpenBSD user... and that's all you need to know =) Please, send private emails to [EMAIL PROTECTED]

Re: Laptop won't boot with latest i386 snapshot

2007-06-08 Thread Leonardo Rodrigues
Yes, it did solve the problem =) Thanks Artur. Seems that the new acpi code doesn't like my laptop. On 08 Jun 2007 09:21:19 +0200, Artur Grabowski [EMAIL PROTECTED] wrote: I don't think those are the problem though. Try disabling acpi instead. //art -- An OpenBSD user... and that's all

Re: Laptop won't boot with latest i386 snapshot

2007-06-08 Thread Leonardo Rodrigues
Pardon me but, isn't acpi and apm already enabled by default on yesterday's snapshot? acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP APIC SSDT acpitimer at acpi0 not configured acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGPB) acpiprt2 at acpi0: bus 2 (P2P_) acpiec at acpi0 not

Laptop won't boot with latest i386 snapshot

2007-06-07 Thread Leonardo Rodrigues
Hello list! After doing a fresh install of todays snapshot on my HP Pavilion ZV5000 laptop, the system doesn't boot anymore. When it gets on the line below, the CPU goes full speed (the fan goes full power) and the system seems to hang: Texas Instruments PCI1620 Misc rev 0x01 at pci2 dev 4

Re: Laptop won't boot with latest i386 snapshot

2007-06-07 Thread Leonardo Rodrigues
Thanks John! I had to disable ohci and ehci to succesfully boot the machine. Here's the dmesg: OpenBSD 4.1-current (GENERIC) #254: Thu Jun 7 00:24:55 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3.01 GHz

Re: bcw(4) is gone

2007-04-10 Thread Leonardo Rodrigues
Phew, what a load of animosity. I really hope humanity still has a chance. Now, regarding the bcw issue, let's leave this thread to die. Mistakes are meant to be forgiven, and life to be lived forwards =) -- An OpenBSD user... and that's all you need to know =)

Does anyone know a good file manager for OpenBSD?

2007-03-20 Thread Leonardo Rodrigues
Hello everyone =) So, the title says it all. Anyone know a nice download manager utility for OpenBSD? Something along the lines of downloader 4 X for linux, or maybe even something like flashget/getright from the Windows world. I get the feeling that a nice download manager is a rare sight in

RES: Script to sync pf rules for CARP fws

2006-11-14 Thread Leonardo Rodrigues de Mello
syncronization. Best Regards, -- #!/usr/local/bin/bash # Editpf.sh by Leonardo Rodrigues de Mello Copyright 2006 # [EMAIL PROTECTED] # Licensed under the terms of GNU GPL version 2. # FW1 is the master firewall, # from whom firewall 02

Re: OpenBSD as a PDC on a windows network

2006-11-02 Thread Leonardo Rodrigues
From what I've heard, Samba 4.0 will be able to fully replace an Active Directory PDC. Current Samba version (3.x) is only able to fully replace an NT-style PDC. On 11/2/06, Gustavo Rios [EMAIL PROTECTED] wrote: When you say about samba 4.0, you mean it can be used as a fully replacement for

Re: Is there a deluser equivalent in OpenBSD?

2006-10-29 Thread Leonardo Rodrigues
Thanks everyone for the input. I guess I'll stick to a little script then =) Though, it seems a bit strange that OpenBSD lacks something like that. I thought it was a given. -- An OpenBSD user... and that's all you need to know =)

Is there a deluser equivalent in OpenBSD?

2006-10-28 Thread Leonardo Rodrigues
Hello everyone, So, I'm trying to set up a samba server, and looking into the smb.conf, there's this command deluser that I can't find a similar one on OpenBSD to replace it. I need a tool that is able to delete a user from a group, by using the username and the group as arguments. I've looked

Re: Is there a deluser equivalent in OpenBSD?

2006-10-28 Thread Leonardo Rodrigues
The man page says rmuser only accepts an username as an argument... Thanks, but usermod (with -G arg) seems to only let me add users to a group or multiple groups, but not remove them . The man page, from what I could understand, also says nothing about removing users =( -- An OpenBSD user...

Re: Is there a deluser equivalent in OpenBSD?

2006-10-28 Thread Leonardo Rodrigues
Humm... From the man page of userdel(8): DESCRIPTION The userdel utility removes a user from the system, optionally removing that user's home directory and any subdirectories. So, it won't remove an user from a group, but an user from the entire system. No signs of removing from a

Re: Is there a deluser equivalent in OpenBSD?

2006-10-28 Thread Leonardo Rodrigues
Just edit the group itself, see /etc/group. Also take a look at usermod(8) again. -Nick First, thanks for the help everyone =) Actually, it wouldn't be practical to manually edit /etc/group. An userdel-like command is needed in the smb.conf of the samba server in order to graphically and

NOD32 Antivirus and OpenBSD?

2006-10-23 Thread Leonardo Rodrigues
good antivirus that I may consider? Thanks in advance, Leonardo Rodrigues -- An OpenBSD user... and that's all you need to know =)

Re: Looking to start developing OpenBSD

2006-07-26 Thread Leonardo Rodrigues
Would you please implement the C99 %a string format support that is missing in our libc? :DD I'd love if someone could do it =) Anyway, you could start by taking a look at the bug tracking system (http://www.openbsd.org/query-pr.html). *Plenty* of work to be done there. On 7/26/06, Nick Price

[OffTopic] AMD buys ATI

2006-07-24 Thread Leonardo Rodrigues
Quote: However, AMD believes that it will not morph into another Intel: Our approach is very different from Intel, said AMD spokesman Bubba Wolford. You really would be comparing apples to oranges. We are very much about an open approach. That includes opening up our chipset, our platforms and

Re: Samba

2006-07-13 Thread Leonardo Rodrigues
So, if anyone has a copy of that sync script, I'd be glad to have a copy too! Please e-mail me.

Re: BitTorrent too many files open

2006-05-30 Thread Leonardo Rodrigues
Try using rtorrents. Take a look at the man pages and give it a go. There's also another bittorrent client on /ports/net, but I forgot its name. But it has been mentioned here on the list somewhere... a quick search on the archives for bittorrent and you may find it. On 5/30/06, Greg Thomas

Re: Status of tomcat on OpenBSD

2006-05-29 Thread Leonardo Rodrigues
There are ports and packages for jakarta-tomcat. Latest version being v5.0. On 5/29/06, Jason Murray [EMAIL PROTECTED] wrote: Hello, just inquiring about the current state of tomcat on OpenBSD. I did a search on the list and the only resent mention of tomcat degenerated into a RoR sucks

Re: Firefox keeps crashing

2006-05-13 Thread Leonardo Rodrigues
Just adding some more info to the topic... I've had some problems while running Firefox (tried on elightenment and fvwm) on OpenBSD 3.8-release and OpenBSD 3.9-snapshot from around february-2006. It was painfully slow, and switching between tabs was like watching a turtle trying to run. However,

Re: OpenBSD's LIBC C99 missing %a string format support

2006-04-30 Thread Leonardo Rodrigues
I've been tinkering with the code a bit, and found a dirty workaround. I changed all the snprintf's and sscanf's calls using %a to %f. Things compiled and installed fine, and the app (window manager enlightenment dr17, code from CVS) seems to be working fine as far as I have tested, though I am

Re: Laptop HP Pavilion zv5445US and OpenBSD 3.8/3.9 (problems at boot sequence)

2006-04-23 Thread Leonardo Rodrigues
, Jacob Meuser [EMAIL PROTECTED] wrote: On Sun, Apr 23, 2006 at 03:46:50AM -0300, Leonardo Rodrigues wrote: Hello again misc! I'm dual-booting WindowsXP and OpenBSD on an HP Pavilion zv5445US (zv5000 series) and have been using OpenBSD 3.8 for quite some time now, but there's a little issue

Re: OpenBSD recommendations on HW

2006-04-10 Thread Leonardo Rodrigues
Here's a quote from the FAQ: Other manufacturers, such as Broadcom, Texas Instruments and Connexant have actively fought our attempts to develop free drivers for their products. We encourage you to respect their wishes by not buying their products. Realtek, Ralink, Atmel, and ADMtek make good

PF and MS RDP trouble (help!)

2006-04-09 Thread Leonardo Rodrigues
Hello everyone! I'm having a bit of trouble trying to access a Windows 2003 server that is behind an OpenBSD 3.9 -current firewall. From the LAN, I can remote access the 2k3 server easily, by just opening the mstsc and entering the machine's IP (192.168.0.1). The problem is, I want to access the

Re: PF and MS RDP trouble (help!)

2006-04-09 Thread Leonardo Rodrigues
a gateway to the 2k3 server after a maintenance session. Heh... life is hard ain't it? :) On 4/9/06, NetNeanderthal [EMAIL PROTECTED] wrote: On 4/9/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote: Hello everyone! I'm having a bit of trouble trying to access a Windows 2003 server that is behind

Re: Realtek RTL8201CL NIC support

2006-03-28 Thread Leonardo Rodrigues
the realtek part number is a PHY. Yep. The (in)famous wikipedia told me that. (http://en.wikipedia.org/wiki/PHYceiver) some references seem to suggest a tulip. you could try to see if this does anything (try both de(4) and dc(4) in your kernel), but no high hopes. I'll try it later when I

Realtek RTL8201CL NIC support

2006-03-27 Thread Leonardo Rodrigues
Hello guys! I've installed and configured OpenBSD 3.9 on an Asus P5RD1-VM motherboard (ATI Xpress 200), but was kind of sad when I found out that the onboard NIC Realtek RTL8201CL wasn't supported by OpenBSD. It has only two PCIs slots, but I need three working NICs on it... So I'd just like to

Re: Realtek RTL8201CL NIC support

2006-03-27 Thread Leonardo Rodrigues
Ooops, sorry for that. Completely forgot. Anyways, here it goes ;) OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz cpu0:

Re: Help compiling Squid with LDAP modules

2006-03-26 Thread Leonardo Rodrigues
OK, here it goes: Just to make sure I had all LDAP dependencies, I did a make, make install, on the openldap, login_ldap and mod_auth_ldap ports. Then, I added LDAP on --enable-basic-auth-helpers and added ldap_group on --enable-external-acl-helpers in the squid Makefile. Then I tried to compile

Help compiling Squid with LDAP modules

2006-03-25 Thread Leonardo Rodrigues
Hello guys. I'm trying to build the squid from ports with ldap modules. I've already enabled the flags in the makefile, and already compiled and installed the openldap-client and openldap-server for the libraries. But squid won't compile :( I've managed to compile it on another machine, running