[BL] Regarding multi-user setup in BL3.40
baslinux at lists.ibiblio.org
baslinux at lists.ibiblio.org
Sun Mar 18 10:52:14 EDT 2007
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
More information about the BasLinux
mailing list