[TAG] lpr works for user not root in Basiclinux 2.1

Karolis Lyvens karolisl at gmail.com
Sun Mar 18 14:01:19 MSK 2007


On Wed, Mar 07, 2007 at 12:11:59PM -0500, Sindi Keesan wrote:
> I was advised to use the larger version to go online as 'user', by the 
> author.  Karolis (in our BL group and TAG) will work on why the browsers 
> cannot read or write their configuration files as 'user' in the smaller 
> version.  The passwords are shadowed in the smaller version, if I 
> understood right, so permissions might need to be different. (?)

The problem:

``
~<$> echo $HOME
/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 - the files are owned by root,
not the user.

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

``
export HOME=/root
''

This is a bug in passwd.tgz's install.sh (it should comment out that
line when installed) and will be reported to BasLinux's mailing list.

Karolis Lyvens




More information about the TAG mailing list