cannot write to .ICEauthority as of using a new .bash_profile
after losing everything to a F10->F11 grub phenomenom ,
I have worked my way back (until today)
to a working F10
I was just getting back to restoring the original working bash_profile (at the bottom)
and after logging out, I could not log back in even after reboot.
I get a message about ...cannot update (or write) to .ICEauthority
I created a new user and cannot even log into the new user.
I can however log into root
Even a su - to either user will not work
[root@eugenemachine ~]# su - oracle
su: warning: cannot change directory to /home/oracle: Permission denied
-bash: /home/oracle/.bash_profile: Permission denied
-bash-3.2$ logout via control d
-bash: /home/oracle/.bash_logout: Permission denied
[root@eugenemachine ~]#
[root@eugenemachine oracle]# ls -alF|more
total 3244
drwxr--r-- 43 oracle oracle 4096 2009-09-29 12:16 ./
drwxr--r-- 4 root root 4096 2009-09-28 16:17 ../
drwxr--r-- 3 oracle oinstall 4096 2009-09-22 11:49 .adobe/
drwxr--r-- 2 oracle oracle 4096 2009-08-26 00:34 AdobeFlash/
drwxr--r-- 2 oracle oinstall 4096 2009-09-28 15:03 bash1/
drwxr--r-- 2 oracle oracle 4096 2009-09-28 17:57 bash2/
-rwxr--r-- 1 oracle oinstall 14440 2009-09-28 15:35 .bash_history*
-rwxr--r-- 1 oracle oinstall 18 2009-09-28 20:45 .bash_logout*
-rwxr--r-- 1 oracle oinstall 176 2009-09-28 20:45 .bash_profile*
-rwxr--r-- 1 oracle oinstall 124 2009-09-28 20:45 .bashrc*
drwxr--r-- 7 oracle oracle 4096 2009-09-28 14:51 .beagle/
some post recommended I delete .ICEauthority and reboot but that didn't work.
I did save .ICEauthority just in case
[root@eugenemachine oracle]# ls -alF /home
total 24
drwxr--r-- 4 root root 4096 2009-09-28 16:17 ./
drwxr-xr-x 24 root root 4096 2009-09-29 08:25 ../
drwx------ 4 eugene eugene 4096 2009-09-28 16:17 eugene/
drwxr--r-- 43 oracle oracle 4096 2009-09-29 11:19 oracle/
[root@eugenemachine oracle]#
[root@eugenemachine oracle]# pwd
/home/oracle
[root@eugenemachine oracle]# ls -alF .ICEauthority
-rwxrwxrwx 1 oracle oinstall 930 2009-09-28 18:15 .ICEauthority*
[root@eugenemachine oracle]#
_______________________________________________________________________
# .bash_profile
# for Qt 4
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# alias ls -alF='ls -alF --color'
# alias h=history
# User specific environment and startup programs
HIST=1024
hist=1024
savehist=1024
SAVEHIST=1024
# mount --move /mnt/usbdrive /home/eugene/usb
QTDIR=/usr/lib/qt4
# QTDIR=/usr/lib/qt-3.3
CPLUS_INCLUDE_PATH=$QTDIR/include
BASH_ENV=$HOME/.bashrc
USERNAME=""
LD_LIBRARY_PATH=/usr/lib
LIBRARY_PATH=$LD_LIBRARY_PATH
QTLIB=$LD_LIBRARY_PATH
# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Trolltech/Qt-4.2.2/lib
# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/lib
# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
PS1="\h (\u) \w [\!]>"
PATH=$QTDIR/bin:$QTDIR:$QTLIB:$PATH:$HOME/bin:.
export PS1
export USERNAME
export LD_LIBRARY_PATH
export PATH
export QTDIR
export LIBRARY_PATH
export CPLUS_INCLUDE_PATH
export BASH_ENV
export HIST
export hist
export savehist
export SAVEHIST
# unset USERNAME
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=localhost.localdomain; export ORACLE_HOSTNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1; export ORACLE_HOME
ORACLE_SID=EUGENEGDNSID; export ORACLE_SID
TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin export TNS_ADMIN
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
# PATH=$ORACLE_HOME/bin:$PATH; export PATH
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
LIBXCB_ALLOW_SLOPPY_LOCK=true; export LIBXCB_ALLOW_SLOPPY_LOCK
|