Announcement

Collapse
No announcement yet.

How to use "Git" with cageFS?

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

  • How to use "Git" with cageFS?

    Hello,

    How can we enable "git" for our cagefs users? When they type "git", they see this error:

    --------------
    -bash: git: command not found
    ---------------

    Thanks.

  • #2
    Hello,

    You will need to first install it using the standard yum command

    Code:
    yum install git
    Once it has been installed, you will then have to add the RPM to the CageFS skeleton, and then force a rebuild to ensure its allowed for all users.

    Code:
    cagefsctl --addrpm git
    
    cagefsctl --force-update
    On this is done, the git application should be available correctly within CageFS for all users to utilise via SSH.

    Comment

    Working...
    X