Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have a query with regards to an accesss control: There are two scripts A and B. When A executes it calls B. The permission listing for A is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    1

    Access Control


    Hi I have a query with regards to an accesss control:

    There are two scripts A and B. When A executes it calls B.

    The permission listing for A is as follows
    -rwxr--r-- 1 root users 4364 Oct 2 2008 A.ksh

    The permission listing for B is as follows
    -rwxr-xr-x 1 root users 4364 Oct 2 2008 B.ksh

    My attempt is to prevent everyone from accessing B. Will the above permission restrict everyone since everyone does not have access to A and since A calls B and B cannot run by itself.

    However it appears from above that everybody can execute B. If I have to remove "x" such than anyone does not have access to script B then can I do so without affecting script A?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Setup B to be the same as A.

    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
  •