You are not logged in.

#1 2008-12-08 08:54:41

ning
Member
Registered: 2008-11-15
Posts: 27

switch user problem

bash-3.2# su ning
[ning@courser ~]$ mexit
bash-3.2# su ning
[ning@courser ~]$ mexit
bash-3.2# ning
bash: ning: command not found
bash-3.2# su ning
[ning@courser ~]$ mexit
bash-3.2# su ning
[ning@courser ~]$ eexit
bash-3.2# su ning
[ning@courser ~]$ eexit
bash-3.2# su ning
[ning@courser ~]$ [exit
bash-3.2#

==
what's wrong with my operation? why every times I switch to user ning and then press any key, it always return to Root?

Offline

#2 2008-12-08 09:17:49

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: switch user problem

What's in your (ning's) .bashrc and .bash_profile?


1000

Offline

#3 2008-12-08 15:27:24

ning
Member
Registered: 2008-11-15
Posts: 27

Re: switch user problem

.bashrc
------
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
------

.bash_profile
-----
. $HOME/.bashrc


==
it seems nothing wroing, right?

Offline

Board footer

Powered by FluxBB