From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9ba4,31029814498c8f19 X-Google-Attributes: gidf9ba4,public X-Google-Thread: fee84,31029814498c8f19 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,31029814498c8f19 X-Google-Attributes: gidf678f,public From: aa0026@dce-1.wayne.edu (Thomas R. Stevenson) Subject: Re: Why doesn't DFS support SETUID files? Date: 1996/11/27 Message-ID: #1/1 X-Deja-AN: 201079807 references: organization: Wayne State University newsgroups: comp.soft-sys.dce,comp.unix.osf.misc,comp.unix.osf.osf1 aa0026@dce-1.wayne.edu (Thomas R. Stevenson) writes: > > aa0026@dce-1.wayne.edu (Thomas R. Stevenson) writes: > > > > > > > Although there are many reasons to go with a DCE environment, our main > > reason was the distribution of files using DFS. For the most part, > > this is working very well, with one exception, SETUID files. > > > > Thanks to Bruce Foster for pointing out the `cm setsetuid` and `cm > getsetuid` DCE commands to me. I haven't had a chance to try them yet, > but they seem to do what I was hoping I could do with setuid files. Some more information on the `cm setsetuid` DCE command. The `cm setsetuid` DCE command must be executed by the Unix root user on each client machine that wants to allow SETUID files in DFS for that client machine. Because it makes changes to the cache manager data, and not the real DFS files, it must be executed after each reload of the client machine. The `cm setsetuid` DCE command does not change the settings of the SETUID flag for a given file, it only allows the `chmod` command the permission to set thus flag within the cache manager data for the given file. Thus, after executing the `cm setsetuid` DCE command for a given file, the root user must still execute a `chmod u+s` command to turn on the SETUID flag for a given file. Because this has to be done after each reboot of each client machine, it can be placed in the machine startup script. -- ____ __ __ EMail: mailto:aa0026@dce-1.wayne.edu / /_/ /_ VMail: (313) 577-4742 /. /\. __/. Fax: (313) 577-5626 Home Page: http://tom.cc.wayne.edu Anon FTP: ftp://tom.cc.wayne.edu For my PGP PUBLIC KEY BLOCK, finger aa0026@dce-1.wayne.edu "A common mistake that people make when trying to design something completely foolproof was Douglas Adams to underestimate the ingenuity of complete Mostly Harmless fools."