Skip to Content.
Sympa Menu

baslinux - [BL] Regarding multi-user setup in BL3.40

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] Regarding multi-user setup in BL3.40
  • Date: Sun, 18 Mar 2007 16:52:14 +0200

Why most programs simply refuse to work and/or refuse to store
configuration for user:

---
~<$> echo $HOME
/root
---

Because of that, you cannot use any programs that store their
configuration in home directory, because $HOME - /root is owned by root.

Lynx and all the programs look at this variable to figure out where
are the config files located - $HOME/.lynx or $HOME/.opera. They
expand the path to /root/.lynx or /root/.opera, and, because of that,
the applications get permission errors.

To fix this once and for all, one has to comment out the following line
in /etc/profile:

-----
export HOME=/root
-----

I suggest fixing this bug in BL3's multiple user implementation by adding
the following line to passwd.tgz's install/install.sh:

---
( [ -f /etc/profile ] && sed -ie 's/^\(export HOME=\/root\)[ \t]*$/#\1/'
/etc/profile )
---

Karolis




Archive powered by MHonArc 2.6.24.

Top of Page