SUMMARY2: single-user mode -> no home directory

From: <Russ_Fish_at_idx.com>
Date: Mon, 21 Aug 2000 07:24:50 -0700

To: Tru 64 Unix Managers

A few more responses on the single-user-mode topic from

Spider Boardman <spider_at_Orb.Nashua.NH.US>

> The answer is: You have no $HOME environment variable. You could
> have determined it for yourself (in theory) by careful reading of
> the description of the built-in 'cd' command in 'man 1 sh'. In
> single-user mode, you're not logged in, and you only get whatever
> environment is set up in the /.profile file. You also don't have
> a $SHELL environment variable, which is a big clue to being in
> single-user mode. Since logins which can't access home
> directories over NFS also use '/', I encapsulate special
> single-user mode settings in the /.profile file within a test for
> having no $HOME set. (I set $HOME, $SHELL, and $USER there.)

Dr. Tom Blinn <tpb_at_doctor.zk3.dec.com>

> HOME=/
> export HOME
> or whatever syntax makes your shell happy.

> Or source your .profile file.

Pulkkinen Miika <Miika.Pulkkinen_at_icl.fi>

> Have You upgraded the firmware lately? I had similar problems with GS140
> after I upgraded the fw to 5.7 with root-disk mirrored. When I try to boot
> genvmunix, the system somehow finds the scsi-adapters in different order, so
> the previous system-disk, which should be scsi0, is somehow changed to
> scsi3. And when LSM initializes, it doesn't find any root- or usr-volumes.
Received on Mon Aug 21 2000 - 14:26:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT