I'm on centos, when I login as root and use su x
to change user to x
, it shows this:
bash: /home/x/.bashrc: Permission denied
I try to source ~/.bashrc
but nothing changes and I also tried following the instructions at this link.
I also can't ssh to user x
.
How can I fix this?