Announcement

Collapse
No announcement yet.

CageFS missing user

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CageFS missing user

    I have recently created a user form WHM, but the user does not seem to be updated in CageFS, thus preventing me from using LVE. I have tried using the command
    'cagefsctl --enable $username'
    to rectify this issue, but I am getting an error message that reads 'Error: user ... does not exist'. Could you please advise me on how to fix this problem?
    Click image for larger version

Name:	Screenshot_35.jpg
Views:	342
Size:	142.7 KB
ID:	39129
    Click image for larger version

Name:	Screenshot_33.jpg
Views:	290
Size:	39.7 KB
ID:	39130

  • #2
    Hmm, that looks interesting.
    Please show the output of the following commands:
    Code:
    cagefsctl --get-min-uid
    id tinhtp

    Comment


    • #3
      Hi Click image for larger version

Name:	Screenshot_36.png
Views:	381
Size:	6.3 KB
ID:	39137
      thank you for response​

      Comment


      • #4
        And that is the reason. The minimum UID is set to 1000 while user has UID 500.

        If that is the CloudLinux 7 OS you can just change the min UID with:

        Code:
        cagefsctl --set-min-uid 500
        For the CloudLinux 8 it's better to investigate why the user got UID 500. What control panel is used there?

        Comment


        • #5
          Hello, I am currently using Cpanel version 106.0.15 and I am running Cloudlinux 8.

          Comment


          • #6
            I followed your advice and it worked;
            initially, CageFS allowed only 15 users, but after I adjusted the UID to 500, it accepted all the users. The total number of users is now 30.
            Click image for larger version

Name:	Screenshot_38.png
Views:	395
Size:	6.8 KB
ID:	39141

            Thank you very much.!

            Comment


            • #7
              Was that a regular user created from the cPanel? As per their documentation, the panel supposed to create user with UID starting from 1000 .

              Do you have other accounts there? Can you try creating a new one and check the UID for it?

              Comment


              • #8
                Well, it's not supposed to be like that.
                The UID for your accounts should be higher than 1000 in cpanel and in cagefs. Better to revert the changes and investigate more.

                Comment


                • #9
                  Hello, I have researched and read CPanel's instructions,
                  they mention the UID issue here: https://docs.cpanel.net/whm/account-...w-account/102/, so setting the UID to 500 is correct.
                  Click image for larger version

Name:	Screenshot_39.png
Views:	370
Size:	70.7 KB
ID:	39146
                  Thank you for your advice.
                  Attached Files

                  Comment


                  • #10
                    It is not. The section we have to look at:
                    The system also creates new account UIDs and GIDs with a number between 1000 and 60000.

                    Comment

                    Working...
                    X