user id's

From: shellcode (shellcode_at_adelphia.net)
Date: 04/26/04

  • Next message: Franz Geff: "Writing USB Device Drivers?"
    Date: Sun, 25 Apr 2004 23:51:17 -0500
    
    

    can somebody explain to me the difference between real user id's and
    effective user id's.

    basically im trying to understand the difference between:
    setuid()
    seteuid()
    setreuid()

    thanks.


  • Next message: Franz Geff: "Writing USB Device Drivers?"

    Relevant Pages

    • Re: change password
      ... > everything was going fine until I set the script to setuid root. ... I assume you're not literally trying to set the setuid bit on a script - ... the program with setuid(set real user ID). ...
      (comp.os.linux.security)
    • Re: shared library path problem
      ... |> could su to the setuid account, set SHLIB_PATH, and then run svrmgrl. ... The SHLIB_PATH is ignored if a process has a different effective user ... If you run a setuid program with the real user id already matching ... It should not matter whether you use login or su to get to the right ...
      (comp.sys.hp.hpux)
    • Re: user ids
      ... > setuid() ... > seteuid() ... > setreuid() ... real id = uid of user who ran the process. ...
      (comp.os.linux)