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

    Unanswered: set user ID ( SUID)


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

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

    -rwsr-x--x 1 john J1
    -rwx------ 1 Johb J1 CONF

    and i trying to run this script in other user called mak. While runing in mak user. 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.


  2. #2
    Join Date
    Oct 2002
    Baghdad, Iraq
    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