[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No access but root

Pritpal Dhaliwal wrote:

> recently, I don't know why.. only root can login through ssh..

> after logging in as root, I did this sample run to show other weird
> issues I am having ..
> checkout this session...
> -----------
> mail:/usr/local/bin# whoami
> root
> mail:/usr/local/bin# su paul
> bash: /etc/bash.bashrc: Permission denied

What is the output of 

ls -l /etc/bash.bashrc

Should be something like this:

$ ls -l /etc/bash.bashrc
-rw-r--r--    1 root     root          474 2004-01-24 15:28 /etc/bash.bashrc


Reply to: