• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

default bashrc file

W

wardjame

Guest
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.
 
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).
 
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?
 
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.
 
Back
Top