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 Endian Bugtracker
Endian Issue Tracker

Please see now our new Bugtracker system: JIRA

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002057Endian FirewallUncategorizedpublic2009-07-30 11:232010-09-21 18:56
Assigned To 
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version2.2 
Target VersionfutureFixed in Version 
Summary0002057: /root/bashrc is not read correctly?!
DescriptionI 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..
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
peter-endian (administrator)
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

peter-endian (administrator)
2010-09-21 18:56

2.5 will not use login anymore.. so this issue will become obsolete

- Issue History
Date Modified Username Field Change
2009-07-30 11:23 tomakos New Issue
2010-03-08 17:00 peter-endian Note Added: 0003985
2010-03-08 17:00 peter-endian Status new => confirmed
2010-03-08 17:00 peter-endian Target Version => future
2010-09-21 18:56 peter-endian Note Added: 0004803
2010-09-21 18:56 peter-endian Status confirmed => closed
2010-09-21 18:56 peter-endian Resolution open => won't fix

Copyright © 2005-2008 Endian, SRL. All rights reserved.

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker