arbitrary files in selected users cagefs only
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Wes
  2. Friday, 21 February 2014
  3.  Subscribe via email
cagefs
Rate this post:
  1. 21.02.2014 04:02:34
  2. # 1
Wes Accepted Answer
Posts: 1
Joined: 19.02.2014
0
Votes
Undo
Hi,

Is there a way for an arbitrary file to be copied to selected user\'s 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.
  1. 21.02.2014 08:02:51
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
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\'t be in cagefs.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.