Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I'm running a server using CentOS 5 x64 I want to disable access of groups to "bin" folder so they cannot execute commands. [info: actually because of a bug ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    1

    how to secure commands by disabling group access?

    Hi

    I'm running a server using CentOS 5 x64

    I want to disable access of groups to "bin" folder so they cannot execute commands.

    [info: actually because of a bug in cPanel (the control panel I installed) Perl will give access to all hosting users to execute commands.]

    so what i wanna do is to ban some groups on 'bin' folder, for example 'my_group1' and 'my_group2" cannot access bin but 'my_trusted_group' can access it.

    how is it possible?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Not 100% sure what you are looking for here so....

    If you are looking to deny all groups then you might just have to chmod the bin directory.

    If you are looking to limit some groups then you might want to look at ACL.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...