1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to increase security of /etc/passwd Folder?

Discussion in 'Security' started by Mehdi Jazini, Mar 10, 2014.

  1. #1
    hi buddies
    anybody know how to increase security of /etc/passwd Folder in the CPanel?
    what file permission is secure for this folder?
    tnx a lot :)
     
    Mehdi Jazini, Mar 10, 2014 IP
  2. 1dollarbackup

    1dollarbackup Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    If possible, install CloudLinux os, users not able to view /etc/passwd
     
    1dollarbackup, Mar 11, 2014 IP
  3. Mehdi Jazini

    Mehdi Jazini Active Member

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #3
    i'm on a shared linux hosting with cpanel
     
    Mehdi Jazini, Mar 11, 2014 IP
  4. reelstuff

    reelstuff Active Member

    Messages:
    195
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #4
    I was doing some research on this myself, it appears that the most secure method is to store an encrypted user file with apache, however this is not an option for most shared accounts, so I was looking around at how to manage this, I think it will require some out of the box thinking, pun intended.

    running an off site but secure script might still be a challenge as well as a security risk.
     
    reelstuff, Mar 12, 2014 IP
  5. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #5
    If you are on a shared platform, you won't be able to secure /etc/passwd file. It is the system admins who needs to secure it. If you are referring to the /home/your-username/etc/passwd file, it holds the details of your email account. It can be accessed only with your cPanel and root user. Other cPanel accounts cannot access it.
     
    MilesWeb, Mar 15, 2014 IP
  6. Black Sunday

    Black Sunday Banned

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #6
    sorry mate you can search on google, i am here for some work not for you,
     
    Black Sunday, Apr 5, 2014 IP
  7. Tier_net

    Tier_net Active Member

    Messages:
    35
    Likes Received:
    5
    Best Answers:
    3
    Trophy Points:
    58
    #7
    By default, /etc/passwd is "shadowed" so there are no actual password stored in there, but the usernames and UIDs are. As was mentioned, you won't be able to do much about this with a shared account..
     
    Tier_net, May 21, 2014 IP
  8. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #8
    There is nothing much can be done except full disk encryption. Regarding the file permission it should be 644 btw /etc/shadow is the file where passwords are stored which has by default 600 permission set.
     
    hostechsupport, May 23, 2014 IP