Do you have an /etc/bash/bashrc file? (In SUSE, I think it's /etc/bash.bashrc)
If not, you can put a script in /etc/init.d which will run scripts on startup.
Matt
>________________________________
> From: Pascal <pascal.hasko@yahoo.de>
>To: LINUX_Newbies@yahoogroups.com
>Sent: Sunday, March 18, 2012 4:33 AM
>Subject: [LINUX_Newbies] File /etc/profile ignored by Bash
>
>
>
>I have set up a couple aliases and functions for Bash in the following files /home/MYNAME/.bashrc ; /home/MYNAME/.bash_aliases as well as in /root/.bashrc and /etc/profile
>
>If understand Bash correctly /etc/profile should set aliases globally for all users, ROOT included (I'm on Debian Testing). Well, none of the configuration files mentioned above is sourced at startup, so I have to do it manually. In /etc/bash.bashrc Bash is told to source /etc/profile and /root/.bashrc if present via the 'default' if-statements:
>"if..... then do..."
>
>What am I doing wrong here?
>Thanks for your help.
>Pascal
>
>
>
>
>
[Non-text portions of this message have been removed]
Sunday, March 18, 2012
Re: [LINUX_Newbies] File /etc/profile ignored by Bash
__._,_.___
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.
__,_._,___
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment