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.

create user that have access ssh (read-only) file system

Discussion in 'Security' started by esultanzada, Jul 19, 2014.

  1. esultanzada

    esultanzada Active Member

    Joined:
    May 8, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    i want to give access to a user that have ssh access just read-only file system, it cant change anything just can see the file system.
    how can i do it?
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    On a Linux system, the user can only edit files that are owned by them or that have open permissions. So really all you need to do is create a user with SSH access.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could assign a user jailed-shell access and that will limit the user to actions on their own account. However, I'm not sure I understand the purpose of allowing a user to see every file on the system, but not have the ability to modify those files. The ability to view all files on the system would be a security risk itself.

    Thank you.
     
  4. esultanzada

    esultanzada Active Member

    Joined:
    May 8, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have a problem with mod security plugin, i contact with comodo company they request me that give them ssh access at least read-only that they can only see the configuration. now i want to create a user that only have read-only access to all server. is it possible?
     
  5. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    We already answered your question. Twice.
     
Loading...

Share This Page