Re: Webscraping exchange rates

2013-09-14 Thread Austin Hook
On Sat, 14 Sep 2013, Bryce Chidester wrote: > I'm using https://openexchangerates.org/ for > a project of mine. They even provide historical data. > > Regards, > Bryce Chidester Thanks for the tip. That would probably good although it seems a bit overkill to wo

Re: Webscraping exchange rates

2013-09-14 Thread Bryce Chidester
I'm using https://openexchangerates.org/ for a project of mine. They even provide historical data. Regards, Bryce Chidester On Sat, Sep 14, 2013 at 3:02 PM, Austin Hook wrote: > Anyone care to code a snippet for the OpenBSD orders processing? > > I could be a b

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jérémie Courrèges-Anglas
Jeffrey Walton writes: > On Sat, Sep 14, 2013 at 10:08 PM, Philip Guenther wrote: >> On Sat, Sep 14, 2013 at 7:00 PM, Jeffrey Walton wrote: >> ... >>> Yeah, I should have taken a screen capture. I don't use the mail >>> program too often (its been years since I've had to), so it was not a >>> p

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 10:08 PM, Philip Guenther wrote: > On Sat, Sep 14, 2013 at 7:00 PM, Jeffrey Walton wrote: > ... >> Yeah, I should have taken a screen capture. I don't use the mail >> program too often (its been years since I've had to), so it was not a >> priority. > > Screen capture? In

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Philip Guenther
On Sat, Sep 14, 2013 at 7:00 PM, Jeffrey Walton wrote: ... > Yeah, I should have taken a screen capture. I don't use the mail > program too often (its been years since I've had to), so it was not a > priority. Screen capture? In order to convey what was presumably a one line error message? If c

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread William Ahern
On Sat, Sep 14, 2013 at 07:42:46PM -0400, Jeffrey Walton wrote: > And 'usermod -G sudo jwalton' does not work, either. It errors with > "Can't append group sudo for user jwalton". > > This stuff really should not be this hard... > I'm going to go out on a limb here and guess that you really wan

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 9:47 PM, Marc Espie wrote: > On Sat, Sep 14, 2013 at 09:28:07PM -0400, Jeffrey Walton wrote: >> On Sat, Sep 14, 2013 at 9:20 PM, Brian McCafferty >> wrote: >> > On 09/14/13 18:41, Jeffrey Walton wrote: >> >> >> > >> > Just in case you didn't notice, when you first install

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 9:52 PM, Ted Unangst wrote: > On Sat, Sep 14, 2013 at 20:14, Jeffrey Walton wrote: > >> I really don't get why this shit is so f**k'ing difficult. How is >> running around with a root terminal open more secure than exec'ing one >> command under sudo??? > > I think you're go

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Ted Unangst
On Sat, Sep 14, 2013 at 20:14, Jeffrey Walton wrote: > I really don't get why this shit is so f**k'ing difficult. How is > running around with a root terminal open more secure than exec'ing one > command under sudo??? I think you're going to be in for a long day. It's not really very hard to dri

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Marc Espie
On Sat, Sep 14, 2013 at 09:28:07PM -0400, Jeffrey Walton wrote: > On Sat, Sep 14, 2013 at 9:20 PM, Brian McCafferty wrote: > > On 09/14/13 18:41, Jeffrey Walton wrote: > >> > > > > Just in case you didn't notice, when you first install you should have mail. > > $mail > > It will describe reading "

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 9:20 PM, Brian McCafferty wrote: > On 09/14/13 18:41, Jeffrey Walton wrote: >> > > Just in case you didn't notice, when you first install you should have mail. > $mail > It will describe reading "afterboot" and many other things, even an example > of adding the emacs packag

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Brian McCafferty
On 09/14/13 18:41, Jeffrey Walton wrote: I'm trying to add myself to sudoers. I used `su -` to get root, and then `adduser jwalton sudo`. Now I'm stuck a loop of: Enter username[]: When I try and add my name, I'm told its there. When I try to (no name), I looped back to the prompt. I have

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Juan Francisco Cantero Hurtado
On Sun, Sep 15, 2013 at 02:28:15AM +0200, Jérémie Courrèges-Anglas wrote: > Jeffrey Walton writes: > > > On Sat, Sep 14, 2013 at 7:08 PM, Martin Schröder wrote: > >> 2013/9/15 Jeffrey Walton : > >>> I wanted to add myself to the sudo group. > >> > >> man sudo > > It appears to lack information o

Re: font weirdness

2013-09-14 Thread Ed Ahlsen-Girard
> From: Alexander Polakov > Date: 2013-09-03 12:25:50 > Message-ID: 20130903122550.GA27589 () watashi ! plhk ! ru > > * Ed Ahlsen-Girard [130903 16:18]: > > Has anyone else noticed that some fonts are not displaying the right > > character? Some substitutions, some blanks? > > Yes.

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jérémie Courrèges-Anglas
Jeffrey Walton writes: > Thanks Shawn. Sorry to go offlist. > > So, I'm trying to do some initial testing. I'm on a MacBook with > OpenBSD in a VM. All I want to do is run my compiler over some source > files. Parallels? > MacBooks have a funky keyboard, and when I try to use visudo to move > t

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jérémie Courrèges-Anglas
Jeffrey Walton writes: > On Sat, Sep 14, 2013 at 7:08 PM, Martin Schröder wrote: >> 2013/9/15 Jeffrey Walton : >>> I wanted to add myself to the sudo group. >> >> man sudo > It appears to lack information on adding a user (I went through this > man page before asking the question). > > Then, I w

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
Thanks Shawn. Sorry to go offlist. So, I'm trying to do some initial testing. I'm on a MacBook with OpenBSD in a VM. All I want to do is run my compiler over some source files. MacBooks have a funky keyboard, and when I try to use visudo to move the cursor around, some of the arrow keys don't wor

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Kenneth R Westerback
On Sat, Sep 14, 2013 at 06:41:58PM -0400, Jeffrey Walton wrote: > I'm trying to add myself to sudoers. I used `su -` to get root, and > then `adduser jwalton sudo`. > > Now I'm stuck a loop of: > > Enter username[]: > > When I try and add my name, I'm told its there. When I try to > (no name)

Re: pms0: not in sync yet, discard input (state 3)

2013-09-14 Thread frantisek holop
hmm, on Sat, Sep 14, 2013 at 10:35:01PM +0200, Stefan Sperling said that > On Sat, Sep 14, 2013 at 05:02:03PM +0200, frantisek holop wrote: > > hi there, > > > > after upgrading to the september 10 snapshot, > > i am not able to use the touchpad. > > What were you running before upgrading to that

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread anton . super . computer
On Sat, Sep 14, 2013 at 07:42:46PM -0400, Jeffrey Walton wrote: > > man visudo > I don't know vi. I do known emacs, but its not on this system so I > can't edit /etc/sudo by hand. > > I tried to add emacs through pkg_add, but it appears broke. Surely > emacs has been ported to every *nix system in

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Shawn K. Quinn
On Sat, Sep 14, 2013, at 06:47 PM, Martin Schröder wrote: > 2013/9/15 Jeffrey Walton : > >> man visudo > > I don't know vi. I do known emacs, but its not on this system so I > > Then learn it. This is unix. > You really should use visudo to edit /etc/sudoers, not an editor. Note that you can conf

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Martin Schröder
2013/9/15 Jeffrey Walton : >> man visudo > I don't know vi. I do known emacs, but its not on this system so I Then learn it. This is unix. You really should use visudo to edit /etc/sudoers, not an editor. Best Martin PS: "su -" should also work.

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 7:08 PM, Martin Schröder wrote: > 2013/9/15 Jeffrey Walton : >> I wanted to add myself to the sudo group. > > man sudo It appears to lack information on adding a user (I went through this man page before asking the question). Then, I went to the web and landed on an overfl

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread William Ahern
On Sun, Sep 15, 2013 at 01:08:05AM +0200, Martin Schröder wrote: > 2013/9/15 Jeffrey Walton : > > I wanted to add myself to the sudo group. > > man sudo > man visudo > man adduser > man group > Are any of those directly useful for adding a group to a user's supplementary groups? I'd suggest user

Re: Webscraping exchange rates

2013-09-14 Thread Austin Hook
Yes, mostly for non-credit card orders. However, there are some credit card transactions that arrive in Euros or US$ that start at one of the donation links. Some orders are received with a request for quote in other currencies, to be paid by other means, when someone selects "pre-arranged"

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 7:11 PM, Kenneth R Westerback wrote: > On Sat, Sep 14, 2013 at 06:41:58PM -0400, Jeffrey Walton wrote: >> I'm trying to add myself to sudoers. I used `su -` to get root, and >> then `adduser jwalton sudo`. >> >> Now I'm stuck a loop of: >> >> Enter username[]: >> >> When

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 7:08 PM, Martin Schröder wrote: > 2013/9/15 Jeffrey Walton : >> I wanted to add myself to the sudo group. > > man sudo > man visudo > man adduser > man group Thanks Martin.

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Martin Schröder
2013/9/15 Jeffrey Walton : > I wanted to add myself to the sudo group. man sudo man visudo man adduser man group Best Martin

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
On Sat, Sep 14, 2013 at 6:56 PM, Alexander Hall wrote: > On 09/15/13 00:41, Jeffrey Walton wrote: >> >> I'm trying to add myself to sudoers. I used `su -` to get root, and >> then `adduser jwalton sudo`. > > What did you expect from that command? And why? I'd expect the user jwalton to be added to

Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Alexander Hall
On 09/15/13 00:41, Jeffrey Walton wrote: I'm trying to add myself to sudoers. I used `su -` to get root, and then `adduser jwalton sudo`. What did you expect from that command? And why? Now I'm stuck a loop of: Enter username[]: When I try and add my name, I'm told its there. When I try

How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?

2013-09-14 Thread Jeffrey Walton
I'm trying to add myself to sudoers. I used `su -` to get root, and then `adduser jwalton sudo`. Now I'm stuck a loop of: Enter username[]: When I try and add my name, I'm told its there. When I try to (no name), I looped back to the prompt. I have to break out with a ^C. After the ^C break

Re: sudo configuration !ttytickets?

2013-09-14 Thread Alexander Hall
On 09/12/13 02:59, Michael W. Lucas wrote: Hi, I've noticed that the sudo on OpenBSD seems to have !ttytickets set by default. In other words, I authenticate sudo once on, say, ttyp4, and all of my login sessions on all my other ttyp* have authenticated to sudo. This, well, kind of surprised me

Re: Webscraping exchange rates

2013-09-14 Thread patrick keshishian
On Saturday, September 14, 2013, Austin Hook wrote: > Anyone care to code a snippet for the OpenBSD orders processing? > > I could be a bit more efficient here if I didn't have to manually > enter latest exchange rates into our scripts from time to time. this is for non-credit card orders? becau

Webscraping exchange rates

2013-09-14 Thread Austin Hook
Anyone care to code a snippet for the OpenBSD orders processing? I could be a bit more efficient here if I didn't have to manually enter latest exchange rates into our scripts from time to time. If would be nice if we could get a rate for current date, and for any past date from: http://www.ban

US Paypal Donations Appears Broken

2013-09-14 Thread Jeffrey Walton
It appears the US donations area is broken. Following PayPal from http://www.openbsd.org/donations.html, I am taken to http://www.openbsdfoundation.org/donations.html. >From http://www.openbsdfoundation.org/donations.html, I select "US Donations" and then taken to PayPal. PayPal's site takes me

Re: sudo configuration !ttytickets?

2013-09-14 Thread Todd C. Miller
On Fri, 13 Sep 2013 12:44:45 +0200, Donovan Watteau wrote: > Am I right thinking that sudo in base is still vulnerable to > CVE-2013-1776 for those who enable tty_tickets? Yes, but the situation is no worse than with tty_tickets disabled. If you are really worried about this you can simply disabl

Re: pms0: not in sync yet, discard input (state 3)

2013-09-14 Thread Stefan Sperling
On Sat, Sep 14, 2013 at 05:02:03PM +0200, frantisek holop wrote: > hi there, > > after upgrading to the september 10 snapshot, > i am not able to use the touchpad. What were you running before upgrading to that snapshot? > console is full of: > pms0: not in sync yet, discard input (state 1) > p

Re: rcsfile(5)

2013-09-14 Thread Jérémie Courrèges-Anglas
Jason McIntyre writes: > On Sat, Sep 14, 2013 at 12:32:25PM -0600, Kyle R W Milz wrote: >> Hello misc@, >> >> Was reading through rcs manual pages and came across a reference to >> rcsfile(5) in the rcscan(1) and rcscmp(1) SEE ALSO sections however I >> can't seem to find it. >> >> Am I dense o

Re: rcsfile(5)

2013-09-14 Thread Kyle R W Milz
On Sat, Sep 14, 2013 at 08:11:44PM +0059, Jason McIntyre wrote: > On Sat, Sep 14, 2013 at 12:32:25PM -0600, Kyle R W Milz wrote: > > Hello misc@, > > > > Was reading through rcs manual pages and came across a reference to > > rcsfile(5) in the rcscan(1) and rcscmp(1) SEE ALSO sections however I >

Re: rcsfile(5)

2013-09-14 Thread Jason McIntyre
On Sat, Sep 14, 2013 at 12:32:25PM -0600, Kyle R W Milz wrote: > Hello misc@, > > Was reading through rcs manual pages and came across a reference to > rcsfile(5) in the rcscan(1) and rcscmp(1) SEE ALSO sections however I > can't seem to find it. > > Am I dense or is it missing? > none of these

Re: RdRand instruction - is it used by default?

2013-09-14 Thread David Coppa
On Sat, Sep 14, 2013 at 8:26 PM, Joe Gidi wrote: > Support for the RdRand instruction was added to i386 and amd64 a year ago > (see http://marc.info/?l=openbsd-cvs&m=134808609318790&w=2 ), but recent > events have called its trustworthiness into question: > > http://en.wikipedia.org/wiki/RdRand >

rcsfile(5)

2013-09-14 Thread Kyle R W Milz
Hello misc@, Was reading through rcs manual pages and came across a reference to rcsfile(5) in the rcscan(1) and rcscmp(1) SEE ALSO sections however I can't seem to find it. Am I dense or is it missing?

RdRand instruction - is it used by default?

2013-09-14 Thread Joe Gidi
Support for the RdRand instruction was added to i386 and amd64 a year ago (see http://marc.info/?l=openbsd-cvs&m=134808609318790&w=2 ), but recent events have called its trustworthiness into question: http://en.wikipedia.org/wiki/RdRand https://plus.google.com/117091380454742934025/posts/SDcoemc9V

Re: cvsync, rsync

2013-09-14 Thread hruodr
Marc Espie wrote: > I consider 1/2^128 to be *vanishingly small*. Christian Weisgerber mentions that a relative small range of the hash function would be a problem, but a big range is not enough: the whole depends on the hash function itself. But this would be a big discussion: in some context

Re: cvsync, rsync

2013-09-14 Thread Christian Weisgerber
wrote: > Does rsync suppose that a part of a file in the server is equal to > a part of a file in the client, if a hash value of these parts are > equal? Yes. > Does cvsync do the same? (Embarrassingly, I don't actually remember how cvsync works in detail.) > Is this reliable? In practice, y

Re: cvsync, rsync

2013-09-14 Thread Marc Espie
On Sat, Sep 14, 2013 at 04:13:41PM +, hru...@gmail.com wrote: > Is there an alternative for downloading the repository without the > conjecture? Use ftp. That way, you will get rid of those pesky 128 bits checksum, and only rely on your TCP/IP to be reliable. I'm pretty sure the built-in che

Re: cvsync, rsync

2013-09-14 Thread patric conant
This just in, all the data in the world successfully moved with rsync just a coincidence. On Sat, Sep 14, 2013 at 11:34 AM, Marc Espie wrote: > On Sat, Sep 14, 2013 at 04:13:41PM +, hru...@gmail.com wrote: > > Marc Espie wrote: > > > > > On Sat, Sep 14, 2013 at 03:09:48PM +, hru...@gma

Re: cvsync, rsync

2013-09-14 Thread Marc Espie
On Sat, Sep 14, 2013 at 04:13:41PM +, hru...@gmail.com wrote: > Marc Espie wrote: > > > On Sat, Sep 14, 2013 at 03:09:48PM +, hru...@gmail.com wrote: > > > > > A completely other thing is to conclude that two *arbitrary* pieces of > > > data are the same only because they have the same ha

Re: cvsync, rsync

2013-09-14 Thread hruodr
Marc Espie wrote: > On Sat, Sep 14, 2013 at 03:09:48PM +, hru...@gmail.com wrote: > > > A completely other thing is to conclude that two *arbitrary* pieces of > > data are the same only because they have the same hash. Arbitrary > > means here that the one was not a copy of the other. And th

Re: cvsync, rsync

2013-09-14 Thread Marc Espie
On Sat, Sep 14, 2013 at 03:09:48PM +, hru...@gmail.com wrote: > A completely other thing is to conclude that two *arbitrary* pieces of > data are the same only because they have the same hash. Arbitrary > means here that the one was not a copy of the other. And this is what > rsync seems to do

Re: cvsync, rsync

2013-09-14 Thread Kenneth R Westerback
On Sat, Sep 14, 2013 at 01:59:50PM +, hru...@gmail.com wrote: > Dear Sirs! > > I have a question, perhaps a little of-topic, but it arose as I > read about cvsync in openbsd web page. And OpenBsd people sure know > a lot about cryptography :) > > Does rsync suppose that a part of a file in th

Re: cvsync, rsync

2013-09-14 Thread hruodr
Kenneth R Westerback wrote: > People use cvsync or rsync to create/maintain a local copy or copies [...] > Not sure what your 'reliable' metrics are, but works for me. My question was not about what people do or if it works (till now) for you. It was about the algorithm. Is the algorithm corr

pms0: not in sync yet, discard input (state 3)

2013-09-14 Thread frantisek holop
hi there, after upgrading to the september 10 snapshot, i am not able to use the touchpad. console is full of: pms0: not in sync yet, discard input (state 1) pms0: not in sync yet, discard input (state 2) pms0: not in sync yet, discard input (state 3) attaching an external usb mouse helps, altho

Re: i386_set_ioperm and machdep.allowaperture

2013-09-14 Thread Jason McIntyre
On Tue, Sep 10, 2013 at 05:24:31PM +1000, Paul Kelly wrote: > Dear list, > > Here's a manpage diff for i386_get_ioperm(2) to reflect the > behaviour I have observed (see below diff). Please whack me with a > stick if I have made any obvious mistakes. > > diff below committed. mark kettenis advi

cvsync, rsync

2013-09-14 Thread hruodr
Dear Sirs! I have a question, perhaps a little of-topic, but it arose as I read about cvsync in openbsd web page. And OpenBsd people sure know a lot about cryptography :) Does rsync suppose that a part of a file in the server is equal to a part of a file in the client, if a hash value of these pa

thunar-settings

2013-09-14 Thread Richard Thornton
This file located in /usr/local/bin seems to prevent thunar from working properly on sparc64, when xfce is running under a user. When xfce is running under a root account, there is no problem. On amd64, there is no issue period. On my sparc box, I removed this file, and now thunar works properly.

Re: easy-rsa script for OpenVPN issue

2013-09-14 Thread James Griffin
* Predrag Punosevac [2013-09-13 17:14:22 -0400]: > Deal All, > > > I am trying to set up OpenVPN server at my work on the freshly installed > OpenBSD machine using a 5.4 snapshot from July 30 (i386) and the ports > tree fetched the same day. We must use OpenVPN so I am not interested > in alter

OT: YubiKey NEO OpenSSH Token Support

2013-09-14 Thread William Ahern
TL;DR http://25thandclement.com/~william/YubiKey_NEO.html This is slightly off-topic, but perhaps some people on this list would be interested in this. I've been waiting over a decade, and tonight I've finally found the smartcard promise land. By gods, I'll never have to d*ck around with OpenSC e