Please support VectorLinux!

Author Topic: .bashrc for root  (Read 912 times)


  • Member
  • *
  • Posts: 2
.bashrc for root
« on: October 15, 2011, 11:07:02 pm »

in VL 6.0 Light I have modified root's .bashrc to get a different prompt and certain alias definitions.
On that occasion, I noticed that .bashrc for root is NOT sourced when doing 'su -' while a plain 'su' works as expected!
Sourcing the file by hand does have the desired effect, so it is not a problem with the .bashrc file itself - it is just ignored.
I would be grateful for any hint how to rectify this.



  • Packager
  • Vectorian
  • ****
  • Posts: 568
  • NewComer
Re: .bashrc for root
« Reply #1 on: October 16, 2011, 08:27:21 am »
VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!