home *** CD-ROM | disk | FTP | other *** search
- Nntp-Posting-Host: maud.ifi.uio.no
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!ifi.uio.no!janl
- From: janl@ifi.uio.no (Jan Nicolai Langfeldt)
- Subject: Re: Setuid?
- Message-ID: <1992Jul22.175252.26135@ifi.uio.no>
- Sender: janl@ifi.uio.no (Nicolai Langfeldt)
- Organization: Folkeaksjonen for (tungt) eple cider p} Inf. stua
- References: <145atsINN8pc@matt.ksu.ksu.edu> <920719904@myamig2.myamiga.mixcom.com>
- Date: Wed, 22 Jul 1992 17:52:52 GMT
- Lines: 19
- Originator: janl@maud.ifi.uio.no
-
-
- In article <920719904@myamig2.myamiga.mixcom.com>, smp@myamig2.myamiga.mixcom.com (Steve Palm) writes:
- > probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
- > : The setuid bit is done by doing a chmod 6xxx (where x are your normal values)
- > Wouldn't a setuid be a chmod 4xxx? I thought 6xxx was setuid/setgid.
-
- Ah, much easier than that
- setuid: chmod u+s foo
- setgid: chomd g+s foo
-
- Of-course this is somewhat wimpy (not using octal codes) but it works
- well...
-
- Nicolai
-
- --
- Nicolai Langfeldt, "Bugs made while you wait"
- Internet: janl@ifi.uio.no
-
-