Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Posts
    11

    Unanswered: set user ID ( SUID)

    Hi

    could you please help me to clarify the doubts regarding SUID.

    I have a shell script called a.sh and inside i am appending the value to text file called CONF. The permissions of both files are

    -rwsr-x--x 1 john J1 a.sh
    -rwx------ 1 Johb J1 CONF

    and i trying to run this script in other user called mak. While runing a.sh in mak user. a.sh gives the error saying that permission denied.

    While checking with SUID doc's that say if i set s to file that will own the privilege of owner. In that case why i am getting the error. Could you please help me on understanding the Set-UID.


    Thanks
    UnS

  2. #2
    Join Date
    Oct 2002
    Location
    Baghdad, Iraq
    Posts
    697
    I don't think you want setuid. Try sudo.

Posting Permissions

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