The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help

Discussion in 'General Discussion' started by poops, Jun 1, 2006.

  1. poops

    poops Member

    Joined:
    May 6, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I was on my pts/1 terminal with root account
    suddenly all permission were denied.
    like

    #cd /
    permission denied
    #ls
    permission denied
     
  2. poops

    poops Member

    Joined:
    May 6, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1

    If any one knows plz tell me......
     
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    You may not have been logged as root and thats why you are getting permission denied.

    Type :- who and see if you are root.

    Try the command :- su -
    and check whether you can execute your commands.
     
  4. poops

    poops Member

    Joined:
    May 6, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I m with my root user.
    So i can't execute any command.
    I don't know what the problem.
    Does setfacl can be used to restric any root user or chattr can be used or other like any command is their to restric pts on any user including root.
     
  5. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    what is the output of the command

    whoami

    Also please check the logs as you can find useful information from there. Also it can be a file system corruption which can be solved by an fsck or a reboot. Also if you are sure that you have logged in as root.
     
Loading...

Share This Page