home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6507 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.1 KB  |  33 lines

  1. Nntp-Posting-Host: maud.ifi.uio.no
  2. Newsgroups: comp.os.linux
  3. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!ifi.uio.no!janl
  4. From: janl@ifi.uio.no (Jan Nicolai Langfeldt)
  5. Subject: Re: Setuid?
  6. Message-ID: <1992Jul22.175252.26135@ifi.uio.no>
  7. Sender: janl@ifi.uio.no (Nicolai Langfeldt)
  8. Organization: Folkeaksjonen for (tungt) eple cider p} Inf. stua
  9. References: <145atsINN8pc@matt.ksu.ksu.edu> <920719904@myamig2.myamiga.mixcom.com>
  10. Date: Wed, 22 Jul 1992 17:52:52 GMT
  11. Lines: 19
  12. Originator: janl@maud.ifi.uio.no
  13.  
  14.  
  15. In article <920719904@myamig2.myamiga.mixcom.com>, smp@myamig2.myamiga.mixcom.com (Steve Palm) writes:
  16. > probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
  17. > : The setuid bit is done by doing a chmod 6xxx (where x are your normal values)
  18. >  Wouldn't a setuid be a chmod 4xxx?  I thought 6xxx was setuid/setgid.
  19.  
  20. Ah, much easier than that
  21.   setuid: chmod u+s foo
  22.   setgid: chomd g+s foo
  23.  
  24. Of-course this is somewhat wimpy (not using octal codes) but it works
  25. well...
  26.  
  27. Nicolai
  28.  
  29. -- 
  30. Nicolai Langfeldt, "Bugs made while you wait"             
  31. Internet: janl@ifi.uio.no
  32.  
  33.