Shell restricted access
Michal G
gonda.miso at gmail.com
Tue May 17 12:00:42 UTC 2016
I will go this way than. But if I am correct I cannot change for example
read permissions for some files like /etc/passwd etc. to totally isolate
users so there is no way how to prevent them to do "cat /etc/passwd" or
similar. Is there any security flaw I should be aware of if I just create
those users and keep everything as it is without settings more file
permissions on the system? For binaries I will use setuid as you said.
On Fri, May 13, 2016 at 7:42 PM, Jackmcbarn <jackmcbarn+bb at gmail.com> wrote:
> The best approach here is to use file permissions to prevent them from
> accessing files and directories they shouldn't. If there need to be
> exceptions for certain programs, implement them as setuid binaries.
>
> On Wed, May 11, 2016 at 8:17 AM, Michal G <gonda.miso at gmail.com> wrote:
>
>> Hi,
>> I am using Buildroot with Busybox on my system and I would like to
>> implement some serious restrictions for the users. I have 3~4 more users
>> and each of them should have an access only to their own folders and couple
>> of shell scripts. I would use shell scripts to change content of other
>> files. Nothing more.
>> Is it possible to achieve this in Buildroot ash? Or what would be the
>> best approach?
>> Thank you very much.
>>
>> BR
>> Michal Gonda
>>
>> _______________________________________________
>> busybox mailing list
>> busybox at busybox.net
>> http://lists.busybox.net/mailman/listinfo/busybox
>>
>
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20160517/6e4ea457/attachment.html>
More information about the busybox
mailing list