Skip to main content

how to disable CageFS for a user

Comments

6 comments

  • Infopro
    The docs may be of some use to you: CloudLinux Documentation Or, WHM > Plugins > CageFS > Select User
    0
  • MironJ
    Just force CageFS update with the new installed files (#cagefsctl --force-update), eventually restart httpd (#/scripts/restartsrv_httpd) and that's all, no need for disabling user from the CageFS :)
    0
  • twhiting9275
    So much misinformation and disinformation here. People, if you don't know what you're doing, please, stop trying to be "helpful", you're only hurting things in the longrun. Sad that even staff are doing this any more. To disable cagefs for a user, there are two options #1: From ssh (easiest)
    cagefsctl --disable username
    #2: From WHM Login to WHM Search for CageFS Move the user from 'enabled' to 'disabled You can also add the program you're trying to use to the skeleton. There's a couple of methods to doing this, both need to be done from ssh #1: RPM cagefsctl --addrpm rpmname #2: Manual Create a custom file in /etc/cagefs/conf.d. Call it my.cfg or something else Add something to the file, something like
    [my] comment=My Configurations here paths=/bin/prog1, /bin/prog2, /bin/prog3
    Exit the file run
    cagefsctl --force-update
    No http restart should be necessary. No http configs have changed, just new binaries have been added In your case
    cagefsctl --addrpm ImageMagick
    should do what you're looking for.
    0
  • Infopro
    So much misinformation and disinformation here. People, if you don't know what you're doing, please, stop trying to be "helpful", you're only hurting things in the longrun. Sad that even staff are doing this any more.

    Your friendly and helpful post differs from the actual CloudLinux docs in what way?
    0
  • twhiting9275
    Your friendly and helpful post differs from the actual CloudLinux docs in what way?

    Your telling someone to RTFM helps someone in what way? It doesn't. It sends the user on a wild goose chase, having them pour through countless pages of documentation that might not actually get them what they're looking for. I get it, you're probably not familiar with CL. Great, so, there's no need for you to post in a thread related to CL then. Pretty common sense there. Even for an 'employee' of cPanel. You're not helping, you're misdirecting (though that first line wasn't exactly directed at you, but the misinformation in the post after yours).
    0
  • Infopro
    I disagree. My link is to the actual page with the same command you posted. He may not trust yours, or mine, but he should be able to trust the actual docs. I run CloudLinux on all my servers. Please calm down.
    0

Please sign in to leave a comment.