Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005

    Unanswered: How to make a script executable by all users?

    I have a script in my home direcroty which upon execution gives the essential system information like memory,cpu etc and is currently owned by root:root. Now I want to see that every non root user will run this file and grab the reqired system info. I know this is some thing associated with chown command and linking the particular file to one of the directories in the PATH variable. Of course I have symbolically linked this file to /usr/lcoal/bin which is included in the PATH variable.In fact I have done this before and forgotten the procedure.

    Thanks in advance for your help.

  2. #2
    Join Date
    May 2005
    South Africa
    Provided Answers: 1

    Everyone execute permission

    chmod +x script_name

  3. #3
    Join Date
    Aug 2005
    Or try:
    chmod a+x script_name

Posting Permissions

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