Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/198425

Change subject: color root shell in red
......................................................................

color root shell in red

Give the prompt a red color when being root, to warn and
remind users they are using it instead of sudo.

Is this going to work for root to put it in ./home/root in the admin module
to get it in root's actual home, /root/ ?

Change-Id: I938b6cd76dc624a5556ed4c603593557be37bab1
---
A modules/admin/files/home/root/.bash_profile
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/25/198425/1

diff --git a/modules/admin/files/home/root/.bash_profile 
b/modules/admin/files/home/root/.bash_profile
new file mode 100644
index 0000000..4101e41
--- /dev/null
+++ b/modules/admin/files/home/root/.bash_profile
@@ -0,0 +1 @@
+PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
 '

-- 
To view, visit https://gerrit.wikimedia.org/r/198425
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I938b6cd76dc624a5556ed4c603593557be37bab1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to