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

link|improve this question

65% accept rate
feedback

1 Answer

up vote 18 down vote accepted

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

link|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! – Makis Jul 7 '10 at 10:19
feedback

Your Answer

 
or
required, but never shown

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