Article View: gnu.emacs.help
Article #188810Emacs made setgid kmem and csh: permission denied mesages
From: Marc P. Rinfret
Date: Fri, 12 Jul 1991 01:54
Date: Fri, 12 Jul 1991 01:54
23 lines
1581 bytes
1581 bytes
Greetings, One of the changes between 18.54 and 18.57 was with display-time and loadst. Previously loadst was the one getting the load average information. Because we like to protect /dev/kmem 640 root,kmem I simply had to make loadst setgid kmem and it worked. I tried, worrying about a lot of potential problems, making emacs (eek!) setgid kmem. When I do so the load-average function can get the information it needs. One of the problems of having emacs setgid kmem, is that it breaks quite a few functions. For instance, shell doesn't work. The message is: 'csh: permission denied'. Am I hitting on some security feature that would prevent doing an exec while egid != gid? Am I the only one with this problem? Do you know of any fix or workaround? BTW, this is with SunOS 4.1 on SPARC. Marc. -- Marc P. Rinfret Systems Administrator marc@matrox.com (514)685-7230 x2604 Matrox Electronic Systems Ltd. ...!uunet!matrox!marc
Technical Details
Message-ID:
<1991Jul12.015456.8237@pandora.matrox.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bonnie.concordia.ca!IRO.UMontreal.CA!matrox!matrox.com!marcShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,60098b9b37d98da1,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-07-11 23:20:23 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bonnie.concordia.ca!IRO.UMontreal.CA!matrox!matrox.com!marc From: marc@pandora.matrox.com (Marc P. Rinfret) Newsgroups: gnu.emacs.help Subject: Emacs made setgid kmem and csh: permission denied mesages Message-ID: <1991Jul12.015456.8237@pandora.matrox.com> Date: 12 Jul 91 01:54:56 GMT Sender: marc@pandora.matrox.com (Marc P. Rinfret) Organization: Matrox Ltee, Montreal QC Lines: 23