From: deraadt Date: Thu, 17 Apr 1997 10:02:03 +0000 (+0000) Subject: writeable root anyone? X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d625f075982d75cdef47f365bd91fc466ae1a2d7;p=openbsd writeable root anyone? --- 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