Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am setting up a ubuntu web server. Id like to customize everyones bash prompt a bit. (As in $PS1) Editing /etc/bash.bashrc doesn't seem to work, I assume cause ~/.bashrc over writes it. The question is, when a new user is made, what creates its .bashrc? I would like every user of this system to have the same prompt.

Server is Ubuntu Server 10.4 LTS

Thanks, Russell "TheDigitalNinja" Perkins

share|improve this question

1 Answer 1

up vote 17 down vote accepted

It's copied from /etc/skel/.bashrc for new users

share|improve this answer
    
Thanks so much, I wouldn't have ever found that on my own. Googleing anything with .bashrc gets less than useful results. –  The Digital Ninja Jun 21 '10 at 16:37
3  
No problem, just remember it won't update existing .bashrc files - only create new ones for new users. –  kaerast Jun 21 '10 at 18:04
    
Excellent info! –  Marko Poutiainen Jul 7 '10 at 10:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.