SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002057: /root/bashrc is not read correctly?! - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002057Endian FirewallUncategorizedpublic2009-07-30 11:232010-09-21 18:56
closedwon't fix 
0002057: /root/bashrc is not read correctly?!
I have added the file /root/.bashrc.
The contens of this file is:
alias l='ls -la'

When I login as root, the alias does NOT work.
When I have logged in as root and change to user root by typing "su root", the alias works fine. Obviously the user root does not use .bashrc via the initial login, only when loggin in again a second time..
No tags attached.
Issue History
2009-07-30 11:23tomakosNew Issue
2010-03-08 17:00peter-endianNote Added: 0003985
2010-03-08 17:00peter-endianStatusnew => confirmed
2010-03-08 17:00peter-endianTarget Version => future
2010-09-21 18:56peter-endianNote Added: 0004803
2010-09-21 18:56peter-endianStatusconfirmed => closed
2010-09-21 18:56peter-endianResolutionopen => won't fix

2010-03-08 17:00   
happens because when bash will be called as "sh", .bashrc will not be read out per default.
obviously login (efw-console) and sshd call "sh" instead of bash

2010-09-21 18:56   
2.5 will not use login anymore.. so this issue will become obsolete