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

Re: No access but root



Hi Adam,

Here are the goodies..


mail:~# ls -l /etc/bash.bashrc
-rw-r--r--    1 root     root          211 Apr  8  2002 /etc/bash.bashrc


date is a little wrong, because I just set this system up.. Then CMOS date got messed up, and yesterday I fixed it..

mail:~# date
Sat May  8 01:08:56 PDT 2004

Do you think date would have caused this issue?

Thanks for your help,

Paul


Adam Aube wrote:

> 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
>
> Adam
>
>



Adam Aube wrote:

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

Adam






Reply to: