Re: doas tab completion

2024-07-30 Thread Alexander Hall
On July 30, 2024 8:03:45 AM GMT+02:00, Jason McIntyre wrote: >On Tue, Jul 30, 2024 at 12:42:04AM +0200, Alexander Hall wrote: >> In this specific case, I believe >> >> $ alias doas='doas ' # Note the space >> >> might have done the trick as well, f

Re: doas tab completion

2024-07-29 Thread Alexander Hall
In this specific case, I believe $ alias doas='doas ' # Note the space might have done the trick as well, for ksh at least. /Alexander On July 29, 2024 7:30:57 PM GMT+02:00, Robert Palm wrote: >Thanks a lot for sharing all this great solutions! > >Am 29. Juli 2024, 17:37, um 17:37, Stuart He

Re: time keeping fallback mechanics during reboot on octeon

2024-01-14 Thread Alexander Hall
I don't have mine (EdgeRouter lite) running anymore, but IIRC, I had a cron job poking the root fs to"resolve" this. Sth like "mkdir /bump && rmdir /bump && sync". /Alexander On January 12, 2024 2:35:47 PM GMT+01:00, Christian Gut wrote: >Hi, > >Could somebody point me to documentation or tel

Re: newfs /usr/local

2023-06-19 Thread Alexander Hall
On June 19, 2023 8:57:34 PM GMT+02:00, "Pau A.S." wrote: >Hello, > >I would like to newfs /usr/local > >I have copied the contents to a different partition as root. > >My guess is that I would have to bring up the system in single user mode. > >My problem is that when I do that, /usr/local doe

Re: OpenBSD on Thinkpad X13s ARM-based laptop

2023-06-02 Thread Alexander Hall
Search the archives for "support of thinkpad arm". This was asked just this Tuesday. /Alexander On June 1, 2023 10:46:33 PM GMT+02:00, "Tito Mari Francis Escaño" wrote: >Hi everyone, >Has anyone tried to install and run OpenBSD on ARM-based Thinkpad X13s? >What are the challenges on making Ope

Re: obsd install initial boot process slowed down

2023-01-06 Thread Alexander Hall
Hi Sylvain, [Cc: tech@ removed. Do not cross post.] While Nick and Stuart has assisted you with the question per se, I'd like to point out a totally non-technical issue that at least caused me a little confusion from the beginning: On Wed, Jan 04, 2023 at 07:13:23AM +0100, Sylvain Saboua wrote:

Re: Xterm copy-paste not happening on OpenBSD 7.1 i386.

2022-08-05 Thread Alexander Hall
On August 5, 2022 8:32:25 AM GMT+02:00, Brian Durant wrote: > > >On Thu, 4 Aug 2022, Alexander Hall wrote: > >> >> >> On August 4, 2022 5:42:13 PM GMT+02:00, Brian Durant >> wrote: >> > >> > >> >On Thu, 4 Aug 2022, Lucas

Re: Xterm copy-paste not happening on OpenBSD 7.1 i386.

2022-08-04 Thread Alexander Hall
On August 4, 2022 5:42:13 PM GMT+02:00, Brian Durant wrote: > > >On Thu, 4 Aug 2022, Lucas wrote: > >> Brian Durant wrote: >> > I have installed OpenBSD 7.1 i386 on my Lenovo T60 and am experiencing a >> > couple of issues. The first is related to the following addition that I >> > made to

Re: Switching from tcsh to ksh and Aliases exportation

2022-07-30 Thread Alexander Hall
On July 30, 2022 9:18:34 AM GMT+02:00, Federico Giannici wrote: >For historical reasons I always used the tcsh shell for my personal uses. Now >I'd like to switch to the system sh (actually ksh), but I have a problem. > >Usually, on the servers I manage, I switch to root with "su -m", so I ca

Re: doas and args matching

2022-07-29 Thread Alexander Hall
On July 28, 2022 9:06:51 PM GMT+02:00, Chris Narkiewicz wrote: >On Thu, Jul 28, 2022 at 03:08:19PM +0200, Alexander Hall wrote: >> Just leaving out the "args ..." from the config should accomplish that. > >It would allow the user to set any wscons parameters, whi

Re: doas and args matching

2022-07-28 Thread Alexander Hall
On July 28, 2022 5:09:54 AM GMT+02:00, Alexis wrote: > >Alexander Hall writes: > >> Better yet, the wrapper could be allowed with no argument restrictions >> and just do >> >> wsconsctl "display.brightness=$1" >> >> or even (may

Re: Blocking ARP packet for specific MAC

2022-07-27 Thread Alexander Hall
On July 27, 2022 9:23:36 AM GMT+02:00, Cristian Danila wrote: >[UPDATE] >The only possible solution that I have found for now is that >I have to create an vether interface, add it to the bridge and use >the filtered vether interface as main. So I would deduce(but >maybe I am wrong) that a sing

Re: doas and args matching

2022-07-27 Thread Alexander Hall
On July 26, 2022 1:48:24 PM GMT+02:00, Alexis wrote: > >Chris Narkiewicz writes: > >> Is it possible to match command arguments against an expression in >> doas.conf? >> >> I'd like to allow user to run wsconsctl display.brightness=<0-100> and >> the only solution i found so far is to explici

Re: 'not a valid hostname' error in 'bsd.rd' when using ,htaccess authorization

2022-07-20 Thread Alexander Hall
On July 20, 2022 6:06:45 AM GMT+02:00, Adriaan wrote: >I am testing autoinstall for a VPS hosted in a datacenter. By using an >OpenBSD native VM on my desktop >I got all my issues with 'install.conf' and 'install.site' solved. > >To provide some access control I created an '.htaccess' file for

Re: Fanless amd64 sytem recommendations

2022-07-18 Thread Alexander Hall
Hi Nick! On July 11, 2022 7:33:30 PM GMT+02:00, Nick Holland wrote: >On 7/11/22 1:13 AM, B. Atticus Grobe wrote: >> I've been running a Hewlett-Packard HP t620 Quad Core TC for a couple of >> years now in that role, with the AMD GX-415GA SOC in it. It's the bigger >> brother of that found in the

Re: ksh (and bash) dying with SIGPIPE when using echo builtin command

2022-06-11 Thread Alexander Hall
On June 9, 2022 3:19:56 AM GMT+02:00, Philippe Meunier wrote: >Hi, > >Try: > >$ mkfifo fifo >$ while true; do /bin/echo > fifo; echo -n "$? "; done > >then in another shell: > >$ tail -f fifo > >and everything works as expected. Now repeatedly interrupt and restart >this tail(1) command and

Re: No longer able to mount NFS shares

2022-04-11 Thread Alexander Hall
Is reverse DNS properly working at all sides? On April 7, 2022 1:17:00 AM GMT+02:00, Aric Gregson wrote: >Hello, > >I have several NFS mount points shared on my local network from a >FreeNAS server running version 11.1-U7. My OBSD client computer is >running 7.0 GENERIC#224 amd64. > >For the pas

Re: Problem configuring multiple wireguard tunnels

2022-02-15 Thread Alexander Hall
On February 15, 2022 10:26:54 AM GMT+01:00, "Łukasz Moskała" wrote: >W dniu 15.02.2022 o 10:19, Carlos Lopez pisze: >> >> >>> On 15 Feb 2022, at 10:16, Łukasz Moskała wrote: >>> >>> >>> >>> Dnia 15 lutego 2022 10:13:57 CET, Carlos Lopez >>> napisał/a: Hi all, I am tryin

Re: Why is tmpfs not working on OpenBSD?

2021-09-07 Thread Alexander Hall
Unless you explicitly want tmpfs, there's "mfs" for ram based temporary filesystems. /Alexander On September 5, 2021 9:59:26 AM GMT+02:00, iio7 wrote: ># mount -t tmpfs tmpfs /home/foo/tmp/ >mount_tmpfs: tmpfs on /home/foo/tmp: Operation not supported > >Sent with [ProtonMail](https://protonmai

Re: Accessing LAN behind gateway from Road Warrior on wg(4) based tunnel

2021-09-01 Thread Alexander Hall
On Fri, Aug 27, 2021 at 03:03:36PM +0200, Erling Westenvik wrote: > Hello all, > I have successfully set up a wg(4) based VPN tunnel from my laptop > (current) to my home/office gateway (6.9) but have problems > understanding how to access the LAN behind the gateway. > > [Laptop] > - wg0 (10.0.0.4

Re: sed(1) and line number 0

2021-08-14 Thread Alexander Hall
One ugly take on these cases is adding an extra line at the beginning of the input. | sed 1p | And then change that 0 to 1. Not pretty but does the job. /Alexander On August 14, 2021 10:46:53 AM GMT+02:00, Philippe Meunier wrote: >Michael Hekeler wrote: >>Your first address is 0? >>What do

Re: WireGuard, keepalive time doubled?

2021-04-15 Thread Alexander Hall
On Wed, Apr 14, 2021 at 01:14:47PM +0200, Jan Johansson wrote: > Hello! > > I was experimenting with wireguard keepalive and noticed that > keepalive packets seems to be sent on double the time that I have > set which I find a bit unintuitive. > ... > > Is this to be expected or am I missing s

Re: Git Daemon rc Script Not Stopping

2021-01-06 Thread Alexander Hall
It was merely a hunch. Thinking of it, I believe there is some magic to cope with that. Never mind my likely red herring. /Alexander On January 6, 2021 3:49:46 PM GMT+01:00, ben wrote: >>Without looking too far, check what pgrep gives. My first suspicion is >>the initial space in your 'daemon

Re: Git Daemon rc Script Not Stopping

2021-01-05 Thread Alexander Hall
On Tue, Jan 05, 2021 at 03:19:29PM -0500, ben wrote: > >The original version of this script installed by the port contains > >rc_reload=NO and also uses a very different pexp. > > I checked out the original rc script, and it works. Why didn't my pexp var > work > for the script? The term should m

Re: Reinstall to upgrade

2020-11-26 Thread Alexander Hall
On November 26, 2020 10:23:33 AM GMT+01:00, Stuart Henderson wrote: >On 2020/11/25 23:56, Alexander Hall wrote: >> >> >> On November 25, 2020 11:09:02 PM GMT+01:00, Stuart Henderson > wrote: >> >On 2020-11-25, Manuel Giraud wrote: >> >> I

Re: Reinstall to upgrade

2020-11-25 Thread Alexander Hall
On November 25, 2020 11:09:02 PM GMT+01:00, Stuart Henderson wrote: >On 2020-11-25, Manuel Giraud wrote: >> I have one (somewhat) related question left: is possible to capture >the >> output of pkg_delete -an in a file? I tried the following (without >> luck): >>$ pkg_delete -an >

Re: Potential ksh bug?

2020-11-17 Thread Alexander Hall
On November 17, 2020 5:04:19 AM GMT+01:00, Jordan Geoghegan wrote: >Hello, > >I'm not sure if this is a bug, or if it's just a pdksh thing, but I >stumbled upon some interesting behaviour when I was tinkering around >with quoting and using a poor mans array: > >test=$(cat <<'__EOT' ># I'll c

Re: does 'xset(1) dpms 20' activate xidle(1) after 20sec?

2018-11-28 Thread Alexander Hall
On Wed, Nov 28, 2018 at 10:56:13AM +0100, Marcus MERIGHI wrote: > j...@openbsd.org (joshua stein), 2018.11.27 (Tue) 18:12 (CET): > > On Tue, 27 Nov 2018 at 14:32:50 +0100, Marcus Merighi wrote: > > > does 'xset(1) dpms 20' activate xidle(1) after 20 seconds? > > > > > > How to repeat: > > > > > >

Re: Clarification about mfs/tmpfs on /tmp

2018-10-09 Thread Alexander Hall
On October 9, 2018 6:17:05 PM GMT+02:00, r...@tutanota.com wrote: >I recall having to do this as well (in fact, as mentioned earlier >in this thread): > >> doas chmod 777 /tmp > >If I understood Stuart Henderson correctly, then > >> This one is easy, simply set the appropriate permissions >> on

Re: Resize keydisk (softraid) partition...

2018-09-07 Thread Alexander Hall
On September 7, 2018 12:16:03 PM GMT+02:00, "Zbyszek Żółkiewski" wrote: >Hi, > >So i did something stupid: during creation of keydisk >(https://www.openbsd.org/faq/faq14.html#softraid), i was in hurry and I >allocated whole 14GB partition a for keydisk… >Now i would like to shrink it somehow,

Re: serial for softraid devices

2018-09-04 Thread Alexander Hall
On Tue, Sep 04, 2018 at 03:04:15PM +, Jiri B. wrote: > Hi, > > I have couple of softraid devices available in a box and when I do upgrade > I always have to check and not to make mistake which softraid device > I want to use as root disk. FWIW, the upgrade won't proceed until you pick a disk

Re: Add $daemon_nice to rc.subr

2018-09-04 Thread Alexander Hall
On Tue, Sep 04, 2018 at 10:53:17AM +0200, Thomas de Grivel wrote: > why ? well all interactive process get a quarter range nice priority > advance compared to all daemon tasks, at least for a laptop > environment it really makes sense. sndiod and ntpd are unaffected by > this change. > > you're ri

Re: network connectivity problem (ifconfig, arp, ...)

2018-09-03 Thread Alexander Hall
On Mon, Sep 03, 2018 at 10:58:49PM +0200, Vincent wrote: > Hello stefan, > > Hum... it could be similar situations. > > I've found an article combining the "join" and the trunk: > https://dataswamp.org/~solene/2018-08-30-openbsd-trunk.html For me, it's as simple as this: ==> /etc/hostname.em0

Re: Base httpd and addons like OpenSMTPD extras in ports?

2018-08-27 Thread Alexander Hall
On August 28, 2018 5:17:11 AM GMT+02:00, Chris Bennett wrote: >On Tue, Aug 28, 2018 at 03:08:46AM +, jungle Boogie wrote: >> Chris, >> >> What are httpd add-ons? > >Umm, base http did not have rewrites before, now it does. >That could have been does as an addon instead. I'm really not su

Re: SuperMicro A2SDi-4C-HLN4F

2018-08-26 Thread Alexander Hall
On August 25, 2018 1:59:55 PM GMT+02:00, Rupert Gallagher wrote: > wrote: > >> This vendor addresses hardware & firmware faults like the other >enterprise vendors, they DON'T past year two. BIOS and BMC firmwares >are not updated after this even with the long term lifetime products, >you are o

Re: sshfs permission problem

2018-08-03 Thread Alexander Hall
On August 3, 2018 3:44:07 PM GMT+02:00, Rudolf Sykora wrote: >On 3 August 2018 at 15:30, Maurice McCarthy >wrote: >> On 03/08/2018, Rudolf Sykora wrote: >>> doas sshfs syk...@pc109.fzu.cz: /home/ruda/mnt/fzu -o uid=1000 -o >gid=1000 >> >> Leave out the 'doas' ? > >Afaik, no, you can't. >Any

Re: Keeping clear out of history

2018-07-31 Thread Alexander Hall
On July 31, 2018 9:09:05 AM GMT+02:00, Solene Rapenne wrote: >Ken M wrote: >> OK, so confession 1, I am a long time bash user >> confession 2 all of my ksh experience is on solaris >> >> However in a when in Rome moment I am realizing how much I like ksh >in openbsd, >> but one minor thing. I

Re: Viewport for man.openbsd.org -- readability on phones

2018-05-18 Thread Alexander Hall
On May 18, 2018 4:09:58 AM GMT+02:00, Ken M wrote: >In all honesty I wasn't thinking of the suggestion as a cautious one >because of >bloat. I think bootstrap minified and compressed is like 20k. I mean >how big is >the entire man page collection? Well, bloat isn't only measured in bits and byt

Re: SoftRAID disk size

2018-05-01 Thread Alexander Hall
On Tue, May 01, 2018 at 02:36:49PM +0200, Håkon Robbestad Gylterud wrote: > Hi, > > I have two 5TB disks, which I want to set up as mirrored using RAID 1 > through softraid(4). But after attaching the disk using bioctl(8), the > disk appears with 2TB, not 5TB. I can imagine you have some old soft

Re: repeated set of messages about usb mouse

2018-05-01 Thread Alexander Hall
On Mon, Apr 30, 2018 at 01:07:00PM +, Rudolf Sykora wrote: > Hello misc, > > I am (on 6.3, amd64) repeatedly getting these messages every now and then: Not knowning about the exact details, I know we had issues (in RHEL6) at work with some mice continually detaching and attaching. I believe i

Re: Fwd: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument

2018-03-11 Thread Alexander Hall
Stefan Wollny wrote: Am 11.03.2018 um 01:13 schrieb Alexander Hall: On March 9, 2018 12:55:31 AM GMT+01:00, Stefan Wollny wrote: Am 09.03.2018 um 00:09 schrieb Stefan Wollny: Am 08.03.2018 um 23:25 schrieb Stefan Wollny: Am 08.03.2018 um 22:11 schrieb Stefan Wollny: Am 08.03.2018 um 17

Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument

2018-03-10 Thread Alexander Hall
On March 9, 2018 12:55:31 AM GMT+01:00, Stefan Wollny wrote: >Am 09.03.2018 um 00:09 schrieb Stefan Wollny: >> Am 08.03.2018 um 23:25 schrieb Stefan Wollny: >>> Am 08.03.2018 um 22:11 schrieb Stefan Wollny: >>> Am 08.03.2018 um 17:44 schrieb Stefan Wollny: > Gesendet von meinem BlackBe

Re: root autologin?

2018-02-06 Thread Alexander Hall
On February 6, 2018 7:57:36 PM GMT+01:00, Mohammad BadieZadegan wrote: >I have not X and I want to resolve my problem with command prompt only. >Isn't possible? There's plenty of ways to achieve that. But unless you manage to explain why you think that would be a good thing, few people will h

Re: Re-compute bsd checksum

2018-01-16 Thread Alexander Hall
On January 16, 2018 9:35:56 PM GMT+01:00, Sterling Archer wrote: >On Tue, Jan 16, 2018 at 9:08 PM, Thuban wrote: >> I disabled `ulpt` in the kernel using `config` to use an USB-printer. >> >> Now, at reboot, I see "kernel relinking failed" message. >> How to recreate the new checksum? I can't

Re: Hotplug USB teethering using an Android phone

2018-01-15 Thread Alexander Hall
On January 15, 2018 9:10:12 AM GMT+01:00, "Jean-Michel Pouré" wrote: > >Dear all, > >First, I would like to thank you all for the hard work over OpenBSD >over the years. > >My question is about USB teethering using an Android phone. I would >like to mount urdnis0 and dhcp interface as soon as

Re: AuthorizedKeyCommand ldap

2017-12-11 Thread Alexander Hall
On 12/11/17 23:49, Dan Becker wrote: I am reading a blog proposing to use the AuthorizedKeyCommand to hook into another authentication mechanism by calling a shell script https://blog.heckel.xyz/2015/05/04/openssh-authorizedkeyscommand-with-fingerprint/ Do I have a valid concern in thinking th

Re: FAQ14: Growing disk partitions: fdisk

2017-11-03 Thread Alexander Hall
On November 3, 2017 8:41:20 AM GMT+01:00, Otto Moerbeek wrote: >On Fri, Nov 03, 2017 at 08:07:37AM +0100, Stephane HUC "PengouinBSD" >wrote: > >> >> Le 11/03/17 à 07:27, Otto Moerbeek a écrit : >> (...) >> > >> > My guess is that if you use duids in fstab then you should call it >by >> > that

Re: Resize partitions?

2017-10-04 Thread Alexander Hall
On October 4, 2017 6:58:52 PM GMT+02:00, Niels Kobschaetzki wrote: > /.../ And I >don't know OpenBSD enough to know how "dangerous" it is to use >"pkg_delete -a". I used similar functions with linux-distributions and >they wanted to remove a tool like git because nothing depended on it. It w

Re: boot> does not "time out" after failed PXE boot

2017-10-03 Thread Alexander Hall
Unless I'm mistaken, Claus refers to things that happen prior to the boot prompt appearing the first time. Once the boot prompt does up, I'd expect at least one attempt. Claus, do you by any chance have anything fancy in /etc/boot.conf? /Alexander On October 2, 2017 8:30:29 PM GMT+02:00, The

Re: httpd.conf - access denied error whilst trying to auto index a location

2017-09-14 Thread Alexander Hall
On September 15, 2017 4:06:37 AM GMT+02:00, "tec...@protonmail.com" wrote: >Hello, > >I'm using 6.1 + all updates (system and packages) > >I am trying to list a particular directory exactly as shown within the >https://www.jp.openbsd.org/papers/httpd-slides-asiabsdcon2015.pdf >presentation: > >

Re: Clarification on ksh(1) nohup mechanism

2017-08-27 Thread Alexander Hall
On August 27, 2017 6:28:12 PM GMT+02:00, Alessandro DE LAURENZIS wrote: >Folks, > >On Sat 12/08/2017 18:36, Alessandro DE LAURENZIS wrote: >>Dear misc@ readers, >> >>I'm lost with the subject... From the man page I see that, differently > >>from standard ksh, OpenBSD implementation by default d

Re: Random boot seed cron job for unclean shutdowns?

2017-08-04 Thread Alexander Hall
On August 4, 2017 9:03:17 PM GMT+02:00, Kevin Chadwick wrote: > >I've noticed disk checks on a colleagues system many times and will ask >why on Monday and advise that whilst OpenBSD is rock solid it should >still be shutdown gracefully. > >I am sure this has already been considered but I shall

Re: Supporting OpenBSD

2017-08-04 Thread Alexander Hall
On August 2, 2017 10:03:13 AM GMT+02:00, Mike Burns wrote: >On 2017-08-02 13.21.44 +0930, Radoslav Mirza wrote: >> Are there any resources that point to where I can begin to help with >> the project? > >- Use OpenBSD to get your work done. When something breaks, fix it and > send in a patch. W

Re: starting cwm and terminal font

2017-07-31 Thread Alexander Hall
On July 31, 2017 8:37:07 AM GMT+02:00, jungle boogie wrote: >Thus said Jungle Boogie on Sun, 30 Jul 2017 16:06:06 -0700 >> Hello, >> >> >> I have some cwm questions for you folks. >> >> cwm is launching, but it's not setting my background to gray. >> I thought I made the change correctly. >>

Re: starting cwm and terminal font

2017-07-30 Thread Alexander Hall
On July 31, 2017 1:06:06 AM GMT+02:00, jungle boogie wrote: >Hello, > > >I have some cwm questions for you folks. > >cwm is launching, but it's not setting my background to gray. >I thought I made the change correctly. > >$ cat .xsession > > > >/usr/X11R6/bin/cwm Shell waits here for cwm to

Re: vmctl: connect: /var/run/vmd.sock: No such file or directory

2017-07-23 Thread Alexander Hall
On July 22, 2017 8:42:48 PM GMT+02:00, G wrote: >thanks! it worked! It could be of public interest exactly *what* worked. Hardware change? BIOS settings? /Alexander >On 07/22/17 20:54, Josh Grosse wrote: >> On Sat, Jul 22, 2017 at 08:38:56PM +0300, G wrote: >>> I get the following messages

Re: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-21 Thread Alexander Hall
On June 21, 2017 6:01:10 PM GMT+02:00, Josh Grosse wrote: >On 2017-06-21 11:36, lu jian wrote: >> Hi >> >> I have an i386 machine with two network interfaces, one of which >> connect to the uplink ISP via pppoe, the other connects to the WAN >> port of a wireless router to which all LAN machine

Re: Gestão de Contratos - Elaboração e Administração

2017-06-21 Thread Alexander Hall
I call it spam, which occasionally slips through. Not much point in blocking and I doubt the sender is a subscriber. Business as usual, nothing to see here. /Alexander On June 21, 2017 7:09:57 PM GMT+02:00, Rui Ribeiro wrote: >Please delete this spammer. This is publicity in my mother tongue.

Re: Can I use OpenBSD as a desktop system?

2017-06-11 Thread Alexander Hall
>With a name like SOUL_OF_ROOT_CANAL I wonder what he is trying to FWIW, that's not the name he's been using. So far he hasn't proven to be anything but an ass though. Cheers, Alexander

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-30 Thread Alexander Hall
On May 30, 2017 3:37:05 AM GMT+02:00, Theo Buehler wrote: >From: Theo Buehler >Cc: >Bcc: >Subject: Fwd: siteXX.tgz with /home/user/.ssh/authorized_keys results >in empty > file >Reply-To: >In-Reply-To: > > >On Mon, May 29, 2017 at 07:16:06PM -0400, trondd wrote: >> On Mon, May 29, 2017 5:47

Re: Difficulties with the sh manual page

2017-05-25 Thread Alexander Hall
On May 25, 2017 9:47:08 AM GMT+02:00, Theo Buehler wrote: >On Thu, May 25, 2017 at 09:03:43AM +0200, Otto Moerbeek wrote: >> On Wed, May 24, 2017 at 04:27:06PM -0400, Choose a display name >wrote: >> >> > I don't quite understand the description of the PPID in the sh >manual. >> > >> > >PPID T

Re: Topics for revised PF and networking tutorial

2017-04-10 Thread Alexander Hall
On April 11, 2017 5:54:31 AM GMT+02:00, Ingo Schwarze wrote: >bytevolc...@safe-mail.net wrote on Tue, Apr 11, 2017 at 10:30:35AM >+1000: > >> Another issue with the man pages is that there is extremely limited >> indexing. > >That isn't true on OpenBSD. It still is true on most Linux >distributio

Re: Sony Vaio VPCSA

2017-03-29 Thread Alexander Hall
On Thu, Mar 30, 2017 at 02:15:04AM +0800, Farty Breath wrote: > Many thanks all for your replies, > > Apologies for not including dmesg output, it's attached now for > install60.fs and install61.fs on the Sony VPCSA. Thanks Stuart for > the link. Except... > [demime 1.01d removed an attachment

Re: accessing webcam as normal user

2017-02-13 Thread Alexander Hall
On 02/13/17 20:46, Neil Telford wrote: Just to clarify, what was the exact line you added to /etc/fstab ? It's fbtab, not fstab. $ man fbtab /Alexander Thanks. -- View this message in context: http://openbsd-archive.7691.n7.nabble.com/accessing-webcam-as-normal-user-tp313074p313091.htm

Re: make pf allow out on lo per user

2017-01-25 Thread Alexander Hall
On January 26, 2017 6:54:54 AM GMT+01:00, Alexander Hall wrote: >On January 25, 2017 10:44:19 AM GMT+01:00, "Peter N. M. Hansteen" > wrote: >>On Wed, Jan 25, 2017 at 12:04:40AM +, Luke Small wrote: >>> if I have: >>> "pass out quick on lo0 from se

Re: make pf allow out on lo per user

2017-01-25 Thread Alexander Hall
On January 25, 2017 10:44:19 AM GMT+01:00, "Peter N. M. Hansteen" wrote: >On Wed, Jan 25, 2017 at 12:04:40AM +, Luke Small wrote: >> if I have: >> "pass out quick on lo0 from self port 6379 to \ any user luke >> >> block out quick on lo0 from self port 6379 to any >> >> pass quick on lo0 from

Re: A couple of password pointers to avoid failed login(1) via cu(1)

2017-01-18 Thread Alexander Hall
On January 18, 2017 10:32:29 AM GMT+01:00, minek van wrote: > Because the simple suggestion below was to easy? >> >> Or simply: >> openssl rand -base64 >> >> -- >> Christian "naddy" Weisgerber >na...@mips.inka.de /Alexander

Re: Purpose of #if 0 in boot code

2017-01-01 Thread Alexander Hall
On Sat, Dec 31, 2016 at 05:03:18PM -0800, Nick Gonella wrote: > Hey Misc, > As I read through the code, especially in the boot code, there > seem to be quite a few blocks of code of the style: > > #if 0 > /* some code here */ > #endif > > On example of this is in sys/arch/amd64/amd64/pmap.c:2326

Re: autoupgrade without all sets

2016-12-06 Thread Alexander Hall
On December 6, 2016 1:10:47 PM GMT+01:00, Stuart Henderson wrote: >On 2016-12-06, Erling Westenvik wrote: >> On Tue, Dec 06, 2016 at 12:27:33AM -0800, jungle boogie wrote: >>> Reading the autoinstall page for openbsd, I don't see how I can >select what >>> packages are installed. Does that mean a

Re: Because Theo de Raadt said that the buttons are for idiots?

2016-10-20 Thread Alexander Hall
On this list, English is the language to use, and Google translate does not cut it. I do think I understand what you're after, but have someone help you write comprehensible English and try again. /Alexander On October 20, 2016 8:11:20 PM GMT+02:00, SOUL_OF_ROOT 55 wrote: >Because nobody answer?

Re: How to both redirect to console and screen

2016-10-17 Thread Alexander Hall
On Mon, Oct 17, 2016 at 11:34:02AM +, Mik J wrote: > Hello, > It is possible to redirect the boot sequence to the console using > # cat /etc/boot.conf > set tty com0 > But then there is no screen output. How is it possible to have both of them ? > > > Thank you This does not answer your ques

Re: getopt(3) in echo(1)

2016-10-02 Thread Alexander Hall
On September 30, 2016 5:16:57 PM GMT+02:00, Otto Moerbeek wrote: >On Fri, Sep 30, 2016 at 04:47:33PM +0200, Paul de Weerd wrote: > >> On Fri, Sep 30, 2016 at 04:40:16PM +0200, Jan Stary wrote: >> | echo.c says >> | >> |/* This utility may NOT do getopt(3) option parsing. */ >> | >> | Why is th

Re: No free discspace after deleting files

2016-09-27 Thread Alexander Hall
On September 27, 2016 10:06:24 PM GMT+02:00, Marco Prause wrote: >Re, > >well as mentioned fstat didn't show any open filehandles or inodes, but >fsck was a bit more chatty : > ># fsck /dev/sd0a > > >** /dev/rsd0a (NO WRITE) >** Last Mounted on /flash >** Phase 1 - Check Blocks and Sizes >** Phase

Re: Displaying System Uptime via CGI script: not displayed when script is run under chroot.

2016-09-25 Thread Alexander Hall
On Sun, Sep 25, 2016 at 11:29:46PM +0200, Alexander Hall wrote: > On Sun, Sep 25, 2016 at 11:12:56PM +0300, Kihaguru Gathura wrote: > > > B: Section 4 below: Why does running uptime program under chroot yield time > > that is not accurate? 6:54PM while the actual time was

Re: Displaying System Uptime via CGI script: not displayed when script is run under chroot.

2016-09-25 Thread Alexander Hall
On Sun, Sep 25, 2016 at 11:12:56PM +0300, Kihaguru Gathura wrote: > B: Section 4 below: Why does running uptime program under chroot yield time > that is not accurate? 6:54PM while the actual time was 9:54PM produced by > running uptime as root immediately after. $ man localtime specifically, yo

Re: can't get vmd to work on current

2016-09-08 Thread Alexander Hall
On September 8, 2016 11:34:48 AM GMT+02:00, "Mart Tõnso" wrote: >> True. If it was merely GENERIC[.MP] with vmm enabled, then fine. But >a >> kernel named "TIMMU" could deserve some explanation as to what's been >> done to it. > >That's why I included the config in the first email, but I see where

Re: mail aliases question

2016-09-07 Thread Alexander Hall
On Wed, Sep 07, 2016 at 12:41:45PM +, Callum R. Davies wrote: > Your user was added to /etc/aliases by the installer, when the account > was created. No, this is not true at all.

Re: can't get vmd to work on current

2016-09-07 Thread Alexander Hall
On Wed, Sep 07, 2016 at 07:07:01PM +0300, Mart Tõnso wrote: > >> OpenBSD 6.0-current (TIMMU) #4: Wed Sep 7 00:35:13 EEST 2016 > > > > Not going to help with custom kernels. Work on -current on real > > Only reason that I'm using a custom kernel is to enable vmm, so this > is a catch 22. True. If

Re: OpenBSD 6.0 release and errata60.html

2016-09-02 Thread Alexander Hall
On Thu, Sep 01, 2016 at 03:03:15PM -0400, Daniel Ouellet wrote: > On 9/1/16 2:59 PM, R0me0 *** wrote: > > Hello misc, > > > > I have a little doubt > > > > Today was a Official Release of 6.0 > > > > This release already include errata60.html patches or I need to apply ? > > Yes you need to app

Re: Installer overwrites partition table

2016-08-26 Thread Alexander Hall
On August 26, 2016 9:32:38 PM GMT+02:00, Pedro Tender wrote: >"In the face of ambiguity, refuse the temptation to guess." >- PEP 20 > >"Assumption is the mother of all fuck ups!" >- Steven Seagal > >You've assumed many things and you've made a mistake. > >Don't blame other people's work for it. >

Re: HTTPD location index issue

2016-07-28 Thread Alexander Hall
On July 28, 2016 10:33:04 PM GMT+02:00, R0me0 *** wrote: >Howdy ! > >I'm running OpenBSD 5.9 stable branch > >I can't setup two different locations with different index files > >Sample: > > >server "example.com" > listen on egress port 80 ># Root path and directory index is already index.php >root

Re: Install OpenBSD on disks larger than 2TB

2016-07-22 Thread Alexander Hall
On July 21, 2016 7:56:57 PM GMT+02:00, Leo Unglaub wrote: >Hey, >i am using OpenBSD with two harddrives. Both of them are 2 TB and i put > >them in a Raid 1 (mirroring) using softraid0. It works perfect, the >system boots from the raid 1 and runs perfectly. > >Sadly now 2 TB is not enought disc s

Re: httpd. chroot, security and user homepage

2016-06-30 Thread Alexander Hall
les in the domain* directories follow the same pattern as the directories, I'd say so. > > Johan > > > > 30 juni 2016 kl. 19:54 skrev Alexander Hall : > > > > On Wed, Jun 29, 2016 at 09:37:36PM +0200, Stefan Sperling wrote: > >> On Wed, Jun 29, 201

Re: DNS lookup utility with port

2016-06-30 Thread Alexander Hall
On Thu, Jun 30, 2016 at 01:01:58PM +, Stuart Henderson wrote: > On 2016-06-30, Kapetanakis Giannis wrote: > > Hi, > > > > a) I'm asking if there is any program in base for dns lookups that support > > port for name server. > > Not in base, you will need packages. I guess you could play some

Re: httpd. chroot, security and user homepage

2016-06-30 Thread Alexander Hall
On Wed, Jun 29, 2016 at 09:37:36PM +0200, Stefan Sperling wrote: > On Wed, Jun 29, 2016 at 08:15:35PM +0200, Johan Tärnklint wrote: > > Seeking advice / security tips. > > > > Is it safe to create /var/www/htdocs/user1 and symlink to their home > > folder? > > > > Then set permissions to user1:

Re: We have a problem here

2016-06-05 Thread Alexander Hall
On June 4, 2016 8:47:53 PM GMT+02:00, outro pessoa wrote: /... Snip.../ >Now, who am I? Offtopic noise. Please find some other forum for this. /Alexander

Re: wifind(8) find your wifi

2016-06-05 Thread Alexander Hall
On June 4, 2016 11:11:13 AM GMT+02:00, Benjamin Baier wrote: >On Fri, 3 Jun 2016 00:26:12 +0800 >Ray Lai wrote: > >> Hi all, >> >> I got tired of configuring my wifi every time I had to move my >laptop. >> Here's a script a whipped up. It scans the wifi for known networks >and >> writes the str

Re: Secure PKG_PATH for doas

2016-05-23 Thread Alexander Hall
On May 19, 2016 12:49:25 AM GMT+02:00, Igor Mironov wrote: >The packages and ports' FAQ mentions that those using doas need to pass >keepenv { PKG_PATH } in the config file. Is there a way to instruct >doas to take PKG_PATH (or another variable) from the target account's >environment (~/.profile)

AMD64/May 11 snapshot crash

2016-05-16 Thread Alexander Hall
OpenBSD 5.9-current (GENERIC.MP) #2028: Wed May 11 11:41:32 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Kernel from above snap gave up the ghost while using chrome (lots of windows and tabs). After gathering ddb crash info, 'boot reboot' caused panic again (n

Re: Should random.seed on shutdown be saved a little later?

2016-04-13 Thread Alexander Hall
On April 13, 2016 4:28:13 PM GMT+02:00, Theo de Raadt wrote: >>Kevin Chadwick wrote: >>> Whilst likely not a major issue. I also started to wonder whilst >>> reading man rc.shutdown, if a daemon or other process could >potentially >>> use /dev/urandom between saving the seed and shutdown so >coul

Re: man pages diff

2016-04-09 Thread Alexander Hall
On April 7, 2016 10:40:24 PM GMT+02:00, Jason McIntyre wrote: >On Thu, Apr 07, 2016 at 10:13:02PM +0200, Ingo Schwarze wrote: >> Hi, >> >> Jason McIntyre wrote on Thu, Apr 07, 2016 at 08:35:52PM +0100: >> > On Thu, Apr 07, 2016 at 03:15:01PM -0400, Rob Pierce wrote: >> >> >> Change "super user"

Re: httpd slowcgi permission advice

2016-03-25 Thread Alexander Hall
On March 25, 2016 9:00:51 PM GMT+01:00, Byron Klippert wrote: >That's it, thanks Tim. > >For the record I've got `permit nopass www as root cmd /sbin/pfctl' in Unless you want the web server to have full control over pf, you really should add the args directive too the doas rule too. >doas.con

Re: Shoudn't full disk encryption be a option on installer?

2016-03-08 Thread Alexander Hall
On March 8, 2016 12:41:09 AM GMT+01:00, Jiri B wrote: >On Tue, Mar 08, 2016 at 12:32:16AM +0100, arrowscr...@mail.com wrote: >> I'm using softraid_crypto for full disk encryption for about one year >> now. I used this on a low end Core2Duo and noticed absolutely *no* >> performance hit. I also use

Re: root partition is 105%, what will happen if I just leave it?

2016-03-06 Thread Alexander Hall
On March 5, 2016 8:24:23 PM GMT+01:00, Nick Holland wrote: >On 03/05/16 11:49, Nick wrote: >> Hello, >> >> I used the default partition layout when I set up this system (5.8 - >> CD release) a few weeks ago.. >> >> Just realised after a 'du -h' that the root partition is at 105%.. >> Now, I kno

Re: LibertyBSD, recently forked from OpenBSD, has been deblobbed as much as its creator could see?

2016-02-19 Thread Alexander Hall
On February 19, 2016 3:42:08 PM GMT+01:00, Jorge Luis wrote: >Is true that in LibertyBSD, you can get all of the benefits of OpenBSD, >while being sure that there are no non-free blobs lurking in the depths >of >your system? No. The firmware is either already on the hardware itself already or g

Re: Upgrade from snapshot to release.

2016-02-10 Thread Alexander Hall
On February 10, 2016 7:10:17 PM GMT+01:00, Raf Czlonka wrote: > You can not run -current (or a snapshot), then decide you are > living too dangerously, and step back to -stable. As stated, you can step *forward* to -stable, though. I want to emphasize that. /Alexander

Re: sudo and globbing

2016-01-08 Thread Alexander Hall
On January 8, 2016 11:52:32 AM GMT+01:00, Jiri B wrote: >On Fri, Jan 08, 2016 at 12:04:15PM +0200, Alexey Kurinnij wrote: >> And what about difference? Explain please. >> >> > > I discovered an article about sudo and globbing[1] and >> > > there's difference how it does work on Linux and OpenBSD.

Re: drops to ddb when disconnecting from serial line

2015-12-27 Thread Alexander Hall
On Sun, Dec 27, 2015 at 09:32:45PM +, Tati Chevron wrote: > On Sun, Dec 27, 2015 at 07:04:10PM +, Stuart Henderson wrote: > >On 2015-12-27, Ted Unangst wrote: > >>LÉVAI Dániel wrote: > >>>So I guess it didn't panic, but just dropped to ddb from console, > >>>because ddb.console was set to

Re: if I were to make a pkg-add diff

2015-12-27 Thread Alexander Hall
On Sun, Dec 27, 2015 at 02:52:16PM -0600, Luke Small wrote: > You could do that if you want to have noobs connect to one of the mirrors > into perpituty that brings down the server like a ddos every release! Are you aware of the magic that ftplist.cgi does? Stuart is. /Alexander > > I think the

Re: Softraid Keydisk reboot loop

2015-12-26 Thread Alexander Hall
On Sat, Dec 26, 2015 at 10:41:34PM +0100, Thomas Bohl wrote: > Hello, > > I updated from 5.8-stabel to current today. (First just an update, than > because of the problem a fresh installation.) On 5.8-stabel I had a > working softraid boot setup with a USB-Stick as keydisk. > > Now, if the keydis

  1   2   3   4   5   6   7   8   >