From d625f075982d75cdef47f365bd91fc466ae1a2d7 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 17 Apr 1997 10:02:03 +0000 Subject: [PATCH] writeable root anyone? --- distrib/i386/floppies/ramdisk/dot.profile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/distrib/i386/floppies/ramdisk/dot.profile b/distrib/i386/floppies/ramdisk/dot.profile index 19a56982f33..7dc5eee25ca 100644 --- a/distrib/i386/floppies/ramdisk/dot.profile +++ b/distrib/i386/floppies/ramdisk/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.2 1997/04/17 02:10:45 niklas Exp $ +# $OpenBSD: dot.profile,v 1.3 1997/04/17 10:02:03 deraadt Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -33,6 +33,8 @@ PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ export PATH TERM=pc3 export TERM +HOME=/ +export HOME umask 022 @@ -44,6 +46,8 @@ if [ "X${DONEPROFILE}" = "X" ]; then stty newcrt werase ^W intr ^C kill ^U erase ^? 9600 echo '' + mount /dev/rd0a / + # mount the kern_fs so that we can examine the dmesg state mount -t kernfs /kern /kern -- 2.20.1