Re: dumb bash_profile question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nathan England
Date:  
To: Main PLUG discussion list
Subject: Re: dumb bash_profile question

I would suggest creating a .bashrc file sourcing .bash_profile
Most of my systems use the .bashrc file, no longer a .bash_profile, but add
the source for legacy use.

cat << EOF > .bashrc
#!/bin/bash

source ~/.bash_profile

EOF

Nathan

On Tuesday 18 July 2006 11:10, Craig White wrote:
> I have a problem with 'ingres' user which I have a home directory within
> a deeper tree.
>
> When I 'su - ingres' the current working directory is indeed the ingres
> users home directory but the .bash_profile (644 perms) doesn't get
> loaded and while I can manually 'source' the file to load it, it really
> needs to be automatic. What issues might be stopping that from
> occurring?
>
> Craig
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


--
~~~~~~~~~~~~~~~~~~
Nathan England
PaysonLinux User Group

http://www.paysonlinux.org/

Software Development
Website Development
Linux Administration
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss