Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -rubB squeeze/etc/confconsole/services.txt core/etc/confconsole/services.txt
- --- squeeze/etc/confconsole/services.txt 2012-02-27 15:29:31.000000000 +0100
- +++ core/etc/confconsole/services.txt 2012-08-10 14:05:52.000000000 +0200
- @@ -1,5 +1,3 @@
- -Web: http://$ipaddr
- - https://$ipaddr
- Web shell: https://$ipaddr:12320
- Webmin: https://$ipaddr:12321
- SSH/SFTP: root@$ipaddr (port 22)
- diff -rubB squeeze/etc/cron-apt/action.d/3-download core/etc/cron-apt/action.d/3-download
- --- squeeze/etc/cron-apt/action.d/3-download 2010-08-22 10:48:03.000000000 +0200
- +++ core/etc/cron-apt/action.d/3-download 2012-08-10 14:05:49.000000000 +0200
- @@ -1,2 +0,0 @@
- -autoclean -y
- -dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
- diff -rubB squeeze/etc/cron-apt/config core/etc/cron-apt/config
- --- squeeze/etc/cron-apt/config 2010-08-22 10:48:03.000000000 +0200
- +++ core/etc/cron-apt/config 2012-08-10 14:05:49.000000000 +0200
- @@ -174,3 +174,5 @@
- # Umask for the files created by the APT command used. In all other cases
- # umask 077 will be used.
- # UMASK_APT="022"
- +MAILON="never"
- +SYSLOGON="output"
- diff -rubB squeeze/etc/default/grub core/etc/default/grub
- --- squeeze/etc/default/grub 2013-03-27 15:55:25.832614049 +0100
- +++ core/etc/default/grub 2012-08-10 14:05:47.000000000 +0200
- @@ -2,18 +2,15 @@
- # /boot/grub/grub.cfg.
- GRUB_DEFAULT=0
- -GRUB_TIMEOUT=5
- +GRUB_HIDDEN_TIMEOUT=0
- +GRUB_HIDDEN_TIMEOUT_QUIET=false
- +GRUB_TIMEOUT=3
- GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
- -GRUB_CMDLINE_LINUX_DEFAULT="quiet"
- +GRUB_CMDLINE_LINUX_DEFAULT=""
- GRUB_CMDLINE_LINUX=""
- -# Uncomment to enable BadRAM filtering, modify to suit your needs
- -# This works with Linux (no patch required) and with any kernel that obtains
- -# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
- -#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
- -
- # Uncomment to disable graphical terminal (grub-pc only)
- -#GRUB_TERMINAL=console
- +GRUB_TERMINAL=console
- # The resolution used on graphical terminal
- # note that you can use only modes which your graphic card supports via VBE
- diff -rubB squeeze/etc/default/locale core/etc/default/locale
- --- squeeze/etc/default/locale 2013-03-27 15:29:57.518770151 +0100
- +++ core/etc/default/locale 2012-08-10 14:05:50.000000000 +0200
- @@ -1 +1,5 @@
- # File generated by update-locale
- +LANG=en_US.UTF-8
- +LANGUAGE=en_US.UTF-8
- +LC_ALL=C
- +LC_CTYPE=C
- diff -rubB squeeze/etc/default/shellinabox core/etc/default/shellinabox
- --- squeeze/etc/default/shellinabox 2012-07-30 15:26:22.000000000 +0200
- +++ core/etc/default/shellinabox 2012-08-10 14:05:51.000000000 +0200
- @@ -1,18 +1,4 @@
- -# Should shellinaboxd start automatically
- SHELLINABOX_DAEMON_START=1
- -
- -# TCP port that shellinboxd's webserver listens on
- -SHELLINABOX_PORT=4200
- -
- -# Parameters that are managed by the system and usually should not need
- -# changing:
- -# SHELLINABOX_DATADIR=/var/lib/shellinabox
- -# SHELLINABOX_USER=shellinabox
- -# SHELLINABOX_GROUP=shellinabox
- -
- -# Any optional arguments (e.g. extra service definitions). Make sure
- -# that that argument is quoted.
- -#
- -# Beeps are disabled because of reports of the VLC plugin crashing
- -# Firefox on Linux/x86_64.
- -SHELLINABOX_ARGS="--no-beep"
- +SHELLINABOX_PORT=12320
- +SHELLINABOX_GROUP=certssl
- +SHELLINABOX_ARGS=--no-beep
- diff -rubB squeeze/etc/etckeeper/etckeeper.conf core/etc/etckeeper/etckeeper.conf
- --- squeeze/etc/etckeeper/etckeeper.conf 2010-07-16 21:28:07.000000000 +0200
- +++ core/etc/etckeeper/etckeeper.conf 2012-08-10 14:05:47.000000000 +0200
- @@ -1,34 +1,18 @@
- -# The VCS to use.
- -#VCS="hg"
- -VCS="git"
- -#VCS="bzr"
- -#VCS="darcs"
- +export GIT_AUTHOR_NAME="etckeeper"
- +export GIT_AUTHOR_EMAIL="root@localhost"
- +export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
- +export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
- -# Options passed to git commit when run by etckeeper.
- +VCS="git"
- GIT_COMMIT_OPTIONS=""
- -# Options passed to hg commit when run by etckeeper.
- -HG_COMMIT_OPTIONS=""
- -
- -# Options passed to bzr commit when run by etckeeper.
- -BZR_COMMIT_OPTIONS=""
- -
- -# Options passed to darcs record when run by etckeeper.
- -DARCS_COMMIT_OPTIONS="-a"
- +HIGHLEVEL_PACKAGE_MANAGER=apt
- +LOWLEVEL_PACKAGE_MANAGER=dpkg
- -# Uncomment to avoid etckeeper committing existing changes
- -# to /etc automatically once per day.
- +# Uncomment to avoid committing existing changes once per day.
- #AVOID_DAILY_AUTOCOMMITS=1
- -# Uncomment to avoid etckeeper committing existing changes to
- -# /etc before installation. It will cancel the installation,
- -# so you can commit the changes by hand.
- +# Uncomment to avoid committing existing changes to /etc prior to install.
- +# Warning: This will cancel installation so you can commit the changes by hand.
- #AVOID_COMMIT_BEFORE_INSTALL=1
- -# The high-level package manager that's being used.
- -# (apt, pacman-g2, yum etc)
- -HIGHLEVEL_PACKAGE_MANAGER=apt
- -
- -# The low-level package manager that's being used.
- -# (dpkg, rpm, pacman-g2, etc)
- -LOWLEVEL_PACKAGE_MANAGER=dpkg
- diff -rubB squeeze/etc/group core/etc/group
- --- squeeze/etc/group 2013-03-27 15:49:52.917953990 +0100
- +++ core/etc/group 2012-08-10 14:05:51.000000000 +0200
- @@ -42,3 +42,4 @@
- ntp:x:103:
- ssh:x:104:
- shellinabox:x:105:
- +certssl:x:1000:
- diff -rubB squeeze/etc/group- core/etc/group-
- --- squeeze/etc/group- 2013-03-27 15:29:59.000000000 +0100
- +++ core/etc/group- 2012-08-10 14:05:29.000000000 +0200
- @@ -41,3 +41,4 @@
- crontab:x:102:
- ntp:x:103:
- ssh:x:104:
- +shellinabox:x:105:
- diff -rubB squeeze/etc/gshadow core/etc/gshadow
- --- squeeze/etc/gshadow 2013-03-27 15:49:53.017934368 +0100
- +++ core/etc/gshadow 2012-08-10 14:05:51.000000000 +0200
- @@ -42,3 +42,4 @@
- ntp:!::
- ssh:!::
- shellinabox:!::
- +certssl:!::
- diff -rubB squeeze/etc/gshadow- core/etc/gshadow-
- --- squeeze/etc/gshadow- 2013-03-27 15:29:59.000000000 +0100
- +++ core/etc/gshadow- 2012-08-10 14:05:29.000000000 +0200
- @@ -41,3 +41,4 @@
- crontab:!::
- ntp:!::
- ssh:!::
- +shellinabox:!::
- diff -rubB squeeze/etc/hostname core/etc/hostname
- --- squeeze/etc/hostname 2012-07-27 23:59:06.817708826 +0200
- +++ core/etc/hostname 2012-08-10 14:05:49.000000000 +0200
- @@ -1 +1 @@
- -Dashamir-ThinkPad-R50e
- +core
- diff -rubB squeeze/etc/hosts core/etc/hosts
- --- squeeze/etc/hosts 2013-03-27 15:28:35.803923040 +0100
- +++ core/etc/hosts 2012-08-10 14:05:49.000000000 +0200
- @@ -1,7 +1,10 @@
- 127.0.0.1 localhost
- -::1 localhost ip6-localhost ip6-loopback
- +127.0.1.1 core
- +
- +#Required for IPv6 capable hosts
- +::1 ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- -
- +ff02::3 ip6-allhosts
- diff -rubB squeeze/etc/locale.nopurge core/etc/locale.nopurge
- --- squeeze/etc/locale.nopurge 2013-03-27 15:49:40.972298521 +0100
- +++ core/etc/locale.nopurge 2012-08-10 14:05:50.000000000 +0200
- @@ -1,35 +1,21 @@
- +# Keep these locales after package installations via apt-get(8)
- +en
- +en_US
- +en_US.UTF-8
- diff -rubB squeeze/etc/lvm/cache/.cache core/etc/lvm/cache/.cache
- --- squeeze/etc/lvm/cache/.cache 2013-03-27 15:56:19.374105657 +0100
- +++ core/etc/lvm/cache/.cache 2012-08-10 14:05:38.000000000 +0200
- @@ -3,6 +3,7 @@
- persistent_filter_cache {
- valid_devices=[
- "/dev/ram11",
- + "/dev/loop0",
- "/dev/ram10",
- "/dev/ram",
- "/dev/ram12",
- diff -rubB squeeze/etc/ntp.conf core/etc/ntp.conf
- --- squeeze/etc/ntp.conf 2010-10-17 15:45:25.000000000 +0200
- +++ core/etc/ntp.conf 2012-08-10 14:05:47.000000000 +0200
- @@ -1,7 +1,14 @@
- -# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
- +# cope with large time drifts (useful in VM scenarios)
- +tinker panic 0
- -driftfile /var/lib/ntp/ntp.drift
- +# ntp servers
- +server 0.pool.ntp.org
- +server 1.pool.ntp.org
- +server 2.pool.ntp.org
- +server 3.pool.ntp.org
- +# drift file
- +driftfile /var/lib/ntp/ntp.drift
- # Enable this if you want statistics to be logged.
- #statsdir /var/log/ntpstats/
- @@ -11,21 +18,8 @@
- filegen peerstats file peerstats type day enable
- filegen clockstats file clockstats type day enable
- -
- -# You do need to talk to an NTP server or two (or three).
- -#server ntp.your-provider.example
- -
- -# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will
- -# pick a different set every time it starts up. Please consider joining the
- -# pool: <http://www.pool.ntp.org/join.html>
- -server 0.debian.pool.ntp.org iburst
- -server 1.debian.pool.ntp.org iburst
- -server 2.debian.pool.ntp.org iburst
- -server 3.debian.pool.ntp.org iburst
- -
- -
- # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
- diff -rubB squeeze/etc/securetty core/etc/securetty
- --- squeeze/etc/securetty 2011-02-15 21:50:10.000000000 +0100
- +++ core/etc/securetty 2012-08-10 14:05:51.000000000 +0200
- @@ -381,3 +381,46 @@
- ttyama2
- ttyama3
- +
- +# shellinabox
- +pts/0
- +pts/1
- +pts/2
- +pts/3
- +pts/4
- +pts/5
- +pts/6
- +pts/7
- +pts/8
- +pts/9
- +pts/10
- +pts/11
- +pts/12
- +pts/13
- +pts/14
- +pts/15
- +pts/16
- +pts/17
- +pts/18
- +pts/19
- +pts/20
- +pts/21
- +pts/22
- +pts/23
- +pts/24
- +pts/25
- +pts/26
- +pts/27
- +pts/28
- +pts/29
- +pts/30
- +pts/31
- +pts/32
- +pts/33
- +pts/34
- +pts/35
- +pts/36
- +pts/37
- +pts/38
- +pts/39
- +pts/40
- diff -rubB squeeze/etc/skel/.bashrc core/etc/skel/.bashrc
- --- squeeze/etc/skel/.bashrc 2010-04-10 14:03:55.000000000 +0200
- +++ core/etc/skel/.bashrc 2012-08-10 14:05:47.000000000 +0200
- @@ -3,97 +3,111 @@
- # for examples
- # If not running interactively, don't do anything
- -[ -z "$PS1" ] && return
- +#[ -z "$PS1" ] && return
- # don't put duplicate lines in the history. See bash(1) for more options
- -# don't overwrite GNU Midnight Commander's setting of `ignorespace'.
- -HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups
- # ... or force ignoredups and ignorespace
- -HISTCONTROL=ignoreboth
- +HISTCONTROL=ignoredups:ignorespace
- # append to the history file, don't overwrite it
- shopt -s histappend
- # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
- +HISTSIZE=1000
- +HISTFILESIZE=2000
- # check the window size after each command and, if necessary,
- # update the values of LINES and COLUMNS.
- shopt -s checkwinsize
- # make less more friendly for non-text input files, see lesspipe(1)
- -#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
- +[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
- # set variable identifying the chroot you work in (used in the prompt below)
- if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
- debian_chroot=$(cat /etc/debian_chroot)
- fi
- -# set a fancy prompt (non-color, unless we know we "want" color)
- -case "$TERM" in
- - xterm-color) color_prompt=yes;;
- -esac
- +function realpath()
- +{
- + f=$@
- +
- + if [ -d "$f" ]; then
- + base=""
- + dir="$f"
- + else
- + base="/$(basename "$f")"
- + dir=$(dirname "$f")
- + fi
- +
- + dir=$(cd "$dir" && /bin/pwd)
- -# uncomment for a colored prompt, if the terminal has the capability; turned
- -# off by default to not distract the user: the focus in a terminal window
- -# should be on the output of commands, not on the prompt
- -#force_color_prompt=yes
- -
- -if [ -n "$force_color_prompt" ]; then
- - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
- - # We have color support; assume it's compliant with Ecma-48
- - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
- - # a case would tend to support setf rather than setaf.)
- - color_prompt=yes
- + echo "$dir$base"
- +}
- +
- +# Set prompt path to max 2 levels for best compromise of readability and usefulness
- +promptpath () {
- + realpwd=$(realpath $PWD)
- + realhome=$(realpath $HOME)
- +
- + # if we are in the home directory
- + if echo $realpwd | grep -q "^$realhome"; then
- + path=$(echo $realpwd | sed "s|^$realhome|\~|")
- + if [ "$path" = "~" ] || [ "$(dirname "$path")" = "~" ]; then
- + echo $path
- else
- - color_prompt=
- + echo $(basename $(dirname "$path"))/$(basename "$path")
- + fi
- + return
- fi
- -fi
- -if [ "$color_prompt" = yes ]; then
- - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
- -else
- - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
- -fi
- -unset color_prompt force_color_prompt
- + path_dir=$(dirname $PWD)
- + # if our parent dir is a top-level directory, don't mangle it
- + if [ $(dirname $path_dir) = "/" ]; then
- + echo $PWD
- + else
- + path_parent=$(basename "$path_dir")
- + path_base=$(basename "$PWD")
- +
- + echo $path_parent/$path_base
- + fi
- +}
- # If this is an xterm set the title to user@host:dir
- case "$TERM" in
- xterm*|rxvt*)
- - PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
- + PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
- ;;
- *)
- ;;
- esac
- -# enable color support of ls and also add handy aliases
- -if [ -x /usr/bin/dircolors ]; then
- - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
- +if [ "$TERM" != "dumb" ]; then
- + eval "`dircolors -b`"
- alias ls='ls --color=auto'
- - #alias dir='dir --color=auto'
- - #alias vdir='vdir --color=auto'
- + alias grep='grep --color=auto'
- + alias fgrep='fgrep --color=auto'
- + alias egrep='egrep --color=auto'
- - #alias grep='grep --color=auto'
- - #alias fgrep='fgrep --color=auto'
- - #alias egrep='egrep --color=auto'
- -fi
- -
- -# some more ls aliases
- -#alias ll='ls -l'
- -#alias la='ls -A'
- -#alias l='ls -CF'
- -
- -# Alias definitions.
- -# You may want to put all your additions into a separate file like
- -# ~/.bash_aliases, instead of adding them here directly.
- -# See /usr/share/doc/bash-doc/examples in the bash-doc package.
- + # Set a terminal prompt style (default is fancy color prompt)
- + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\h \[\033[01;34m\]$(promptpath)\[\033[00m\]\$ '
- +else
- + alias ls="ls -F"
- + alias ll='ls -alF'
- + alias la='ls -A'
- + alias l='ls -CF'
- + PS1='${debian_chroot:+($debian_chroot)}\u@\h $(promptpath)\$ '
- +fi
- +
- +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- +
- +run_scripts()
- +{
- + for script in $1/*; do
- + [ -x "$script" ] || continue
- + . $script
- + done
- +}
- -if [ -f ~/.bash_aliases ]; then
- - . ~/.bash_aliases
- -fi
- +run_scripts $HOME/.bashrc.d
- -# enable programmable completion features (you don't need to enable
- -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
- -# sources /etc/bash.bashrc).
- -if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
- - . /etc/bash_completion
- -fi
- diff -rubB squeeze/etc/sysctl.conf core/etc/sysctl.conf
- --- squeeze/etc/sysctl.conf 2010-02-25 00:20:09.000000000 +0100
- +++ core/etc/sysctl.conf 2012-08-10 14:05:51.000000000 +0200
- @@ -7,7 +7,7 @@
- #kernel.domainname = example.com
- # Uncomment the following to stop low-level messages on console
- -#kernel.printk = 3 4 1 3
- +kernel.printk = 1 4 1 7
- ##############################################################3
- # Functions previously found in netbase
- diff -rubB squeeze/etc/webmin/config core/etc/webmin/config
- --- squeeze/etc/webmin/config 2013-03-27 15:28:59.347501464 +0100
- +++ core/etc/webmin/config 2012-08-10 14:05:52.000000000 +0200
- @@ -16,3 +16,5 @@
- referers_none=1
- md5pass=1
- product=webmin
- +deftab=system
- +theme=theme-stressfree
- diff -rubB squeeze/etc/webmin/miniserv.conf core/etc/webmin/miniserv.conf
- --- squeeze/etc/webmin/miniserv.conf 2013-03-27 15:29:01.619472901 +0100
- +++ core/etc/webmin/miniserv.conf 2012-08-10 14:05:52.000000000 +0200
- @@ -1,4 +1,4 @@
- -port=10000
- +port=12321
- root=/usr/share/webmin
- mimetypes=/usr/share/webmin/mime.types
- addtype_cgi=internal/cgi
- @@ -13,7 +13,7 @@
- env_WEBMIN_VAR=/var/webmin
- atboot=0
- logout=/etc/webmin/logout-flag
- -listen=10000
- +listen=12321
- denyfile=\.pl$
- log=1
- blockhost_failures=5
- @@ -23,7 +23,7 @@
- premodules=WebminCore
- server=MiniServ/1.590
- userfile=/etc/webmin/miniserv.users
- -keyfile=/etc/webmin/miniserv.pem
- +keyfile=/etc/ssl/certs/cert.pem
- passwd_file=/etc/shadow
- passwd_uindex=0
- passwd_pindex=1
- @@ -32,3 +32,4 @@
- passwd_mode=0
- passdelay=1
- sudo=1
- +preroot=theme-stressfree
- diff -rubB squeeze/etc/webmin/syslog/config core/etc/webmin/syslog/config
- --- squeeze/etc/webmin/syslog/config 2013-03-27 15:50:09.062785304 +0100
- +++ core/etc/webmin/syslog/config 2012-08-10 14:05:47.000000000 +0200
- @@ -2,13 +2,13 @@
- pipe=1
- others=1
- lines=20
- -syslogd=/usr/sbin/rsyslogd
- +syslogd=/sbin/rsyslogd
- pid_file=/var/run/rsyslogd.pid
- restart_cmd=/etc/init.d/rsyslog reload
- m4_path=
- compressed=1
- start_cmd=/etc/init.d/rsyslog start
- -signal_cmd=/etc/init.d/rsyslog restart ; /etc/init.d/klogd restart
- +signal_cmd=/etc/init.d/rsyslog restart
- sync=1
- pri_dir=1
- tags=0
- diff -rubB squeeze/etc/webmin/webmin/config core/etc/webmin/webmin/config
- --- squeeze/etc/webmin/webmin/config 2013-03-27 15:29:00.711484316 +0100
- +++ core/etc/webmin/webmin/config 2012-08-10 14:05:52.000000000 +0200
- @@ -5,5 +5,7 @@
- osdn=1
- upmissing=0
- update=0
- -uphour=15
- -upmins=54
- +uphour=12
- +upmins=33
- +last_version_number=0
- +last_version_check=9999999999
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement