Howto change login mechanism on OpenBSD

2020-05-20 Thread Valdrin MUJA
Hi Misc, I have an interactive shell program which has an authentication section and I want to login via my program. How can I do that? Actually I want to run this program instead of /bin/ksh. I changed the root's shell with "chsh -s /bin/{my_program} root" command. However, when the system

Re: LDAP database choice

2020-05-20 Thread Aaron Mason
On Thu, May 21, 2020 at 2:31 AM Aisha Tammy wrote: > > Hi all, > Is there any particular reason why ldapd has its own version of btree.c > instead of using the db.h standard btree ? > > Aisha > Probably. -- Aaron Mason - Programmer, open source addict I've taken my software vows - for beta

First day release upgrade to 6.7

2020-05-20 Thread Jay Hart
I've been using OpenBSD going on 13+ years. I have never upgraded a release on the first day. In fact, I usually wait a few months, and I never install all the file sets. This is, until yesterday, I installed 6.7 on my new router box and it went without a hitch. And, I installed every file

Re: Howto change login mechanism on OpenBSD

2020-05-20 Thread Jeff Joshua Rollin
On Wed, 2020-05-20 at 17:00 -0500, Edgar Pettijohn wrote: > On Wed, May 20, 2020 at 09:50:17PM + > > > > I believe /etc/ttys controls getty, which may or not help. Getty is > > respawned too. > > https://man.openbsd.org/man5/ttys.5 > > I think you're right. Might just need to change a line in

Re: OpenBSD sysupgrade rocks

2020-05-20 Thread Ingo Schwarze
Hi Chris, Chris Bennett wrote on Wed, May 20, 2020 at 02:07:27PM -0400: > Do the work, a WIP is OK and submit a diff. Not a bad idea, put your fingers where your mouth is! > Please don't ask for features, once again. > Really, I mean it. Don't ask for features! I disagree. About one third of

Re: Howto change login mechanism on OpenBSD

2020-05-20 Thread Edgar Pettijohn
On Wed, May 20, 2020 at 09:50:17PM +, Kevin Chadwick wrote: > On May 20, 2020 9:31:19 PM UTC, Edgar Pettijohn > wrote: > >On Wed, May 20, 2020 at 08:48:20PM +0200, Valdrin MUJA wrote: > >> Hi Misc, > >> > >> I have an interactive shell program which has an authentication > >section and I

Re: OpenBSD sysupgrade rocks

2020-05-20 Thread Marc Espie
On Tue, May 19, 2020 at 07:06:05AM +, Frank Beuth wrote: > On Wed, May 20, 2020 at 02:07:27PM -0400, Chris Bennett wrote: > > Please don't beg for features. > > That's very irritating and wastes everyone's time. > > > > Please don't ask for features, once again. > > Really, I mean it. Don't

Re: Howto change login mechanism on OpenBSD

2020-05-20 Thread Kevin Chadwick
On May 20, 2020 9:31:19 PM UTC, Edgar Pettijohn wrote: >On Wed, May 20, 2020 at 08:48:20PM +0200, Valdrin MUJA wrote: >> Hi Misc, >> >> I have an interactive shell program which has an authentication >section and I want to login via my program. How can I do that? >> >> Actually I want to run

Re: Howto change login mechanism on OpenBSD

2020-05-20 Thread Edgar Pettijohn
On Wed, May 20, 2020 at 08:48:20PM +0200, Valdrin MUJA wrote: > Hi Misc, > > I have an interactive shell program which has an authentication section and I > want to login via my program. How can I do that? > > Actually I want to run this program instead of /bin/ksh. I changed the root's >

LDAP database choice

2020-05-20 Thread Aisha Tammy
Hi all, Is there any particular reason why ldapd has its own version of btree.c instead of using the db.h standard btree ? Aisha

Re: OpenBSD sysupgrade rocks

2020-05-20 Thread Frank Beuth
On Wed, May 20, 2020 at 02:07:27PM -0400, Chris Bennett wrote: Please don't beg for features. That's very irritating and wastes everyone's time. Please don't ask for features, once again. Really, I mean it. Don't ask for features! How about a counterpart to `sendbug` called `requestfeature`,

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-20 Thread Theo de Raadt
No. Because what you say isn't true at all. That's limiting spin. Chris Bennett wrote: > I keep seeing people not getting the idea that OpenBSD has more of a > philosophy of users needing to put out their own special efforts at > learning, vs. other OS's. > > Do you think that mentioning

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-20 Thread Chris Bennett
I keep seeing people not getting the idea that OpenBSD has more of a philosophy of users needing to put out their own special efforts at learning, vs. other OS's. Do you think that mentioning this on the homepage/FAQ would be useful? It took me quite a while to understand that myself. Realizing

Re: OpenBSD sysupgrade rocks

2020-05-20 Thread Chris Bennett
It is a great tool. This is a good example of something that anyone witha will can come up with. Propose an idea that *YOU* are capable of doing. Ask if such a thing is actually desirable, it might not be. That's OK. Do the work, a WIP is OK and submit a diff. Keep doing the work until usable

openvpn setup tutorial

2020-05-20 Thread man Chan
Hello, After a couple of days surfing the internet to get some notes to setup the openvpn, I got lost as I don't know how to start the job.  Can anyone show me some pointer to study openvpn and setup step by step ? Thanks. Clarence

OpenBSD sysupgrade rocks

2020-05-20 Thread Kanto Andria
Hello all, Just did sysupgrade on all 4 of my OpenBSD 6.6 systems. Work w/o any issue! Congrats for all the devs. 1) OpenBSD thinkCenter.my.domain 6.7 GENERIC.MP#169 i386 - cpu0: Pentium(R) Dual-Core CPU E5400 @ 2.70GHz ("GenuineIntel" 686-class) 3.40 GHz, 06-17-0a 2) OpenBSD Aromanda.my.domain

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-20 Thread Ingo Schwarze
Hi Andras, Andras Farkas wrote on Tue, May 19, 2020 at 05:26:24PM -0400: > On Mon, May 18, 2020 at 2:59 PM Ingo Schwarze wrote: >> Can somebody work through the tutorial and confirm that everything >> still works as described with our -current vi(1)? It is too >> wordy for my personal taste,

Re: openvpn setup tutorial

2020-05-20 Thread Anac
Hi Clarence, On 5/20/20 7:35 PM, man Chan wrote: > Can anyone show me some pointer to study openvpn and setup step by step ? What exactly are you trying to accomplish? A VPN server, a VPN home router or just connecting a single machine to a commercial VPN provider ...? For the latter,

Merci 6.7

2020-05-20 Thread Oliver Marugg
Hi To all devs: Many thanks for your time and expertise for this new release. Upgrading my handful servers and thinkpad went through fine. As a user I am not really able to commit fancy tech diffs (just 1 typo;-). But yesterday I have already donated some bucks to support/appreciate the

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Christian Weisgerber
On 2020-05-20, Christer Solskogen wrote: > Is that possible? umount, dump, newfs, mount, restore -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: Ansible network_cli module broke

2020-05-20 Thread Predrag Punosevac
John Doe wrote: > Installed the ansible pkg via pkg_add. I cannot get the ansible > network_cli > module to work in OpenBSD. Tried in version 6.6 and also 6.7 and both > hang > at "using connection plugin network_cli". It never times out, hangs here > forever. > > I copied my ansible

Re: OPenBSD 6.7 as a Q35 KVM guest

2020-05-20 Thread Ottavio Caruso
On Wed, 20 May 2020 at 08:34, Carlos Lopez wrote: > > Hi all, > > I just set up an OpenBSD 6.7 kvm guest on an RHEL8.2 server and selected q35 > instead of pc as a machine type. Everything seems to be working fine, except > for the network interfaces (virtio interfaces). They don't work. > >

Re[2]: Convert ffs1 to ffs2?

2020-05-20 Thread Михаил Попов
What is the best method to harden OpenBSD in a diskless mode? I am going to use Librebooted X86 amd64 + Linux for a ZFS host, in a very minimum config like: https://dev1galaxy.org/viewtopic.php?pid=21098#p21098 short (30-50cm) direct dedicated Ethernet cable between Orange PI ONE and X86

Re: openvpn setup tutorial

2020-05-20 Thread Predrag Punosevac
man Chan wrote: > Hello, > After a couple of days surfing the internet to get some notes to setup > the openvpn, I got lost as I don't know how to start the job. Can > anyone show me some pointer to study openvpn and setup step by step ? > What is an OpenBSD specific question/problem you are

Re: upgrade 6.6 -> 6.7

2020-05-20 Thread Kapetanakis Giannis
On 20/05/2020 11:23, Henrik Krysteli Semark wrote: > Did the same on my edge firewalls two days ago, with sysupgrade. > > It just works flawlessly! > +1 G

Re[2]: Convert ffs1 to ffs2?

2020-05-20 Thread Михаил Попов
According to: https://web.archive.org/web/20200520085926/https://itsfoss.com/hyperbola-linux-bsd/   They are going to add following: >We have plans on porting BTRFS, JFS2, NetBSD’s CHFS, DragonFlyBSD’s >HAMMER/HAMMER2 and the Linux kernel’s JFFS2, all of which have licenses >compatible with

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-20 Thread Sebastian Benoit
Andras Farkas(deepbluemist...@gmail.com) on 2020.05.18 13:07:36 -0400: > Not sure whether to post this on misc@ or tech@, so trying misc@ first: > > Why isn't src included on OpenBSD, perhaps as an install fileset? > Lots of documentation is unavailable outside of the /usr/src tree. [...] > This

RE: Convert ffs1 to ffs2?

2020-05-20 Thread Михаил Попов
> "Possible" is irrelevant. Lots of things are _possible_ but not done. Then only rsyncing? Why not adding at least one of a well tested journaled FS like XFS to OpenBSD? Is XFS too fat and complex to be secure? Does OpenBSD work well if system root is stored via NFS, say on a Linux ZFS?

Re: [SPAM] Re: upgrade 6.6 -> 6.7

2020-05-20 Thread Noth
On 20/05/2020 10:24, infoomatic wrote: FreeBSD/bhyve virtualization technology basically uses 2 components: the bootloader and the hypervisor. It needs some manual steps (using bhyve-grub as bootloader): *) sysupgrade -n, then shutdown *) vm.conf usually has a line like 'grub_run0="kopenbsd

Ansible network_cli module broke

2020-05-20 Thread John Doe
Installed the ansible pkg via pkg_add. I cannot get the ansible network_cli module to work in OpenBSD. Tried in version 6.6 and also 6.7 and both hang at "using connection plugin network_cli". It never times out, hangs here forever. I copied my ansible configuration files over to a fedora OS and

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Martin Schröder
Am Mi., 20. Mai 2020 um 11:41 Uhr schrieb Михаил Попов : > What is the best method to harden OpenBSD in a diskless mode? Manually converting the fs to FFS2 using ed. That's what you are interested in, right?

Re: upgrade 6.6 -> 6.7

2020-05-20 Thread Henrik Krysteli Semark
Did the same on my edge firewalls two days ago, with sysupgrade. It just works flawlessly! -- Med Venlig Hilsen / Best Regards Henrik Krysteli Semark On 19 May 2020 21.25, Ottavio Caruso wrote: > On Tue, 19 May 2020 at 17:39, infoomatic wrote: >> Hi, >> >> just for info: Upgrading from 6.6 to

Re: upgrade 6.6 -> 6.7

2020-05-20 Thread infoomatic
Hi, yes of course! All systems are running amd64 with 768MB or 1GB ram, I used sysupgrade to upgrade. The tool works, however, a short notice before rebooting would be nice. The last thing I saw was upgrading the firmware, then the ssh-connection stalled (system rebooted). After the upgrade I

Re: OPenBSD 6.7 as a Q35 KVM guest (SOLVED)

2020-05-20 Thread Carlos Lopez
Hi all another time, Problem is solved ... I had made a mistake: I had disabled the nic offloading options for this guest. By enabling them again, everything works. Many thanks. On 20/05/2020, 09:34, "Carlos Lopez" wrote: Hi all, I just set up an OpenBSD 6.7 kvm guest on an

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Andreas Kusalananda Kähäri
On Wed, May 20, 2020 at 10:44:42AM +0200, Claudio Jeker wrote: > On Wed, May 20, 2020 at 11:30:00AM +0300, Михаил Попов wrote: > > > "Possible" is irrelevant. Lots of things are _possible_ but not done. > > > > Then only rsyncing? > > There is also dump and restore. > > > Why not adding at

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Otto Moerbeek
On Wed, May 20, 2020 at 11:30:00AM +0300, Михаил Попов wrote: > > "Possible" is irrelevant. Lots of things are _possible_ but not done. > > Then only rsyncing? > > Why not adding at least one of a well tested journaled FS like XFS to OpenBSD? > Is XFS too fat and complex to be secure? > > Does

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Claudio Jeker
On Wed, May 20, 2020 at 11:30:00AM +0300, Михаил Попов wrote: > > "Possible" is irrelevant. Lots of things are _possible_ but not done. > > Then only rsyncing? There is also dump and restore. > Why not adding at least one of a well tested journaled FS like XFS to OpenBSD? > Is XFS too fat and

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Christer Solskogen
On Wed, May 20, 2020 at 9:58 AM Philip Guenther wrote: > On Tue, May 19, 2020 at 10:50 PM Christer Solskogen < > christer.solsko...@gmail.com> wrote: > >> Is that possible? >> > > "Possible" is irrelevant. Lots of things are _possible_ but not done. > "Has anyone actually written a tool to do

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Philip Guenther
On Tue, May 19, 2020 at 10:50 PM Christer Solskogen < christer.solsko...@gmail.com> wrote: > Is that possible? > "Possible" is irrelevant. Lots of things are _possible_ but not done. "Has anyone actually written a tool to do this, and would you *trust* it?" are the proper question...and the

Convert ffs1 to ffs2?

2020-05-20 Thread Christer Solskogen
Is that possible? -- chs

OPenBSD 6.7 as a Q35 KVM guest

2020-05-20 Thread Carlos Lopez
Hi all, I just set up an OpenBSD 6.7 kvm guest on an RHEL8.2 server and selected q35 instead of pc as a machine type. Everything seems to be working fine, except for the network interfaces (virtio interfaces). They don't work. On the other hand, if I modify q35 by pc, everything works