-Gentoo Base System release 2.2
+Gentoo Base System release 2.3
# The readline entry to make this skip back a word will then be:
# "\e[1;3D" backward-word
#
+# Customization note:
+# You don't need to put all your changes in this file. You can create
+# ~/.inputrc which starts off with the line:
+# $include /etc/inputrc
+# Then put all your own stuff after that.
+#
# do not bell on tab-completion
#set bell-style none
"\e[1;3C": forward-word
"\e[1;3D": backward-word
+# Chromebooks remap alt + backspace so provide alternative (alt + k)
+"\ek": backward-kill-word
+
$if term=rxvt
"\e[8~": end-of-line
$endif
ID=gentoo
PRETTY_NAME="Gentoo/Linux"
ANSI_COLOR="1;32"
-HOME_URL="http://www.gentoo.org/"
-SUPPORT_URL="http://www.gentoo.org/main/en/support.xml"
+HOME_URL="https://www.gentoo.org/"
+SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
# There's no real reason to exclude sbin paths from the normal user,
# but it can make tab-completion easier when they aren't in the
# user's PATH to pollute the executable namespace.
-#
-# It is intentional in the following line to use || instead of -o.
-# This way the evaluation can be short-circuited and calling whoami is
-# avoided.
-if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
- PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
+if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then
+ PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}${ROOTPATH-}"
else
- PATH="/usr/local/bin:/usr/bin:/bin:${PATH}"
+ PATH="/usr/local/bin:/usr/bin:/bin${PATH:+:}${PATH-}"
fi
export PATH
unset ROOTPATH
-if [ -n "${BASH_VERSION}" ] ; then
+if [ -n "${BASH_VERSION-}" ] ; then
# Newer bash ebuilds include /etc/bash/bashrc which will setup PS1
# including color. We leave out color here because not all
# terminals support it.
concurrent-lm 1648/udp
kermit 1649/tcp
kermit 1649/udp
+groupwise 1677/tcp
+groupwise 1677/udp
l2tp 1701/tcp
l2tp 1701/udp
h323gatedisc 1718/tcp
x25-svc-port 1998/udp
tcp-id-port 1999/tcp # cisco identification port
tcp-id-port 1999/udp
-cisco-sccp 2000/tcp sieve # Cisco SCCP
-cisco-sccp 2000/udp sieve
+cisco-sccp 2000/tcp # Cisco SCCP
+cisco-sccp 2000/udp
nfs 2049/tcp # Network File System
nfs 2049/udp
radsec 2083/tcp # Secure Radius Service
xgrid 4111/udp
bzr 4155/tcp # Bazaar Version Control System
bzr 4155/udp # Bazaar version control system
+sieve 4190/tcp # ManageSieve Protocol
+sieve 4190/udp
rwhois 4321/tcp # Remote Who Is
rwhois 4321/udp
epmd 4369/tcp # Erlang Port Mapper Daemon
cfinger 2003/tcp lmtp # GNU Finger
ninstall 2150/tcp # ninstall service
ninstall 2150/udp
+gpsd 2947/tcp gpsd # GPS Daemon request/response protocol
+gpsd 2947/udp gpsd # GPS Daemon request/response protocol
afbackup 2988/tcp # Afbackup system
afbackup 2988/udp
fax 4557/tcp # FAX transmission service (old)
+xmpp-bosh 5280/tcp # Bidirectional-streams Over Synchronous HTTP (BOSH)
rplay 5555/tcp # RPlay audio service
rplay 5555/udp
canna 5680/tcp # Canna (Japanese Input)
x11-ssh 6010/udp x11-ssh-offset
ircd 6667/tcp # Internet Relay Chat
ircd 6667/udp
+ircs-u 6697/tcp # Internet Relay Chat via TLS/SSL
jetdirect 9100/tcp # HP JetDirect card
jetdirect 9100/udp
mandelspawn 9359/udp mandelbrot # network mandelbrot
# /etc/shells: valid login shells
/bin/bash
/bin/csh
+/bin/dash
/bin/esh
/bin/fish
/bin/ksh
# Disable ECN
#net.ipv4.tcp_ecn = 0
# Enables source route verification
-net.ipv4.conf.default.rp_filter = 1
+#net.ipv4.conf.default.rp_filter = 1
# Enable reverse path
-net.ipv4.conf.all.rp_filter = 1
+#net.ipv4.conf.all.rp_filter = 1
# Enable SYN cookies (yum!)
# http://cr.yp.to/syncookies.html
#net.ipv4.tcp_syncookies = 1
+# Enable people in the specified (min, max) group range to send ICMP_ECHO
+# messages (i.e. ping) and receive ICMP_ECHOREPLY responses. This allows
+# you to run non-suid and non-caps `ping`, but it also means anyone with
+# a gid in this range can send those packets (not just via `ping`).
+#net.ipv4.ping_group_range = 100 100
+
# Disable source route
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv4.conf.default.accept_source_route = 0