Re: su - root => segmentation fault

2019-08-02 Thread dmitry.sensei
But we have some bug in heimdal's su  пт, 2 авг. 2019 г., 20:27 dmitry.sensei : > Ok. Thanks. > > пт, 2 авг. 2019 г., 20:25 Stuart Henderson : > >> On 2019-08-02, dmitry.sensei wrote: >> > Lol! >> > ORLOV-NB$ kdump -f ktrace.out >> > 58118 ktrace RET ktrace 0 >> > 58118 ktrace CALL >>

Re: su - root => segmentation fault

2019-08-02 Thread dmitry.sensei
Ok. Thanks. пт, 2 авг. 2019 г., 20:25 Stuart Henderson : > On 2019-08-02, dmitry.sensei wrote: > > Lol! > > ORLOV-NB$ kdump -f ktrace.out > > 58118 ktrace RET ktrace 0 > > 58118 ktrace CALL > execve(0x7f7d9100,0x7f7d9710,0x7f7d9730) > > 58118 ktrace NAMI

Re: su - root => segmentation fault

2019-08-02 Thread Stuart Henderson
On 2019-08-02, dmitry.sensei wrote: > Lol! > ORLOV-NB$ kdump -f ktrace.out > 58118 ktrace RET ktrace 0 > 58118 ktrace CALL execve(0x7f7d9100,0x7f7d9710,0x7f7d9730) > 58118 ktrace NAMI "*/usr/local/heimdal/bin/su*" > 58118 ktrace ARGS > [0] = "su" > [1]

Re: su - root => segmentation fault

2019-08-02 Thread dmitry.sensei
Lol! ORLOV-NB$ kdump -f ktrace.out 58118 ktrace RET ktrace 0 58118 ktrace CALL execve(0x7f7d9100,0x7f7d9710,0x7f7d9730) 58118 ktrace NAMI "*/usr/local/heimdal/bin/su*" 58118 ktrace ARGS [0] = "su" [1] = "-" [2] = "root" ORLOV-NB$ whereis su

Re: su - root => segmentation fault

2019-08-01 Thread dmitry.sensei
Amd64 from 30 jul. What does the "your kernel does not match the userspace" mean? ср, 31 июл. 2019 г., 19:22 Gregory Edigarov : > On 31.07.19 17:00, Solene Rapenne wrote: > > On Wed, Jul 31, 2019 at 04:49:54PM +0500, dmitry.sensei wrote: > >> Hi! > >> why did it happen? > >> > >> OpenBSD 6.5

Re: su - root => segmentation fault

2019-07-31 Thread Gregory Edigarov
On 31.07.19 17:00, Solene Rapenne wrote: On Wed, Jul 31, 2019 at 04:49:54PM +0500, dmitry.sensei wrote: Hi! why did it happen? OpenBSD 6.5 current $su - root root's password: Segmentation fault $ doas su - root # -- Dmitry Orlov what current? What arch? works for me© OpenBSD 6.5-current

Re: su - root => segmentation fault

2019-07-31 Thread Solene Rapenne
On Wed, Jul 31, 2019 at 04:49:54PM +0500, dmitry.sensei wrote: > Hi! > why did it happen? > > OpenBSD 6.5 current > $su - root > root's password: > Segmentation fault > $ doas su - root > # > > -- > Dmitry Orlov what current? What arch? works for me© OpenBSD 6.5-current (GENERIC.MP) #153: Sun

Re: Adding root CA

2017-10-13 Thread Stuart Henderson
On 2017-10-13, Allan Streib wrote: > "Bryan C. Everly" writes: > >> Where I work, we are required to install a self-signed root CA into >> our machines in order to access https sites on the Internet. It >> basically allows our security appliances to

Re: Adding root CA

2017-10-13 Thread Allan Streib
"Bryan C. Everly" writes: > Where I work, we are required to install a self-signed root CA into > our machines in order to access https sites on the Internet. It > basically allows our security appliances to do a MITM attack on the > traffic and look into it to examine

Re: Encrypted root - booting problems on USB3 only

2015-06-19 Thread Peter Pauly
I tried reinstalling to the USB drive from the current snapshot. This time it just hangs at root device: . UEFI can find the USB3 stick to boot from, but it cannot be found to mount it as root. I installed again without using encryption and got the same result. It hangs at root device: . When

Re: INVALID ROOT NODE

2014-12-10 Thread Stuart Henderson
On 2014-12-09, Philip Guenther guent...@gmail.com wrote: On Sun, Nov 30, 2014 at 2:48 AM, Max Power open...@cpnetserver.net wrote: I have a CRYPTO - RAID 1 softraid device /dev/sd4a [3TB OpenBSD 5.6/amd64] on which I have about 1,400,000 files and I've never had problems reading or writing.

Re: INVALID ROOT NODE

2014-12-08 Thread Philip Guenther
On Sun, Nov 30, 2014 at 2:48 AM, Max Power open...@cpnetserver.net wrote: I have a CRYPTO - RAID 1 softraid device /dev/sd4a [3TB OpenBSD 5.6/amd64] on which I have about 1,400,000 files and I've never had problems reading or writing. If, however, launch the tree command, eg. tree c *, returns

Re: Changing root password from stdin value

2014-10-09 Thread Sébastien Marie
On Thu, Oct 09, 2014 at 06:22:05PM +0100, Nux! wrote: Hello, I'm trying to get some scripts working which would take a password from stdin and set it for root. In Linux passwd --stdin is used, in FreeBSD pw mod user root -h 0. How would I do this in OpenBSD? Thanks, Lucian Hi, You

Re: Changing root password from stdin value

2014-10-09 Thread Nux!
Thanks, that worked great! Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Sébastien Marie semarie-open...@latrappe.fr To: Nux! n...@li.nux.ro Cc: misc@openbsd.org Sent: Thursday, 9 October, 2014 18:48:54 Subject: Re

Re: Changing root password from stdin value

2014-10-09 Thread Nick Holland
On 10/09/14 13:21, Nux! wrote: Hello, I'm trying to get some scripts working which would take a password from stdin and set it for root. In Linux passwd --stdin is used, in FreeBSD pw mod user root -h 0. How would I do this in OpenBSD? Thanks, Lucian in addition to the already provided

Re: Changing root password from stdin value

2014-10-09 Thread Артур Истомин
On Thu, Oct 09, 2014 at 02:23:54PM -0400, Nick Holland wrote: On 10/09/14 13:21, Nux! wrote: Hello, I'm trying to get some scripts working which would take a password from stdin and set it for root. In Linux passwd --stdin is used, in FreeBSD pw mod user root -h 0. How would I do this in

Re: Migrate Root Partition to another disk

2013-05-14 Thread Otto Moerbeek
On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote: Hi, I have added a second hard drive in my virtual machine, as my root partition is full. My idea was to add a new disk to the system, then migrate the root partition to the new disk. What I did so far : - In recovery, add the

Re: Migrate Root Partition to another disk

2013-05-14 Thread Adrien
Thanks. I have mounted my new hard drive to /mnt. Then I ran : /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 Telling me that /boot will be written at sector 64. But I'm still booting with my old hdd :( Tried to enter boot hd1k:/bsd at boot prompt but it's telling me that no such

Re: Migrate Root Partition to another disk

2013-05-14 Thread Otto Moerbeek
On Tue, May 14, 2013 at 01:06:27PM +0200, Adrien wrote: Thanks. I have mounted my new hard drive to /mnt. You don't mount hard drives, you mount partititons. Tell us exactly what you did and show command output of fdisk and disklabel. Without that info, we can only guess. -Otto

Re: Migrate Root Partition to another disk

2013-05-14 Thread Adrien
OK, so : 1. Added new hdd within my virtual machine. 2. Started virtual machine, initialized the disk with fdisk : root@bsd:~# fdisk -i sd2 Do you wish to write new MBR and partition table? [n] y Writing MBR at offset 0. 3. Added new slice with Disklabel root@bsd:~# disklabel -E sd2 Label

Re: Migrate Root Partition to another disk

2013-05-14 Thread Otto Moerbeek
On Tue, May 14, 2013 at 03:52:03PM +0200, Adrien wrote: OK, so : 1. Added new hdd within my virtual machine. 2. Started virtual machine, initialized the disk with fdisk : root@bsd:~# fdisk -i sd2 Do you wish to write new MBR and partition table? [n] y Writing MBR at offset 0. 3.

Re: Migrate Root Partition to another disk

2013-05-14 Thread Adrien
I'm really ashamed about that, I told it the wrong diskMy bad All is working correctly now, a big thanks for your hints. Here the final steps I did, for anyone else who might be interested : - I forgot to edit my /etc/fstab before rebooting. So my system was mounted as read-only,

Re: ksh's HISTFILE [was: Re: SSH, root can repeat commands with up arrow, others cannot]

2012-03-14 Thread Nicholas Marriott
I dunno, I hadn't really noticed this behaviour but now that you point it out I kind of like it, apologist or not. It frequently annoys me with bash that I lose $LONGCOMMAND I typed in one shell because I exited it, it's nice to be able to search for and find it in existing shells as well. Maybe

ksh's HISTFILE [was: Re: SSH, root can repeat commands with up arrow, others cannot]

2012-03-13 Thread Hugo Villeneuve
On Mon, Mar 12, 2012 at 01:03:54PM +0200, lilit-aibolit wrote: 11.03.2012 21:43, Chris Bennett P?P8QP5Q: 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

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

2012-03-12 Thread Stuart Henderson
On 2012-03-11, Tobias Ulmer tobi...@tmux.org wrote: On Sun, Mar 11, 2012 at 02:43:42PM -0500, 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

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

2012-03-12 Thread Stuart Henderson
On 2012-03-11, Chris Bennett ch...@bennettconstruction.us wrote: On Sun, Mar 11, 2012 at 09:02:58PM +0100, Tobias Ulmer wrote: You most likely set EDITOR to something containing vi. ksh parses that and switches to vi mode. IMO it's a disgusting feature, but that appears to be just me.

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

2012-03-12 Thread Stuart Henderson
to be clear, this doesn't change anything unless the optional new variable is set. users who are happy with the current behaviour should just leave things as they are. On 2012-03-12, Stuart Henderson s...@spacehopper.org wrote: On 2012-03-11, Tobias Ulmer tobi...@tmux.org wrote: On Sun, Mar 11,

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

2012-03-12 Thread lilit-aibolit
11.03.2012 21:43, Chris Bennett P?P8QP5Q: 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

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

2012-03-12 Thread Chris Bennett
On Mon, Mar 12, 2012 at 10:09:13AM +, Stuart Henderson wrote: I've wasted countless time because of this feature, it's probably my no.1 annoyance with the OS. It used to be possible to set this in a file sourced via ENV so it could be applied automatically, but sudo now (rightly)

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

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

2012-03-11 Thread patrick keshishian
On Sun, Mar 11, 2012 at 12:43 PM, Chris Bennett ch...@bennettconstruction.us 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

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

2012-03-11 Thread Tobias Ulmer
On Sun, Mar 11, 2012 at 02:43:42PM -0500, 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

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

2012-03-11 Thread Andres Perera
On Sun, Mar 11, 2012 at 3:32 PM, Tobias Ulmer tobi...@tmux.org wrote: On Sun, Mar 11, 2012 at 02:43:42PM -0500, 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

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

2012-03-11 Thread Chris Bennett
On Sun, Mar 11, 2012 at 09:02:58PM +0100, Tobias Ulmer wrote: You most likely set EDITOR to something containing vi. ksh parses that and switches to vi mode. IMO it's a disgusting feature, but that appears to be just me. Wow, that is a disgusting pile of crap! alias mutt='env EDITOR=vim

Re: Copy root partition to another machine

2011-11-07 Thread Benny Lofgren
On 2011-11-06 21.42, David Vasek wrote: On Sun, 6 Nov 2011, Benny Lofgren wrote: On 2011-11-06 18.00, Bambero wrote: Thanks, but without skip=1 dd will copy partition table and mbr too (first block 521b). So it may damage my partition table on second machine. I'm I wrong ? No, you will not

Re: Copy root partition to another machine

2011-11-07 Thread Otto Moerbeek
On Mon, Nov 07, 2011 at 03:54:14PM +0100, Benny Lofgren wrote: On 2011-11-06 21.42, David Vasek wrote: On Sun, 6 Nov 2011, Benny Lofgren wrote: On 2011-11-06 18.00, Bambero wrote: Thanks, but without skip=1 dd will copy partition table and mbr too (first block 521b). So it may damage

Re: Copy root partition to another machine

2011-11-07 Thread Raimo Niskanen
On Mon, Nov 07, 2011 at 04:03:37PM +0100, Otto Moerbeek wrote: On Mon, Nov 07, 2011 at 03:54:14PM +0100, Benny Lofgren wrote: On 2011-11-06 21.42, David Vasek wrote: On Sun, 6 Nov 2011, Benny Lofgren wrote: On 2011-11-06 18.00, Bambero wrote: Thanks, but without skip=1 dd will copy

Re: Copy root partition to another machine

2011-11-06 Thread Bambero
Thanks, but without skip=1 dd will copy partition table and mbr too (first block 521b). So it may damage my partition table on second machine. I'm I wrong ? On Fri, Nov 4, 2011 at 6:25 PM, Marc Smith marc_sm...@gmx.com wrote: dd if=/dev/wd0a of=root.img bs=32m [or compress it using: dd

Re: Copy root partition to another machine

2011-11-06 Thread Marc Smith
Well, to me the point of using DD is to save everything in one file: filesystem, boot sectors, etc. Otherwise I'd probobly use dump, as someone else suggested, or other backup tool. Saving additional info [MBR, PBR] is not a problem, you can always restore your system using 'skip' parameter

Re: Copy root partition to another machine

2011-11-06 Thread Benny Lofgren
On 2011-11-06 18.00, Bambero wrote: Thanks, but without skip=1 dd will copy partition table and mbr too (first block 521b). So it may damage my partition table on second machine. I'm I wrong ? No, you will not copy the partition table with your command, since you are using wd0a. That partition

Re: Copy root partition to another machine

2011-11-06 Thread David Vasek
On Sun, 6 Nov 2011, Benny Lofgren wrote: On 2011-11-06 18.00, Bambero wrote: Thanks, but without skip=1 dd will copy partition table and mbr too (first block 521b). So it may damage my partition table on second machine. I'm I wrong ? No, you will not copy the partition table with your

Re: Copy root partition to another machine

2011-11-04 Thread Marc Smith
dd if=/dev/wd0a of=root.img bs=32m [or compress it using: dd if=/dev/wd0a bs=32m | gzip root.img.gz] and dd if=root.img of=/dev/wd0a bs=32m [decompression: gzip -d -c root.img.gz | dd of=/dev/wd0a bs=32m] And yes, you can ommit additional values. Dnia piD, 4 lis 2011, 17:43:28 Bambero

Re: Copy root partition to another machine

2011-11-04 Thread Josh Grosse
Bambero bambero at gmail.com writes: Hello I want to copy my root partition to another with dd without ssh. Is this correct: 1. On first machine: dd if=/dev/rwd0a of=root.img bs=16b skip=1 conv=noerror 2. On second machine: dd if=root.img of=/dev/rwd0a bs=16b seek=1 May/should I

Re: Copy root partition to another machine

2011-11-04 Thread Norman Golisz
On Fri Nov 4 2011 17:43, Bambero wrote: Hello I want to copy my root partition to another with dd without ssh. Is this correct: 1. On first machine: dd if=/dev/rwd0a of=root.img bs=16b skip=1 conv=noerror 2. On second machine: dd if=root.img of=/dev/rwd0a bs=16b seek=1 May/should

Re: ports/root/make install

2010-10-21 Thread J Sisson
On Thu, Oct 21, 2010 at 12:20 PM, Jay K jay.kr...@cornell.edu wrote: ssh r...@localhost cd `pwd` make install From man mk.conf: SUDO Command run by make(1) when doing certain operations requiring root privileges (e.g. the

Re: ports/root/make install

2010-10-21 Thread Jay K
sudo won't work for me -- root password is *. I'll have to try it with ssh r...@localhost, which will work. Thanks, - Jay Date: Thu, 21 Oct 2010 12:30:32 -0500 Subject: Re: ports/root/make install From: sisso...@gmail.com To: jay.kr...@cornell.edu CC: misc

Re: ports/root/make install

2010-10-21 Thread Tomas Bodzar
you need to read at least man afterboot Thanks, B - Jay Date: Thu, 21 Oct 2010 12:30:32 -0500 Subject: Re: ports/root/make install From: sisso...@gmail.com To: jay.kr...@cornell.edu CC: misc@openbsd.org On Thu, Oct 21, 2010 at 12:20 PM, Jay K wrote

Re: ports/root/make install

2010-10-21 Thread Dan Harnett
On Thu, Oct 21, 2010 at 05:33:24PM +, Jay K wrote: sudo won't work for me -- root password is *. I'll have to try it with ssh r...@localhost, which will work. sudo prompts you for the password to your user account, not the root account. Also, you can setup sudo to not require a password

Re: ports/root/make install

2010-10-21 Thread Ted Unangst
On Thu, Oct 21, 2010 at 1:33 PM, Jay K jay.kr...@cornell.edu wrote: sudo won't work for me -- root password is *. The root password has nothing to do with sudo.

Re: ports/root/make install

2010-10-21 Thread Jay K
I thought it'd need me to enter it. And there isn't one. Thanks, - Jay Date: Thu, 21 Oct 2010 15:09:25 -0400 Subject: Re: ports/root/make install From: ted.unan...@gmail.com To: jay.kr...@cornell.edu CC: sisso...@gmail.com; misc@openbsd.org On Thu, Oct 21, 2010 at 1:33 PM, Jay K jay.kr

Re: ports/root/make install

2010-10-21 Thread roberth
On Thu, 21 Oct 2010 19:25:42 + Jay K jay.kr...@cornell.edu wrote: I thought it'd need me to enter it. And there isn't one. Thanks, - Jay Date: Thu, 21 Oct 2010 15:09:25 -0400 Subject: Re: ports/root/make install From: ted.unan...@gmail.com To: jay.kr...@cornell.edu CC

Re: Change root password from shell-script

2010-01-28 Thread Julian Leyh
Am 27.01.10 18:14, schrieb Paul Branston: A little more generic in case there is no usermod -p PASSWORD=$(echo my_new_password | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow /etc/shadow: no such file

Re: Change root password from shell-script

2010-01-27 Thread Gregory Edigarov
On Wed, 27 Jan 2010 17:05:17 +0100 Jordi Espasa Clofent jordi.esp...@opengea.org wrote: HI all, ?Is there any way t change the root password using a shell-script (aka non-interactive mod as passwd uses)? I've used pw in FreeBSD and chpasswd in Debian GNU/Linux to do it, bit I've not

Re: Change root password from shell-script

2010-01-27 Thread Jordi Espasa Clofent
Have you looked at man usermod? -p flag in particular. Shame on me, indeed. It has been a game: #!/bin/sh PASSWORD=$(echo my_new_password | encrypt -b 6) usermod -p $PASSWORD root Thanks. -- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I

Re: Change root password from shell-script

2010-01-27 Thread Paul Branston
On Wed, Jan 27, 2010 at 05:48:15PM +0100, Jordi Espasa Clofent wrote: Have you looked at man usermod? -p flag in particular. Shame on me, indeed. It has been a game: #!/bin/sh PASSWORD=$(echo my_new_password | encrypt -b 6) usermod -p $PASSWORD root A little more generic in case there is

Re: Change root password from shell-script

2010-01-27 Thread Brynet
Paul Branston wrote: A little more generic in case there is no usermod -p PASSWORD=$(echo my_new_password | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow Wow, Question: are you even using OpenBSD? -Bryan.

Re: Change root password from shell-script

2010-01-27 Thread Chris Dukes
On Wed, Jan 27, 2010 at 05:14:51PM +, Paul Branston wrote: On Wed, Jan 27, 2010 at 05:48:15PM +0100, Jordi Espasa Clofent wrote: Have you looked at man usermod? -p flag in particular. Shame on me, indeed. It has been a game: #!/bin/sh PASSWORD=$(echo my_new_password | encrypt -b

Re: the root is on

2010-01-18 Thread Manuel Giraud
Brad Tilley b...@16systems.com writes: Not sure I understand, but I have similar softraid crypto setups and there's no need to boot bsd.rd to edit /etc/fstab. When booting bsd or bsd.mp and you are dumped to sh to run bioctl, use ed to correct /etc/fstab there. Yes, but I cannot edit

Re: the root is on

2010-01-18 Thread Manuel Giraud
Raimo Niskanen raimo+open...@erix.ericsson.se writes: You can always mount -t ffs / /dev/sd1a. Thanks for that! I didn't want to mess the real /etc/rc so I end up with the following script that I put in /bin. #!/bin/ksh set_kbd() { local _layout _resp _default=1 [[ -x /sbin/kbd ]]

Re: the root is on

2010-01-18 Thread Raimo Niskanen
On Mon, Jan 18, 2010 at 01:14:53PM +0100, Manuel Giraud wrote: Brad Tilley b...@16systems.com writes: Not sure I understand, but I have similar softraid crypto setups and there's no need to boot bsd.rd to edit /etc/fstab. When booting bsd or bsd.mp and you are dumped to sh to run bioctl,

Re: the root is on

2010-01-16 Thread Manuel Giraud
Otto Moerbeek o...@drijf.net writes: Here's a probably stupid question: since the kernel can detect the root on sd0a why is there still a need for fstab entry for it? Because you might want to specify mount options, or an alternate root. In fact, I was wondering because I have installed

Re: the root is on

2010-01-16 Thread Brad Tilley
On Sat, 16 Jan 2010 14:37 +0100, Manuel Giraud manuel.gir...@univ-nantes.fr wrote: Otto Moerbeek o...@drijf.net writes: Here's a probably stupid question: since the kernel can detect the root on sd0a why is there still a need for fstab entry for it? Because you might want to specify

Re: the root is on

2010-01-15 Thread Ted Unangst
On Fri, Jan 15, 2010 at 11:50 AM, Manuel Giraud manuel.gir...@univ-nantes.fr wrote: Here's a probably stupid question: since the kernel can detect the root on sd0a why is there still a need for fstab entry for it? Maybe you want to use softdep.

Re: the root is on

2010-01-15 Thread Otto Moerbeek
On Fri, Jan 15, 2010 at 05:50:21PM +0100, Manuel Giraud wrote: Hi, Here's a probably stupid question: since the kernel can detect the root on sd0a why is there still a need for fstab entry for it? Because you might want to specify mount options, or an alternate root. -Otto

Re: Local root exploit for FreeBSD

2009-12-03 Thread Ted Unangst
On Fri, Dec 4, 2009 at 1:13 AM, Fernando Quintero fernando.a.quint...@gmail.com wrote: Do you read it? http://seclists.org/fulldisclosure/2009/Dec/16 What about OpenBSD ?, Is it vuln? Reading the code for _dl_unsetenv it looks like it correctly smushes all copies of the variable. The

Re: current /root/.login question

2009-07-12 Thread Philip Guenther
On Fri, Jul 10, 2009 at 10:12 AM, Emilio Pereaepe...@walkereng.com wrote: There have been some changes to the default /root/.login recently that I don't understand, and hope someone can enlighten me. On my oldest server, the root shell is still csh, so the change is very noticeable: Using

Re: current /root/.login question

2009-07-12 Thread Emilio Perea
On Sun, Jul 12, 2009 at 05:04:58PM -0700, Philip Guenther wrote: On Fri, Jul 10, 2009 at 10:12 AM, Emilio Pereaepe...@walkereng.com wrote: There have been some changes to the default /root/.login recently that I don't understand, and hope someone can enlighten me. On my oldest server, the

Re: Reset root password on system with console insecure?

2009-02-06 Thread Jacob Yocom-Piatt
bofh wrote: On Thu, Feb 5, 2009 at 1:38 PM, Pierre Riteau pierre.rit...@gmail.com wrote: Or learn to use ed :) My god, ed? He should be editing the file on the hard drive by hand, poking it in with dip switches! so you've never had to edit text files with only programs under

Re: Reset root password on system with console insecure?

2009-02-06 Thread Phusion
On Thu, Feb 5, 2009 at 7:44 AM, Hannah Schroeter han...@schlund.de wrote: Hi! On Thu, Feb 05, 2009 at 02:39:18PM +0100, Hannah Schroeter wrote: On Thu, Feb 05, 2009 at 07:27:56AM -0600, Phusion wrote: I am looking for advice on how to reset the root password on an OpenBSD system that has

Re: Reset root password on system with console insecure?

2009-02-05 Thread Hannah Schroeter
Hi! On Thu, Feb 05, 2009 at 07:27:56AM -0600, Phusion wrote: I am looking for advice on how to reset the root password on an OpenBSD system that has console set to insecure in /etc/ttys. I have booted off the install CD and into the shell and mounted the / partition read-write, but don't have

Re: Reset root password on system with console insecure?

2009-02-05 Thread Hannah Schroeter
Hi! On Thu, Feb 05, 2009 at 02:39:18PM +0100, Hannah Schroeter wrote: On Thu, Feb 05, 2009 at 07:27:56AM -0600, Phusion wrote: I am looking for advice on how to reset the root password on an OpenBSD system that has console set to insecure in /etc/ttys. I have booted off the install CD and into

Re: Reset root password on system with console insecure?

2009-02-05 Thread Pierre Riteau
On Thu, Feb 05, 2009 at 02:44:49PM +0100, Hannah Schroeter wrote: Hi! On Thu, Feb 05, 2009 at 02:39:18PM +0100, Hannah Schroeter wrote: On Thu, Feb 05, 2009 at 07:27:56AM -0600, Phusion wrote: I am looking for advice on how to reset the root password on an OpenBSD system that has console

Re: Reset root password on system with console insecure?

2009-02-05 Thread bofh
On Thu, Feb 5, 2009 at 1:38 PM, Pierre Riteau pierre.rit...@gmail.com wrote: Or learn to use ed :) My god, ed? He should be editing the file on the hard drive by hand, poking it in with dip switches! -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This

Re: Reset root password on system with console insecure?

2009-02-05 Thread Grumpy
Or learn to use ed :) My god, ed? He should be editing the file on the hard drive by hand, poking it in with dip switches! Dip switches? Back in my time, we had to use magnets. Kids are so spoiled those days... Grumpy

Re: Reset root password on system with console insecure?

2009-02-05 Thread bofh
On Thu, Feb 5, 2009 at 2:24 PM, Grumpy gru...@grumble-bubble.org wrote: Or learn to use ed :) My god, ed? He should be editing the file on the hard drive by hand, poking it in with dip switches! Dip switches? Back in my time, we had to use magnets. Kids are so spoiled those days...

Re: ftpchroot root directories

2008-05-08 Thread Joachim Schipper
On Thu, May 08, 2008 at 02:52:50PM -0700, David Newman wrote: Greetings. I'm setting up ftp access* for a number of users to a directory structure like this (assume / is an alias for the top of the tree): Username directory perms user1/ rw user2

Re: cwm: root window unavailable

2008-01-14 Thread Martin Toft
On Sat, Jan 12, 2008 at 08:32:50PM +0100, Martin Toft wrote: Hi, when starting X (and thereby cwm due to my .xinitrc), I get the following error: cwm: root window unavailable - perhaps another wm is running? It happens right after boot up, where I'm sure no other wm is running. My

Re: cwm: root window unavailable

2008-01-14 Thread Jan Stary
On Jan 14 14:55:32, Martin Toft wrote: On Sat, Jan 12, 2008 at 08:32:50PM +0100, Martin Toft wrote: when starting X (and thereby cwm due to my .xinitrc), I get the following error: cwm: root window unavailable - perhaps another wm is running? cwm echoes the error message above and

Re: cwm: root window unavailable

2008-01-14 Thread Martin Toft
On Mon, Jan 14, 2008 at 03:54:33PM +0100, Jan Stary wrote: On Jan 14 14:55:32, Martin Toft wrote: cwm echoes the error message above and terminates if xbindkeys is running. My solution at the moment is to not use xbindkeys... This is strange. I am running xbindkeys and it never bothered

Re: cwm: root window unavailable

2008-01-14 Thread Owain Ainsworth
On Mon, Jan 14, 2008 at 05:35:25PM +0100, Martin Toft wrote: After a bit of poking around, I've discovered that the error only occurs if I define one or more short cuts using xbindkeys that use the same keys as the short cuts in cwm do. I guess this behaviour should be expected, even though I

Re: cwm: root window unavailable

2008-01-13 Thread Martin Toft
On Sat, Jan 12, 2008 at 08:32:50PM +0100, Martin Toft wrote: Hi, when starting X (and thereby cwm due to my .xinitrc), I get the following error: cwm: root window unavailable - perhaps another wm is running? It happens right after boot up, where I'm sure no other wm is running. My

Re: copy root disk from IDE to scsi

2007-12-10 Thread Nick Guenther
On Dec 10, 2007 5:40 AM, Khalid Schofield [EMAIL PROTECTED] wrote: Hi, random question. I've a sun system running obsd 4.2. I though I didn' have a scsi card with openfirmware so I installed on an IDE disk and spent ages configuring the system. It's a mail server also so I don't have the time

Re: lost root account

2007-11-19 Thread Gilles Chehade
On Mon, Nov 19, 2007 at 08:18:47PM +0100, Jumping Mouse wrote: Hi there, I have inherited an openBSD machine with no root account. When I boot up in single user mode boot -s and do a cat /etc/master.passwd | root the only thing I get is: daemon:*:1:1::0:0:The devil

Re: lost root account

2007-11-19 Thread Marcus Andree
Boot your machine in single user mode (boot -s) and use plain vi and pwd_mkdb soon after that. There's no need to use vipw when running in boot -s. On Nov 19, 2007 5:18 PM, Jumping Mouse [EMAIL PROTECTED] wrote: Hi there, I have inherited an openBSD machine with no root account. When I boot

Re: lost root account

2007-11-19 Thread Juan Miscaro
--- Jumping Mouse [EMAIL PROTECTED] wrote: Hi there, I have inherited an openBSD machine with no root account. When I boot up in single user mode boot -s and do a cat /etc/master.passwd | root the only thing I get is: daemon:*:1:1::0:0:The devil himself:/root:/sbin/nologin I can't

Re: lost root account

2007-11-19 Thread Jumping Mouse
17:41:01 -0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; misc@openbsd.org Subject: Re: lost root account Boot your machine in single user mode (boot -s) and use plain vi and pwd_mkdb soon after that. There's no need to use vipw when running in boot -s. On Nov 19, 2007 5:18 PM, Jumping Mouse

Re: lost root account

2007-11-19 Thread Jumping Mouse
thanks Juan, faq8.1 shows me how to reset my root passord but i could not find anything on recreating the root account. Perhaps I am missing something? Date: Mon, 19 Nov 2007 14:36:18 -0500 From: [EMAIL PROTECTED] Subject: Re: lost root account To: [EMAIL PROTECTED]; misc@openbsd.org

Re: lost root account

2007-11-19 Thread Nick Holland
Jumping Mouse wrote: Hi there, I have inherited an openBSD machine with no root account. When I boot up in single user mode boot -s and do a cat /etc/master.passwd | root I presume there's a grep missing in there. :) the only thing I get is: daemon:*:1:1::0:0:The devil

Re: lost root account

2007-11-19 Thread Jason McIntyre
On Mon, Nov 19, 2007 at 04:20:22PM -0500, Nick Holland wrote: /etc/ptmp isn't documented in vipw (it probably should be), but it is covered in passwd(1). It should also be documented in faq8.html, I'll try to fix that this evening. :) cvs up! that is to say, i agree, and just added it.

Re: lost root account

2007-11-19 Thread Jumping Mouse
. From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; misc@openbsd.org Subject: Re: lost root account Date: Mon, 19 Nov 2007 21:37:19 +0100 Hi Marcus, I thought it was enough to add the root account through vipw. that this edits the master.passwd file and would automatically update everything else? how

Re: [solved] Re: RAIDFrame root autoconfig fails in -current

2007-06-15 Thread Otto Moerbeek
On Thu, 14 Jun 2007, Josh Grosse wrote: This thread had started with a root-on-raid problem, where the disklabel was not being acquired properly. Ken Westerback determined that I'd had a disklabel marked as Version 1, but I had values from Version 0 for my failing partitions. Editing the

[solved] Re: RAIDFrame root autoconfig fails in -current

2007-06-14 Thread Josh Grosse
This thread had started with a root-on-raid problem, where the disklabel was not being acquired properly. Ken Westerback determined that I'd had a disklabel marked as Version 1, but I had values from Version 0 for my failing partitions. Editing the disklabel and replacing fsize/bsize/cpg seemed

Re: RAIDFrame root autoconfig fails in -current

2007-06-13 Thread Nick Bender
I have current running under VMWare Server using both single and multiprocessor raidframe enabled kernels (dmsgs below). As far as I can tell everything is working and softraid is not causing any issues with raidframe autoconfiguration. I'll try and test on VMWare ESX tomorrow - that emulates

Re: RAIDFrame root autoconfig fails in -current

2007-06-12 Thread Kenneth R Westerback
On Mon, Jun 11, 2007 at 02:10:34PM -0400, Brian A. Seklecki wrote: On Mon, 11 Jun 2007, Otto Moerbeek wrote: Please contact krw@, he has been searching testers for RAIDframe root autoconfig on [EMAIL PROTECTED] There's even a diff posted there, iirc. I'm your point-man there. A while

Re: RAIDFrame root autoconfig fails in -current

2007-06-12 Thread Josh Grosse
On Tue, Jun 12, 2007 at 08:36:03AM -0400, Kenneth R Westerback wrote: I committed the diff to raidframe to 'fix' raidgetdisklabel() so it behaves/gets used like other drivers. It should be in snapshots after today. Unfortunately, this patch to rf_openbsdkintf.c didn't solve whatever problem

Re: RAIDFrame root autoconfig fails in -current

2007-06-11 Thread Stuart Henderson
On 2007/06/11 13:00, Josh Grosse wrote: Running i386-current with a 26-May build everything is fine. I just built a new kernel today, and got: softraidtm* is in GENERIC now and it autoconfigures; it may be causing a conflict with raidframe since they both use partitions with type raid. If you

Re: RAIDFrame root autoconfig fails in -current

2007-06-11 Thread Brian A. Seklecki
On Mon, 11 Jun 2007, Otto Moerbeek wrote: Please contact krw@, he has been searching testers for RAIDframe root autoconfig on [EMAIL PROTECTED] There's even a diff posted there, iirc. I'm your point-man there. A while back I wrote 3 pages of technical detritus on making it work in 3.9/4.0.

Re: RAIDFrame root autoconfig fails in -current

2007-06-11 Thread Otto Moerbeek
On Mon, 11 Jun 2007, Brian A. Seklecki wrote: On Mon, 11 Jun 2007, Otto Moerbeek wrote: Please contact krw@, he has been searching testers for RAIDframe root autoconfig on [EMAIL PROTECTED] There's even a diff posted there, iirc. I'm your point-man there. A while back I wrote 3

Re: RAIDFrame root autoconfig fails in -current

2007-06-11 Thread Nick Bender
On 6/11/07, Otto Moerbeek [EMAIL PROTECTED] wrote: On Mon, 11 Jun 2007, Brian A. Seklecki wrote: On Mon, 11 Jun 2007, Otto Moerbeek wrote: Please contact krw@, he has been searching testers for RAIDframe root autoconfig on [EMAIL PROTECTED] There's even a diff posted there, iirc. I'm

Re: RAIDFrame root autoconfig fails in -current

2007-06-11 Thread Josh Grosse
On Mon, Jun 11, 2007 at 06:48:22PM +0100, Stuart Henderson wrote: softraidtm* is in GENERIC now and it autoconfigures; it may be causing a conflict with raidframe since they both use partitions with type raid. If you want to try disabling it, it's in the MI kernel config, /sys/conf/GENERIC.

  1   2   >