[NTLUG:Discuss] NFS / .bashrc and .bash_profile

Mike Owens owensmk at earthlink.net
Tue Aug 17 14:59:07 CDT 1999


Let me say up front that I don't have extensive knowledge of what I am
doing, so there very well may be something obvious I missing, or stupid
that I am doing. Feel free to correct me at any instance of stupidity
you detect.

I am have, or am trying to have, all my users' accounts on the server,
and am using NIS and NFS. I have the home directories in /home/users/. I
do this so as to separate the /httpd directory from the real users. I
export this directory, which is mounted on all the client machines via
NFS.

Now what is weird is that the .bash_profile and .bashrc on the mounted
home directories are never getting read upon login. The aliases are not
set, and the prompt is not set. Yet when you log in, you are put right
in the proper home directory /home/user/<username>.

Why are the .bash and .bash_profile scripts not being read/executed?.
This happens also if you log on directly to the server as well. I think
the /users/ is the problem, but I don't know where to go to fix it. I
have looked in the /etc/profile, and /etc/profile.d/*.sh files, but
can't really see anything relevant to change. The $HOME value is correct
(/home/user/<username>). I am not a bash expert. I just want the few
little things I can do (like aliases) to work. So I am stumped. Any
suggestions?





More information about the Discuss mailing list