From: Peter Jones <pjones@xxxxxxxxxx> ssh was already droping you there (though I'm not entirely sure where the directory is coming from in that case), and you'd not have .bash_history and .profile and .gdbinit. So now everything uses /root , and you get the stuff you might expect. --- scripts/upd-instroot | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/upd-instroot b/scripts/upd-instroot index c6889da..730b102 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -1005,6 +1005,7 @@ mkdir -p $DEST/firmware mkdir -p $DEST/lib mkdir -p $DEST/modules mkdir -p $DEST/proc +mkdir -m 0700 $DEST/root mkdir -p $DEST/selinux mkdir -p $DEST/sys mkdir -p $DEST/tmp @@ -1247,13 +1248,13 @@ directory = /mnt/sysimage/etc directory = /mnt/sysimage/etc EOF -cat > $DEST/.profile <<EOF +cat > $MBD_DIR/root/.profile <<EOF PS1="[anaconda \u@\h \W]\\\\$ " PATH=/bin:/usr/bin:/usr/sbin:/mnt/sysimage/sbin:/mnt/sysimage/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin export PATH PS1 EOF -cat > $DEST/.bash_history <<EOF +cat > $DEST/root/.bash_history <<EOF kill -USR2 \`cat /var/run/anaconda.pid\` kill -HUP \`cat /var/run/anaconda.pid\` udevadm info --export-db | less -- 1.7.1.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list