1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

default bashrc file

Discussion in 'Plesk for Linux - 8.x and Older' started by wardjame, Jan 19, 2007.

  1. wardjame

    wardjame Guest

    0
     
    I use the shell a lot to log in and perform quick tasks for my various clients. Is there a single location where I can edit the bashrc file used for these logins? The default prompt and colors are driving me nuts.

    I would also like to setup a default .vimrc for all users since I frequently use vim to make quick changes.

    Thanks in advance.
     
  2. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    These clients are all on the same server I presume? You could just move up to root and set your settings in the root account. Or you could edit /etc/bashrc and /etc/vimrc to set system-wide bash and vim settings (which can be overridden using .bashrc and .vimrc files in the user's homedirs).
     
  3. dericknwq

    dericknwq Guest

    0
     
    how can we allow the users to create the person .bashrc files since the users homedir are not writable by default?

    are we to always use root to create them and chowning the file to the appropriate user?
     
  4. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I'm adraid so. Or maybe you can add .bashrc and .vimrc files to the skeleton so they are created when a new domain is created.
     
Loading...