/usr/share/doc/adduser/examples/adduser.local.conf.examples/bash.bashrc is in adduser 3.113+nmu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #########################################################################
# /etc/bash.bashrc: System-wide initialisation file for bash #
#########################################################################
# This script file is executed by bash(1) for interactive shells.
#
# [JNZ] Modified 23-Sep-2004
#
# Written by John Zaitseff and released into the public domain.
umask 022
shopt -s checkwinsize expand_aliases
set -P
# Terminal type modifications
if [ "$TERM" = teraterm ]; then
export TERM=linux
fi
# Set the complete path, as /etc/login.defs does not seem to be consulted
if [ $(id -u) -eq 0 ]; then
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11
else
export PATH=/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/usr/games
fi
if [ -d ${HOME}/bin ]; then
export PATH=${HOME}/bin:${PATH}
fi
|