Q+WebQQ的聊天记录保存路径很奇怪

令我十分奇怪的是,我今天在Ubuntu11.04使用Web QQ的时候发现,起聊天记录和群里面的公告之类的一下信息是保存在/etc/profile里面的,还有一些网络的编辑信息,都是保存在profile里面的,为什么呢?profile文件不是配置一些环境变量使用的吗?例如是JDK之类的配置,为什么会存储网络的信息???
贴一下我的profile文件内容:

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ -d /etc/profile.d ]; then
  for i in /etc/profile.d/*.sh; do
    if [ -r $i ]; then
      . $i
    fi
  done
  unset i
fi
========================================================
ITEye编辑时的信息:
令我十分奇怪的是,我今天在Ubuntu11.04使用Web QQ的时候发现,起聊天记录和群里面的公告之类的一下信息是保存在/etc/profile里面的,
=========================================================

if [ "$PS1" ]; then
  if [ "$BASH" ]; then
    PS1='\u@\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
    fi
  else
    if [ "`i添加
==========================================================
Web QQ 的信息:
请见附图:



=================================================================

d -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

umask 022

请问大家这是什么情况??

猜你喜欢

转载自yugouai.iteye.com/blog/1491703