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.ha...@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]



------------------------------------

To unsubscribe from this list, please email 
linux_newbies-unsubscr...@yahoogroups.com & you will be removed.Yahoo! Groups 
Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    linux_newbies-dig...@yahoogroups.com 
    linux_newbies-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    linux_newbies-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to