secret
Last active

  • Download Gist
logs.md
Markdown

Ubuntu 12.04.2

chrish@delta:~$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
NAME="Ubuntu"
VERSION="12.04.2 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.2 LTS)"
VERSION_ID="12.04"
chrish@delta:~$ byobu --version
byobu version 5.17
tmux 1.6
chrish@delta:~$ screen -v
Screen version 4.00.03jw4 (FAU) 2-May-06
chrish@delta:~$ tmux -V
tmux 1.6

sudo su on normal shell (GOOD)

Aug  6 16:25:37 delta sudo:   chrish : TTY=pts/4 ; PWD=/home/chrish ; USER=root ; COMMAND=/bin/su
Aug  6 16:25:37 delta sudo: pam_unix(sudo:session): session opened for user root by chrish(uid=1000)
Aug  6 16:25:37 delta su[27124]: Successful su for root by root
Aug  6 16:25:37 delta su[27124]: + /dev/pts/4 root:root
Aug  6 16:25:37 delta su[27124]: pam_unix(su:session): session opened for user root by chrish(uid=0)
Aug  6 16:25:52 delta su[27124]: pam_unix(su:session): session closed for user root
Aug  6 16:25:52 delta sudo: pam_unix(sudo:session): session closed for user root

sudo su in byobu-screen (GOOD)

Aug  6 16:26:06 delta sudo:   chrish : TTY=pts/5 ; PWD=/home/chrish ; USER=root ; COMMAND=/bin/su
Aug  6 16:26:06 delta sudo: pam_unix(sudo:session): session opened for user root by chrish(uid=1000)
Aug  6 16:26:06 delta su[27840]: Successful su for root by root
Aug  6 16:26:06 delta su[27840]: + /dev/pts/5 root:root
Aug  6 16:26:06 delta su[27840]: pam_unix(su:session): session opened for user root by chrish(uid=0)
Aug  6 16:26:19 delta su[27840]: pam_unix(su:session): session closed for user root
Aug  6 16:26:19 delta sudo: pam_unix(sudo:session): session closed for user root

sudo su in byobu-tmux (BAD)

Aug  6 16:33:06 delta sudo:   chrish : TTY=pts/2 ; PWD=/home/chrish ; USER=root ; COMMAND=/bin/su
Aug  6 16:33:06 delta sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
Aug  6 16:33:06 delta su[3143]: Successful su for root by root
Aug  6 16:33:06 delta su[3143]: + /dev/pts/2 root:root
Aug  6 16:33:06 delta su[3143]: pam_unix(su:session): session opened for user root by (uid=0)
Aug  6 16:33:09 delta su[3143]: pam_unix(su:session): session closed for user root
Aug  6 16:33:09 delta sudo: pam_unix(sudo:session): session closed for user root

CentOS 6.4

chrish@epsilon [~]# byobu --version
byobu version 5.21
Screen version 4.00.03 (FAU) 23-Oct-06
chrish@epsilon [~]# screen -v
Screen version 4.00.03 (FAU) 23-Oct-06
chrish@epsilon [~]# tmux -V
tmux 1.5

sudo su on normal shell (GOOD)

Aug  6 16:37:23 epsilon sudo:   chrish : TTY=pts/5 ; PWD=/home/chrish ; USER=root ; COMMAND=/bin/su
Aug  6 16:37:23 epsilon su: pam_unix(su:session): session opened for user root by chrish(uid=0)
Aug  6 16:37:27 epsilon su: pam_unix(su:session): session closed for user root

sudo su in byobu-screen (BAD)

Aug  6 16:38:03 epsilon sudo:   chrish : TTY=pts/8 ; PWD=/home/chrish ; USER=root ; COMMAND=/bin/su
Aug  6 16:38:03 epsilon su: pam_unix(su:session): session opened for user root by (uid=0)
Aug  6 16:38:04 epsilon su: pam_unix(su:session): session closed for user root

sudo su in byobu-tmux (BAD)

Aug  6 16:37:42 epsilon sudo:   chrish : TTY=pts/9 ; PWD=/home/chrish ; USER=root ; COMMAND=/bin/su
Aug  6 16:37:42 epsilon su: pam_unix(su:session): session opened for user root by (uid=0)
Aug  6 16:37:45 epsilon su: pam_unix(su:session): session closed for user root
vars.md
Markdown

Listing of enviornment variables pre-sudo su.

Ubuntu 12.04.2

shell

chrish@delta:~$ printenv
TERM=xterm-256color
SHELL=/bin/bash
XDG_SESSION_COOKIE=e55ccd22496409069941f7760000008c-1375825845.796303-538247023
SSH_CLIENT=70.185.231.204 50862 22
SSH_TTY=/dev/pts/3
USER=chrish
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MAIL=/var/mail/chrish
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/home/chrish
LANG=en_US
SHLVL=1
HOME=/home/chrish
LANGUAGE=en_US:
LOGNAME=chrish
SSH_CONNECTION=70.185.231.204 50862 50.22.120.186 22
LC_CTYPE=en_US.UTF-8
LESSOPEN=| /usr/bin/lesspipe %s
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/printenv

byobu-screen

chrish@delta:~$ printenv
BYOBU_WINDOWS=/home/chrish/.byobu/windows
SHELL=/bin/bash 
TERM=screen-bce 
XDG_SESSION_COOKIE=e55ccd22496409069941f7760000008c-1375825845.796303-538247023
SSH_CLIENT=70.185.231.204 50862 22
BYOBU_CONFIG_DIR=/home/chrish/.byobu
SSH_TTY=/dev/pts/3
BYOBU_READLINK=readlink
USER=chrish
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca
=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=
01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz
=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=0
1;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;
35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;
35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;
35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35
:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.a
nx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mp
c=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
BYOBU_RUN_DIR=/dev/shm/byobu-chrish-l2aAYLPq
TERMCAP=SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
        :li#35:co#122:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
        :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
        :vb=\Eg:G0:as=\E(0:ae=\E(B:\
        :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
        :po=\E[5i:pf=\E[4i:k0=\E[10~:k;=\E[21~:F1=\E[23~:\
        :F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:F6=\E[1;2S:\
        :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=:\
        :K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:\
        :*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:\
        :%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:\
        :@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\
        :kd=\EOB:kr=\EOC:kl=\EOD:km:
SSH_AUTH_SOCK=/home/chrish/.byobu/.ssh-agent
BYOBU_BACKEND=screen
BYOBU_SED=sed
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
MAIL=/var/mail/chrish
STY=24962.byobu
BYOBU_DARK=black
PWD=/home/chrish
LANG=en_US
HOME=/home/chrish
SHLVL=2
LANGUAGE=en_US:
BYOBU_LIGHT=white
LOGNAME=chrish
WINDOW=0
SSH_CONNECTION=70.185.231.204 50862 50.22.120.186 22
BYOBU_PAGER=sensible-pager
LC_CTYPE=en_US.UTF-8
BYOBU_ACCENT=#75507B
LESSOPEN=| /usr/bin/lesspipe %s
BYOBU_PREFIX=/usr
BYOBU_HIGHLIGHT=#DD4814
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/printenv

byobu-tmux

chrish@delta:~$ printenv
SHELL=/bin/bash
TERM=screen
XDG_SESSION_COOKIE=e55ccd22496409069941f7760000008c-1375825845.796303-538247023
SSH_CLIENT=70.185.231.204 50862 22
BYOBU_CONFIG_DIR=/home/chrish/.byobu
SSH_TTY=/dev/pts/3
BYOBU_READLINK=readlink
USER=chrish
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca
=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=
01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz
=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=0
1;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;
35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;
35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;
35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35
:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.a
nx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mp
c=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
BYOBU_RUN_DIR=/dev/shm/byobu-chrish-l2aAYLPq
TMUX=/tmp/tmux-1000/default,27948,0
BYOBU_BACKEND=tmux
BYOBU_SED=sed
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
MAIL=/var/mail/chrish
BYOBU_DARK=black
PWD=/home/chrish
LANG=en_US
TMUX_PANE=%0
HOME=/home/chris
SHLVL=2
LANGUAGE=en_US:
BYOBU_LIGHT=white
LOGNAME=chrish
SSH_CONNECTION=70.185.231.204 50862 50.22.120.186 22
BYOBU_PAGER=sensible-pager
LC_CTYPE=en_US.UTF-8
BYOBU_ACCENT=#75507B
LESSOPEN=| /usr/bin/lesspipe %s
BYOBU_PREFIX=/usr
BYOBU_HIGHLIGHT=#DD4814
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/printenv

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.