Re: How to list available all hard disks in OpenBSD

2012-12-21 Thread Alexander Hall
Alexander Hall wrote: >On 12/21/12 04:17, Indunil Jayasooriya wrote: >> HI, >> >> I would like to know How to list available all hard disks in OpenBSD >? >> >> If I run below 2 commands, it will give an output. >> >> dmesg |grep wd0 >> >

Re: How to list available all hard disks in OpenBSD

2012-12-20 Thread Alexander Hall
On 12/21/12 04:17, Indunil Jayasooriya wrote: HI, I would like to know How to list available all hard disks in OpenBSD ? If I run below 2 commands, it will give an output. dmesg |grep wd0 fdisk wd0 If I install a new Hard Disk, How to get to know whether it is wd1 or anything eles? In Linu

Re: trivial with echo command

2012-12-18 Thread Alexander Hall
On 12/18/12 12:54, Marc Espie wrote: On Tue, Dec 18, 2012 at 12:02:15PM +0100, Marc Espie wrote: Is this theoretical, or is there an actual Makefile where this is a problem ? I'd rather NOT go through extra shell forking just for the sake of it. Also, echo -e is specific to ksh and NOT a posix

Re: trivial with echo command

2012-12-18 Thread Alexander Hall
Andres Perera wrote: >On Mon, Dec 17, 2012 at 7:07 PM, Alexander Hall >wrote: >> >> For scripting, echo is one of the commands I tend to avoid unless I >know the >> data is "safe", because of it's horrific argument parsing. >> >> I'

Re: trivial with echo command

2012-12-17 Thread Alexander Hall
On 12/18/12 00:20, Stuart Henderson wrote: On 2012/12/17 18:26, Andres Perera wrote: On Mon, Dec 17, 2012 at 6:13 PM, Stuart Henderson wrote: On 2012-12-17, sven falempin wrote: Hello misc readers, First, openBSD threads are awesome for debugging. The trivial topic, echo -ne "\x00" | nc XXX

Re: KSH command logged to syslog

2012-12-16 Thread Alexander Hall
Andres Perera wrote: >On Sun, Dec 16, 2012 at 7:10 AM, Paul de Weerd >wrote: >> On Sun, Dec 16, 2012 at 06:38:08AM -0430, Andres Perera wrote: >> | On Sun, Dec 16, 2012 at 5:47 AM, Paul de Weerd >wrote: >> | > On Sun, Dec 16, 2012 at 11:02:31AM +0100, David Coppa wrote: >> | > | > .profile can

Re: KSH command logged to syslog

2012-12-15 Thread Alexander Hall
Maximo Pech wrote: >I have found another possible solution, you can use script(1), calling >it >from the .profile of the user, with a line like this at the end of such >file: > >exec script > >Then you change the permissions of the .profile so that the user cannot >change it. You could also set t

Re: yubikey OTP, xlock(1) and /var/db/yubikey/`user`.ctr permissions

2012-12-05 Thread Alexander Hall
On 12/02/12 14:31, Andreas Bartelt wrote: > Hello, > > I've set up yubikey OTP authentication and also want to use it for > xlock(1) authentication. > > /var/db/yubikey has permissions 770 for root:auth. > > In case no `user`.ctr file exists in /var/db/yubikey at first login > via yubikey, it i

Re: [obsd] Re: ral(4) hard locks on 5.2

2012-11-26 Thread Alexander Hall
On 11/26/12 11:49, Jeremie Le Hen wrote: Alexander, On Mon, Nov 26, 2012 at 10:45:16AM +0100, Alexander Hall wrote: On 11/26/12 09:44, Jeremie Le Hen wrote: Hello, I have a Soekris net5501 in which I put a PCI Ralink wireless adapter. For months, I haven't used the wireless adapter

Re: ral(4) hard locks on 5.2

2012-11-26 Thread Alexander Hall
On 11/26/12 09:44, Jeremie Le Hen wrote: Hello, I have a Soekris net5501 in which I put a PCI Ralink wireless adapter. For months, I haven't used the wireless adapter -- it was using Ethernet -- at all and it worked like a charm (uptime > 100 days). For a few days, I have used it as an access

Re: Can I change ssh port forwardings on a active connection *non-interactively* ?

2012-11-15 Thread Alexander Hall
On 11/15/12 23:10, Manolis Tzanidakis wrote: Hello all, I want to send the '~C' escape to ssh followed by ie. '-L 1024:localhost:1024' from the active ssh connection's shell, non-interactively from a script. Is it possible? Or is there a better way to accomplish this? Without judging the reason

Re: softraid crypto error

2012-10-17 Thread Alexander Hall
On 10/15/12 11:46, Luis P. Mendes wrote: > Hi all, > > > This problem has been recurrent. Last time I could get eitheen days of > uptime until I had to hard reboot and then check and correct the filesystem. > > The message displayed is: > """ > gahcio: stopping the port, softreset slot 31 was st

Re: IBM System x3100 M4 - panic

2012-10-12 Thread Alexander Hall
On 10/12/12 22:23, Jiri B wrote: On Fri, Oct 12, 2012 at 03:19:34PM -0300, Walter Souza wrote: RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO. DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDI

Re: the idea of /fastboot ?

2012-10-11 Thread Alexander Hall
On 10/11/12 22:27, Nick Holland wrote: On 10/11/2012 01:15 PM, Илья Шипицин wrote: 2012/10/11 Jiri B On Thu, Oct 11, 2012 at 09:29:50PM +0600, Ð?лÑ?Ñ? ШипиÑ?ин wrote: there are http access logs for half an year. this is a trivial case where using multiple file systems works wo

Re: grep options - man page vs behaviour

2012-10-10 Thread Alexander Hall
On 10/11/12 06:31, Ted Unangst wrote: On Wed, Oct 10, 2012 at 18:44, F Bax wrote: The grep man page does not mention that -[num] behaves the same as -C[num]; or if it does, I didn't see it? Behavior supported for compatibility reasons isn't always documented if it's not the preferred way of do

Re: Outdated #SendmailDNS FAQ entry?

2012-09-25 Thread Alexander Hall
On 09/26/12 01:07, Philip Guenther wrote: On Tue, Sep 25, 2012 at 3:30 PM, Alexander Hall wrote: I had a problem with sendmail not honoring /etc/hosts. What problem are you trying to solve that makes you want to use /etc/hosts? e.g., "I need to ignore a bogus MX entry for a specific

Outdated #SendmailDNS FAQ entry?

2012-09-25 Thread Alexander Hall
Hi, I had a problem with sendmail not honoring /etc/hosts, and after some googeling I found my way back to the Fine FAQ of ours, stating the following: [ http://www.openbsd.org/faq/faq10.html#SendmailDNS ] If you wish to query the hosts file before DNS servers, create a /etc/mail/servi

Re: no output from /etc/daily

2012-09-22 Thread Alexander Hall
On 09/22/12 20:45, Robert Connolly wrote: Hello. For several days I have not been getting mail from /etc/daily, including when I run it manually. /var/log/security.out* are empty. Unless there are security related "issues" detected, it should be. What could cause this? Maybe - VERBOSESTA

Re: Bad malloc (?)

2012-09-02 Thread Alexander Hall
On 09/02/12 14:42, Kenneth R Westerback wrote: On Sun, Sep 02, 2012 at 02:27:57PM +0200, rustyBSD wrote: Le 01/09/2012 19:59, Kenneth R Westerback a ?crit : On Sat, Sep 01, 2012 at 07:19:25PM +0200, rustyBSD wrote: Hi, in /usr/src/sbin/scsi/scsi.c line 225, why is the malloc not checked ? ...

Re: More sensible and consistent rc.conf.local

2012-08-25 Thread Alexander Hall
On 08/25/12 21:08, Robert wrote: On Sat, 25 Aug 2012 18:55:00 +0200 Mikkel Bang wrote: Hello! Is there a way to make my rc.conf.local more sensible and consistent, i.e. not pf=YES sshd="" named_flags="" but rather pf=YES sshd=YES named=YES? You may still want to be able to pass special

Re: OpenSMTPD getting closer to stable ;-)

2012-08-21 Thread Alexander Hall
People replying to this, please don't keep up the cross-posting, but choose tech@ OR misc@. Or start a new thread. /Alexander On 08/20/12 23:01, Gilles Chehade wrote: Dear misc@ and tech@, We are getting closer to a stable version of OpenSMTPD and now would be the perfect time for you to sta

Re: Shellscript escaping problem

2012-08-04 Thread Alexander Hall
Philip Guenther wrote: >On Fri, Aug 3, 2012 at 9:35 PM, David Diggles >wrote: >... >> here's an example of how not to script rsync, when just starting >> to learn how to script >> >> it got over complicated over time. i should rewrite it sometime :) >... > >I guess I don't understand the point

Re: Shellscript escaping problem

2012-08-02 Thread Alexander Hall
On 08/02/12 23:34, Matthew Dempsky wrote: On Thu, Aug 2, 2012 at 2:21 PM, Martijn Rijkeboer wrote: RSYNC_CMD="/usr/local/bin/rsync -v -n \ --rsync-path='rsync sudo' \ This doesn't do what you think it does. The single quotes are getting literally passed to rsync, they're not reinterpret

Re: Broken pfctl ..... ? I not understand my

2012-07-23 Thread Alexander Hall
On 07/23/12 23:31, hvom .org wrote: HI I'm problem with pfctl and the syntax. Line error is : *block in quick on msk0 proto tcp port ssh* * pfctl -nf /etc/pf.conf * is broken, no exit pfctl seems to do its job, so it's not broken. also, it does exit. if not, provide proof. My book

Re: Broken pfctl ..... ? I not understand my

2012-07-23 Thread Alexander Hall
On 07/23/12 23:31, hvom .org wrote: HI I'm problem with pfctl and the syntax. Line error is : *block in quick on msk0 proto tcp port ssh* * pfctl -nf /etc/pf.conf * is broken, no exit My book is update is 15/05/2012, the site web update is 19/05/2012. One soluce, please ? Cordialy

Re: bsd.rd anonymous ftp login broken?

2012-07-12 Thread Alexander Hall
Should be fixed now. /Alexander On 07/12/12 11:50, Alexander Hall wrote: I'm looking into this. There seems to be a quoting issue, since the "anonymous" default should be in brackets, while now it seems to be part of the question instead. thx, Alexander On 07/11/12 21:55,

Re: bsd.rd anonymous ftp login broken?

2012-07-12 Thread Alexander Hall
I'm looking into this. There seems to be a quoting issue, since the "anonymous" default should be in brackets, while now it seems to be part of the question instead. thx, Alexander On 07/11/12 21:55, Jan Stary wrote: Trying to reinstall with the current i386/bsd.rd. All goes well until I actu

Re: Help neede for 'pkgin'

2012-07-10 Thread Alexander Hall
You might want to ask on a NetBSD list instead... On 07/10/12 12:00, srimanta kundu wrote: Hello Sir, I have installed netBSD 5.1.2 via VMWare Player. But I cannot use the 'pkgin' command there. It is shown the command not found. Please tell how can get that command in my netBSD? After install

Re: mojibake

2012-07-01 Thread Alexander Hall
On 07/01/12 19:00, Anthony J. Bentley wrote: ropers writes: This diff fixes things: --- bsdcan11-mandoc-openbsd.html2012-06-30 22:18:52.0 +0200 +++ bsdcan11-mandoc-openbsd.html.newentities2012-06-30 22:34:58.0 +0200 @@ -13,7 +13,7 @@ http://www.flickr.com/photos/t

Re: OpenBSD's webpage desing

2012-06-26 Thread Alexander Hall
Chris Bennett wrote: >On Tue, Jun 26, 2012 at 06:59:28PM -0300, Christiano F. Haesbaert >wrote: >> If you really wanna improve that, I'd suggest reworking the same >> webpage, but making it possible for people with vision impairment to >> use it more effectively, I've been told that there are a s

Re: Mounting a partition, cdrom, usb as a user

2012-06-16 Thread Alexander Hall
Mik J wrote: >Hello, > >I'm able to mount a partition as a user if I have >kern.usermount=1 ># >ls -l /dev/wd2* >brw-rw  1 root  operator    0,   0 May  7 21:54 /dev/wd2a ># ls -l /mnt >drwxrwxr-x   2 myuser  operator  512 May  7 22:38 extpart >and ># >grep operator /etc/group >operator:*:5:r

Re: let user can only run one command (passwd)?

2012-06-14 Thread Alexander Hall
On 06/14/12 13:09, Nick Holland wrote: On 06/14/12 06:00, f5b wrote: I have setup OpenSMTPD + dovecot + roundcube simple mail server. People can ssh log in to the OpenBSD box, change their password using command passwd, the system account password is also the mail account password. So, for sec

Re: let user can only run one command (passwd)?

2012-06-14 Thread Alexander Hall
On 06/14/12 17:48, Nick Holland wrote: On 06/14/2012 08:55 AM, Kevin Chadwick wrote: sshd_config ChrootDirectory not suit our needs. Why doesn't it suit your needs (time to work out how to do it?), you could just use a locked down file permission system perhaps even including secondary groups.

Re: fw_update

2012-05-09 Thread Alexander Hall
On 05/09/12 22:55, Johan Ryberg wrote: For me as well. Maybe someone needs to read more careful and just don't push enter all the way. While that's a natural thought nowadays, it's not the case here; $ cvs log -r1.654 install.sub /.../ OPENBSD_5_1: 1.655.0.2 OPENBSD_5_1_BASE: 1

Re: Ftpd chroot in a user folder name

2012-05-08 Thread Alexander Hall
Wesley wrote: Thank you very much for your explanation. I understand better. I finally use sftp using this in the file /etc/ssh/sshd_config : ... Match User site1 ChrootDirectory /var/www/htdocs/website1 ForceCommand internal-sftp PasswordAuthentication yes Match User site2 ChrootDirectory /va

Re: authorized_keys and security(8)

2012-05-03 Thread Alexander Hall
Alexander Hall wrote: >On 05/04/12 00:06, Mike Erdely wrote: >> On Thu, May 3, 2012 at 5:43 PM, Alexander Hall >wrote: >>> I'm not sure about this. The check in security is there for a >reason. If you >>> want to bypass it, it might be better to have to do

Re: authorized_keys and security(8)

2012-05-03 Thread Alexander Hall
On 05/04/12 00:06, Mike Erdely wrote: On Thu, May 3, 2012 at 5:43 PM, Alexander Hall wrote: I'm not sure about this. The check in security is there for a reason. If you want to bypass it, it might be better to have to do it manually. The inconsistancy is annoying though, as i

Re: authorized_keys and security(8)

2012-05-03 Thread Alexander Hall
On 05/03/12 21:05, Mike Erdely wrote: On Thu, May 03, 2012 at 02:48:14PM -0400, Mike Erdely wrote: FYI: For a test, I added "foo" with useradd(8) and "bar" with adduser(8): # grep -E "(foo|bar)" /etc/master.passwd foo:*:1002:1002::0:0::/home/foo:/bin/ksh bar:*:1003:1003::0:0:bar:/hom

Re: Why does the ports system delete distfiles?

2012-04-26 Thread Alexander Hall
On 04/26/12 08:31, Marc Espie wrote: > On Wed, Apr 25, 2012 at 11:34:24PM -0400, Alan Corey wrote: >> I've seen this before, I wonder if there's some environment variable >> I can set to stop it? > > Nope. > >> I try make fetch on a port, it fails due to a bad site. I hit >> Ctrl-C to stop it, i

Re: Why does the ports system delete distfiles?

2012-04-25 Thread Alexander Hall
Alan Corey wrote: >I've seen this before, I wonder if there's some environment variable I >can set to stop it? > >I try make fetch on a port, it fails due to a bad site. I hit Ctrl-C >to >stop it, it goes to the next site and downloads the file. Then it >deletes >the file when it finishes.

Re: fdisk flag bootable partition during install

2012-04-24 Thread Alexander Hall
Erling Westenvik wrote: >Please ignore and forgive my obviously unforgivable ignorance: > >I wanted to test a snapshot of OpenBSD 5.1 on my ThinkPad T500 which >runs 5.0 Release. I decided to overwrite the Windows 7 installation >which I never use anyway. fdisk(8) before installation was more or

Re: OpenBSD 5.1 SSD

2012-04-14 Thread Alexander Hall
On 04/14/12 20:38, Laurence Rochfort wrote: Hi, I'm considering purchasing a domestic SSD for my laptop. Does OpenBSD 5.1 support SSDs and the TRIM command if needed? As already said; yes and no, respectively. It matters little though, but if you're really concerned about the missing TRIM su

Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort

2012-04-14 Thread Alexander Hall
MERIGHI Marcus wrote: >hello Gilles, > >gil...@poolp.org (Gilles Chehade), 2012.04.14 (Sat) 20:18 (CEST): >> On Sat, Apr 14, 2012 at 07:48:24PM +0200, MERIGHI Marcus wrote: >> > hello (opensmtpd-) folks, >> > >> > I think OpenSMTPd aborts delivery to multiple aliased recipients as >soon >> > as

Re: manual about jobs control

2012-04-11 Thread Alexander Hall
f5b wrote: >In OpenBSD we can use commands like "jobs" "fg" or something else, but >why "man jobs" "man fg" not work? > >and are there anything about "jobs control" in the base Manual? Yup. man $SHELL

Re: OpenBSD and Apache

2012-03-20 Thread Alexander Hall
Kevin Chadwick wrote: >On Tue, 20 Mar 2012 14:29:48 -0300 >Friedrich Locke wrote: > >> Dear list members, >> >> i have just installed my openbsd box and would like to configure my >> server to handle http requests. I would like to set apache to spawn >at >> most 10 processes and each handle at m

Re: Strange sshd + /etc/nologin behaviour

2012-03-15 Thread Alexander Hall
"AndrC) S." wrote: >> Indeed, it seems v. 1.251 of session.c got it wrong. >> >> Can you see if this helps? >> >> /Alexander >> >> >> Index: session.c >> === >> RCS file: /cvs/src/usr.bin/ssh/session.c,v >> retrieving revision 1.

Re: Strange sshd + /etc/nologin behaviour

2012-03-14 Thread Alexander Hall
On 03/14/12 22:04, "AndrC) S." wrote: > After some more testing I dare to say that this whole /etc/nologin-thing > in conjunction with ssh can be considered buggy. > > Some users get the contents printed before their session is > disconnected, some users don't. To be honest, I don't really care >

Re: remotely provide entropy

2012-03-13 Thread Alexander Hall
Torsten Valentin wrote: >Hi! > >I have a couple of machines that run as VM and are lacking good entropy >data. I was wondering if there is a way of feeding the local random >number pool of a VM with entropy that was generated on a hardware >random >number generator on a physical machine. > >I tho

Re: SSH, root can repeat commands with up arrow, others cannot

2012-03-11 Thread Alexander Hall
On 03/11/12 20:43, Chris Bennett wrote: This started for me a while back. Login as root, I can repeat older commands with up down arrows. History command shows history. su -l otheruser Cannot use up down arrows to access history. History command shows correct history. Login remotely as otherus

Re: rsync screams about read-only filesystem

2012-03-08 Thread Alexander Hall
On 03/05/12 21:24, Jiri B wrote: OK I agree I was very vague, mostly because I have thought it must be very obvious PEBKAC. Sorry. Well, here is as much info as I collected. The goal of the script below is to synchronize in memory filesystem directories to USB stick. Some lines are just to prin

Re: locate weirdness

2012-01-13 Thread Alexander Hall
On 01/13/12 13:50, Fritz Wuehler wrote: Spoke the self-proclaimed guru: Upgrading is a rule of this list. It cannot get anymore simple than that. So you're saying OpenBSD and Windows are really the same? No need to actually diagnose problems just upgrade. Whatever it is is fixed in the curren

Re: locate weirdness

2012-01-13 Thread Alexander Hall
On 01/13/12 14:47, Otto Moerbeek wrote: On Fri, Jan 13, 2012 at 08:38:37AM -0500, Kenneth R Westerback wrote: On Thu, Jan 12, 2012 at 03:28:37PM +0100, Fritz Wuehler wrote: Hey Henning, off-topic diatribes? coming to this mailing list asking for help about a 4 year old release when it is cle

Re: Install without the DNS domain name from DHCP

2012-01-12 Thread Alexander Hall
On 01/12/12 18:18, ropers wrote: On 12 January 2012 13:33, wrote: BTW, what seems to work is: supersede domain-name "."; Makes sense, because the . means root (i.e. the domain name root), which incidentally is why http://www.openbsd.org./ also works. Not incidentally. Intentionally. It ex

Re: system crashed recently: uvm_fault ( 0xe33d7ea0,0x0,0,3) ->e

2011-12-15 Thread Alexander Hall
On Thu, 15 Dec 2011 11:31:40 +0800, "co...@tetrachina.com" wrote: > Hi, > > OpenBSD 4.1 as firewall crashed sometimes recently everyday ,and the > debug messages are like that: > > uvm_fault ( 0xe33d7ea0,0x0,0,3) -> e > kernel:page fault trap,code=0 > stopped at pipe_create+ 0x16: Mo

Re: pdksh typeset

2011-12-13 Thread Alexander Hall
On 12/09/11 10:05, Paul de Weerd wrote: echo does this. echo "$x $y" Well, for the record, it has little to do with `echo' per se. This is merely normal shell argument parsing. Same thing would happen with print, printf, banner, ... /Alexander Paul 'WEiRD' de Weerd On Fri, Dec 09, 2011 at

Re: Giving java apps more memory

2011-11-21 Thread Alexander Hall
On 11/19/11 05:27, John Tate wrote: There is no manpage for ulimit. It's in ksh(1) (and I'd suspect in other shell's man pages too)

Re: dhclient, resolv.conf

2011-10-22 Thread Alexander Hall
On 10/23/11 00:08, Jan Stary wrote: On Oct 22 04:41:56, Philippe Meunier wrote: Kenneth R Westerback wrote: If you are using dhclient, then /etc/resolv.conf is not really a configuration file. Unless your machine runs its own DNS server. Just out of curiosity, what would be an example situa

Re: Delete just one alias from an interface

2011-10-20 Thread Alexander Hall
On 10/20/11 21:48, Alexander Hall wrote: On 10/20/11 18:43, ML mail wrote: Hi, I have an interface with a few IP aliases and I would like to remove just one single alias IP without affecting any other aliases. Which command would I use for that? ifconfig delete Would this be correct? It

Re: Delete just one alias from an interface

2011-10-20 Thread Alexander Hall
On 10/20/11 18:43, ML mail wrote: Hi, I have an interface with a few IP aliases and I would like to remove just one single alias IP without affecting any other aliases. Which command would I use for that? ifconfig delete Would this be correct? It would work. ifconfig delete would be even m

Re: vlan and pf

2011-10-20 Thread Alexander Hall
On 10/20/11 20:08, James A. Peltier wrote: - Original Message - | Hi folks, | | does openbsd firewall handle vlan interfaces ? | | Thanks in advance. | | []s, | | Gustavo Nope sorry! man vlan, man ifconfig (search for VLAN) ;) # cat /etc/hostname.vlan300 vlan 300 vlandev em1 and man

Re: secure.out log file

2011-10-17 Thread Alexander Hall
On 10/17/11 07:09, Matt wrote: Hello @misc: I just began recieving the following warnings in my secure.out log file: Disk is user /tmp/_secure.0XNOPxQASm/_secure5, group matches, permissions +Binary. Disk is user /tmp/_secure.0XNOPxQASm/_secure5, group matches, permissions +Binary. Disk is us

Re: cd and run app from rc.local

2011-10-06 Thread Alexander Hall
On 10/06/11 15:17, Steve wrote: Hi, Can someone please point me in the right direction. I am trying to start a ruby rails app from rc.local by calling a script. The script simply changes directory and executes the app The script works outside of rc.local I understand this is probably unix 101

Re: Problem with installing OpenBSD

2011-09-29 Thread Alexander Hall
On 09/29/11 04:07, Sales - OrangeWebsite.com wrote: Hey, We are experiencing problem with installing OpenBSD on our VPS servers. We'd hope you provided us some assistance how we could fix this. You can see our VPS details here at http://www.orangewebsite.com/docs/vps.php. http://www.openbsd.or

Re: Latest ThinkPad model fully compatible with OpenBSD out of the box?

2011-09-23 Thread Alexander Hall
On 09/22/11 19:11, Paul Irofti wrote: On Thu, Sep 22, 2011 at 09:12:11AM -0700, James Hozier wrote: What's the latest ThinkPad that OpenBSD can be installed on, and have everything functional without having to tweak any special "Everything" is a strong word here... settings within OpenBSD?

Re: ksh: bad number (with leading zeroes) should not work for 0 - 7

2011-09-15 Thread Alexander Hall
On 09/15/11 23:24, Abel Abraham Camarillo Ojeda wrote: On Thu, Sep 15, 2011 at 4:19 PM, Pascal Stumpf wrote: On Thu, Sep 15, 2011 at 12:06:14PM +, Thorsten Glaser wrote: Abel Abraham Camarillo Ojeda verlet.org> writes: Some of our shell scripts that work with dates and do something lik

Re: Expected throughput in an OpenBSD virtual server

2011-08-22 Thread Alexander Hall
On 08/22/11 10:59, Per-Olov Sjvholm wrote: Q: What is the most annoying thing in e-mail? Rants.

Re: Reconfiguration for 'chrome' browser broke login capability

2011-08-22 Thread Alexander Hall
On 08/22/11 06:03, Damon Getsman wrote: > Alright, so restoring the contents of /etc/login.conf has, indeed, fixed my > ability to login via whatever means and use sudo. Quite honestly I don't > know how all of those lines got deleted from it, unless I left it open in > vim and the cat jumped on t

Re: Recovery FFS formatted partition

2011-08-18 Thread Alexander Hall
On 08/17/11 23:30, Pablo Velasco Fernandez wrote: Hi all. Its possible to recovery a FFS partition? During my last OpenBSD installation I format by mistake my second hard disk with all my videos, texts, pictures etc... Thank you for you attention. I chime in with the testdisk/phootrec choir. I

Re: inetd_flags in rc.conf

2011-08-15 Thread Alexander Hall
On 08/15/11 19:58, David Walker wrote: Hey folks. I installed a snapshot from a day or so ago: OpenBSD 5.0 GENERIC#39 So things change but this doesn't seem to work any more for inetd ... http://www.openbsd.org/cgi-bin/cvsweb/src/etc/rc.conf.diff?r1=1.141;r2=1.142 This doesn't look right: # se

Re: openssh client question

2011-08-10 Thread Alexander Hall
On 08/10/11 09:45, Aggelis Aggelis wrote: Problem: Was there really one? ;-) i am sitting in an openbsd box (A.A.A.A) logged in as userA and i want to ssh to an openbsd box (B.B.B.B) as userB This can be accomplished with [userA@boxA]$ ssh -l userB B B.B.B.B and i will be asked the passwo

Re: amd64 snapshot kqemu hangs

2011-08-08 Thread Alexander Hall
On 08/08/11 03:59, ropers wrote: On 8 August 2011 03:54, Philip Guenther wrote: On Sun, Aug 7, 2011 at 6:46 PM, ropers wrote: On 7 August 2011 01:06, Philip Guenther wrote: You see that ddb{1}> prompt that I'm quoting from *your* original email? That's the prompt of the built-in kernel de

Re: spamdb [-t] -x hours -a keys

2011-07-30 Thread Alexander Hall
I'm not personally interested in this, but your mailer broke the diff. Fix and resend if you want serious feedback on this. /Alexander On 07/30/11 14:51, Emilio Lucena wrote: Hi, I've been using OpenBSD spamd for a while now and I find it really great. One feature I wanted to try was the abi

Re: sed behavior

2011-06-15 Thread Alexander Hall
On 06/15/11 08:35, Otto Moerbeek wrote: > On Wed, Jun 15, 2011 at 07:44:20AM +0200, Otto Moerbeek wrote: > >> On Tue, Jun 14, 2011 at 11:56:27PM +0200, sven falempin wrote: >> >>> Hello, >>> >>> Indeed there is a small problem: >>> >>> # echo 'abf' | sed -E 's/[a$]/x/g' >>> xbb

Re: sed behavior

2011-06-15 Thread Alexander Hall
On 06/15/11 08:58, Alexander Hall wrote: > On 06/15/11 08:35, Otto Moerbeek wrote: >> On Wed, Jun 15, 2011 at 07:44:20AM +0200, Otto Moerbeek wrote: >> >>> On Tue, Jun 14, 2011 at 11:56:27PM +0200, sven falempin wrote: >>> >>>> Hello, >>>&g

Re: sed behavior

2011-06-15 Thread Alexander Hall
On 06/15/11 08:35, Otto Moerbeek wrote: > On Wed, Jun 15, 2011 at 07:44:20AM +0200, Otto Moerbeek wrote: > >> On Tue, Jun 14, 2011 at 11:56:27PM +0200, sven falempin wrote: >> >>> Hello, >>> >>> Indeed there is a small problem: >>> >>> # echo 'abf' | sed -E 's/[a$]/x/g' >>> xbb

Re: sftp bug?

2011-06-14 Thread Alexander Hall
On 06/15/11 05:34, Corey wrote: > On 06/14/2011 04:52 AM, LEVAI Daniel wrote: >> Hi! >> >> >> Uploading a directory recursively fails if it doesn't exist on the >> remote site: >> >> sftp> put -r nonexistent\ directory/ >> Uploading nonexistent directory/ to /tmp/nonexistent directory >> Couldn't

Re: httpd virtualhost ip

2011-06-12 Thread Alexander Hall
On 06/12/11 11:01, Bambero wrote: > Hello > > I have many IP and IP based virtualhost configured. > > My hostname.em0 looks like this: > inet 123.456.789.66 255.255.255.224 > inet alias 123.456.789.67 255.255.255.224 > inet alias 123.456.789.68 255.255.255.224 > inet alias 123.456.789.70 255.255.

Re: I don't get where the load comes from

2011-06-03 Thread Alexander Hall
On 06/03/11 16:10, Alexander Hall wrote: > On 06/02/11 02:31, Corey wrote: >> On 06/01/2011 10:16 AM, Christiano F. Haesbaert wrote: >>>> >>>> I had tinkered with a solution for this: >>>> Cron wakes up a minute before the batch run is scheduled to run

Re: I don't get where the load comes from

2011-06-03 Thread Alexander Hall
On 06/02/11 02:31, Corey wrote: > On 06/01/2011 10:16 AM, Christiano F. Haesbaert wrote: >>> >>> I had tinkered with a solution for this: >>> Cron wakes up a minute before the batch run is scheduled to run. >>> Cron will >>> then copy a random 4kb sector from the hard disk to RAM, then run >>> eit

Re: Firewall PF with network alias

2011-05-25 Thread Alexander Hall
my private reply to a mailing list. I do not care much for this particular mail, but just don't do that. > --- El lun, 23/5/11, Alexander Hall escribis: 3. Also (please read this again as THIS ANNOYS ME THE MOST): > 2. Don't cross-post. Cheers, Alexander

Re: Creating release using site48.tgz

2011-05-10 Thread Alexander Hall
On 05/10/11 11:16, Henning Brauer wrote: > * Andrew Fresh [2011-05-10 02:20]: >> On Mon, May 09, 2011 at 04:59:17PM -0700, Stefan N wrote: >>> Are my steps correct? >> >> Close, but install sets are created in /usr/release > > no. they are created in $RELEASEDIR. this is the first time i see > /u

Re: Help finding file-analysis tool?

2011-05-03 Thread Alexander Hall
On 05/02/11 23:50, Dave Anderson wrote: > Sorry to bother you all, but I'm failing miserably at searching for a > tool to help analyze the structure of arbitrary files (prefereably one > which runs on OpenBSD). > > I've got a device which exports data in a undocumented format and the > only progra

Re: pf: set skip option

2011-04-12 Thread Alexander Hall
On 04/11/11 23:48, Alexander Hall wrote: > On 04/11/11 23:34, Matt S wrote: >> Hello Everyone: >> >> I am using 4.8 RELEASE. Given the following pf.conf, would anyone be able >> to >> tell me why gre0 is not being skipped? >> >> set skip on lo >

Re: pf: set skip option

2011-04-11 Thread Alexander Hall
On 04/11/11 23:34, Matt S wrote: > Hello Everyone: > > I am using 4.8 RELEASE. Given the following pf.conf, would anyone be able to > tell me why gre0 is not being skipped? > > set skip on lo > set skip on gre0 > set skip on enc0 You need to combine them, or they override each other. set skip

Re: PHP mod for Apache

2011-03-01 Thread Alexander Hall
On 03/01/11 18:32, Starchie iMz wrote: > Using find maybe? > > Eg : find /usr/local -name '*.so' | grep php Not unless he had already installed the package...

Re: OT: Risks of CAs (Re: Your web development opinions)

2011-02-24 Thread Alexander Hall
On 02/24/11 17:50, Chris Bennett wrote: >> http://www.startssl.com/ >> Why pay if you can have one for free trusted by every major browser? >> Sure, the "class 2" ones are pay-for, but the free one works as well as >> a self-signed one (except for the "CA sells out like paypal" idea, which >> I adm

Re: is SHA256 file used or not ?

2011-02-08 Thread Alexander Hall
On 02/08/11 22:06, Alexander Hall wrote: > On 02/08/11 19:29, patric conant wrote: > >> I like the idea of a misc@ man page, think of all the typing that could be >> saved with RTFM@MP. Ah. _man_ page. not _web_ page. well, nm. /Alexander >> > > Lo and beho

Re: is SHA256 file used or not ?

2011-02-08 Thread Alexander Hall
On 02/08/11 19:29, patric conant wrote: > I like the idea of a misc@ man page, think of all the typing that could be > saved with RTFM@MP. > Lo and behold! The future is already here! http://marc.info/?l=openbsd-misc ;-)

Re: nat static-port option

2011-02-06 Thread Alexander Hall
On 02/06/11 21:16, Martin Schrvder wrote: > 2011/2/6 VICTOR TARABOLA CORTIANO : >> No, that's _CHINA_ (people). Or Russia (size). > > You think the VR china is a democracy? I only saw "republic" being mentioned. Not democracy.

Re: .xsession never finishes

2011-01-26 Thread Alexander Hall
On 01/26/11 14:39, Ed Ahlsen-Girard wrote: > Recently .xsession began to take much longer to finish. Upgrading to > the 25 Jan snapshot has not changed this. I don't know how long it > takes anymore, because I can't wait 5+ minutes every time I log in. > > The selected background color does disp

Re: putting "/tmp" to memory

2011-01-24 Thread Alexander Hall
On 01/24/11 20:42, Alexander Hall wrote: > On 01/23/11 14:47, kellyremo wrote: >> "to memory" means: mounting a ~2 GByte filesystem [ tmpfs?, or ramfs? ], and >> put the "/tmp" on it. [ e.g.: 4 GByte ram in the pc ]. what to write in the >> "/et

Re: putting "/tmp" to memory

2011-01-24 Thread Alexander Hall
On 01/23/11 14:47, kellyremo wrote: > "to memory" means: mounting a ~2 GByte filesystem [ tmpfs?, or ramfs? ], and > put the "/tmp" on it. [ e.g.: 4 GByte ram in the pc ]. what to write in the > "/etc/fstab"? > > I would like to collect the [ answers too:P ]: > > Advantages: > - Memory is

Re: '\$' or '#' must appear in PS1 in order to be properly exported as root?

2011-01-11 Thread Alexander Hall
On 01/06/11 23:10, Ezequiel Garzsn wrote: > Greetings. This is my first post to the OpenBSD community, so please > let me know if I'm in the wrong list, this is just too basic or any > other faux pas. > > Under the default ksh, the default /root/.profile and indeed a > completely fresh 4.8 install

Re: reasoning behind default primary group being user

2011-01-01 Thread Alexander Hall
On 12/31/10 14:31, Joel Rees wrote: > Okay, that's dated after the freeze for 4.8, so this is not just a PPC issue. > Okay, that's dated after the freeze for 4.8? so this is not just a PPC issue. > And it's taken care of already. FWIW, distrib/miniroot/install.sh is not machine dependant.

Re: delete user in group script

2010-12-15 Thread Alexander Hall
This must be the most horrible thread ever in terms of scripting and sh/ksh (ab)use I've ever seen. Please, folks, don't consider using anything posted in this thread, or god will start killing kittens. On 12/14/10 12:31, OpenBSD Geek wrote: > Hi, > > After posted many requests on how to remove

Re: openssl chat

2010-12-15 Thread Alexander Hall
On 12/12/10 17:47, S Mathias wrote: > i can use "natively" openssl for anonymous chat: > > # Chat: > # server side: > openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out > mycert.pem > > # server side - generate a self-signed cert. > openssl s_server -accept 52310 -cert m

Re: Erased Files Recovery

2010-11-26 Thread Alexander Hall
On 11/26/10 16:43, Antoine Jacoutot wrote: > On Fri, 26 Nov 2010, Predrag Punosevac wrote: > >> Dear All, >> >> Sorry for this hasty e-mail. I have a Thanksgiving emergency here. >> Namely, my wife has accidentally erased all the pictures from her >> Sony camera (FAT 16 file system). Can anybody p

Re: OpenBSD EOF characer?

2010-11-18 Thread Alexander Hall
Even should this not be trolling, its still not a very interesting topic for misc@openbsd.org readers. Please ask questions like this elsewhere. /Alexander On 11/18/10 17:45, Joy Puglisi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm learning C and this is the program: > > #in

Re: net.inet.tcp sysctl's

2010-11-06 Thread Alexander Hall
On 11/06/10 16:22, Tomas Bodzar wrote: > The same is true for new rc scripts for ports. When > someone has some in rc.local then system tries to start them with new > interface and after that they are started in old way They will only be started by the the new rc.d stuff iff they are added to $rc

Re: suggestion for a new/additional OpenBSD release media option

2010-10-31 Thread Alexander Hall
On 10/31/10 23:05, bsdmas...@hushmail.com wrote: >> then this is a bad idea, and a poor use of your time. > > [... sorry your highness, didn't mean to offend ...] > >> You understand your user/customer base infinitely better >> than I do. > > [... and I'd love your infinite manhood deep up my

<    1   2   3   4   5   6   7   8   >