arbitrary files in selected users cagefs only

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wes
    Junior Member
    • Mar 2021
    • 3

    #1

    arbitrary files in selected users cagefs only

    cagefs
  • wes
    Junior Member
    • Mar 2021
    • 3

    #2
    Hi,

    Is there a way for an arbitrary file to be copied to selected users cagefs?

    For example I want only user u1 to have /usr/bin/sudo in his virtual FS
    All other users should not have the file copied in.

    Comment

    • iseletsk
      Senior Member
      • Dec 2017
      • 1199

      #3
      No, you cannot do that. Only for /etc/ directory.
      Also, even if sudo is in cagefs, it will not work, as there is no suid files. If user has sudo access, he shouldn be in cagefs.

      Comment

      Working...