Please login or register.

Login with username, password and session length
Advanced search  


Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

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


  • Member
  • *
  • Posts: 2
.bashrc for root
« on: October 16, 2011, 12:07:02 am »


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, 09: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!