[Bug 969559] Re: /etc/skel/.bashrc should not set PS1

Mike Fiedler miketheman at gmail.com
Wed May 28 19:58:02 UTC 2014


Ran into this again today.

I understand the desire to set PS1 consistently across users, sessions,
etc - however this makes changing it harder - since instead of setting
it in one place (I was trying to drop it into /etc/profile.d/prompt.sh),
this gets overridden by each user's individual ~/.bashrc that they
inherited from /etc/skel.

Proposed:

Move any PS1 related settings to the global bashrc, which can then be
overridden at later state, and remove from the /etc/skel/bash.bashrc

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/969559

Title:
  /etc/skel/.bashrc should not set PS1

Status in “bash” package in Ubuntu:
  Triaged

Bug description:
  I tried to change the PS1 for all users by editing /etc/bash_bashrc.

  Expected:

  PS1 to be modified for all users.

  Actual result:

  PS1 was not modified for any users because the /skel/.bashrc overrides
  the /etc/bash_bashrc PS1 setting with the exact same value.

  PS1 should not be set in the skel/.bashrc. If users wish to customize
  their local .bashrc they can, but the default installation should not
  prevent setting a system wide PS1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/969559/+subscriptions



More information about the foundations-bugs mailing list