You are not logged in.
Pages: 1
hi.
i'm twiddling about trying to change my path variables for perl and a self compiled version of samba, when i put the statements into rc.local they used to work before i recently upgraded but now they are ignored!! what have i missed?
the statements i'm trying to include (preferably in rc.multi) are
PATH=$PATH:/usr/samba/bin
export PERL5LIB=loads/of/paths
i feel such a dummy.
thanks for any guidance.
john
"I've seldom tasted a finer custard than this."
Offline
This sort of thing should be added in the profile, I believe.
Make a new file in /etc/profile.d/ ... let's call it myprofile.sh. Add those lines to it, then make the script executable (chmod +x myprofile.sh). Now those lines will be run whenever somebody logs in.
Offline
aha. yes, i've put the lines in there, and also added them to the little daemon script things i wrote and it seems to be working fine now.
thanks for that.
"I've seldom tasted a finer custard than this."
Offline
Pages: 1