From owner-freebsd-questions Thu Aug 1 1:23:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D7B737B400 for ; Thu, 1 Aug 2002 01:23:24 -0700 (PDT) Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B56D643E3B for ; Thu, 1 Aug 2002 01:23:23 -0700 (PDT) (envelope-from wayne@penguinpowered.org.uk) Received: from set.ehsrealtime.com ([213.52.146.197]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17aBEq-000CwQ-01; Thu, 01 Aug 2002 09:23:16 +0100 Received: from waynep by set.ehsrealtime.com with local (Exim 3.34 #1) id 17aCBD-00005z-00; Thu, 01 Aug 2002 09:23:35 +0000 From: Wayne Pascoe To: manee Cc: freebsd-questions@freebsd.org Subject: Re: allow some users to run only some process References: <3D45FD58.5040100@yahoo.com> Date: 01 Aug 2002 09:23:35 +0000 In-Reply-To: <3D45FD58.5040100@yahoo.com> Message-ID: Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG manee writes: > hi sirs, > > i am using `FreeBSD firak.thai-aec.org 4.6-STABLE FreeBSD 4.6-STABLE > #2: Sun Jul 14 13:58:35 ICT 2002 > root@firak.thai-aec.org:/usr/obj/usr/src/sys/Firak i386' > > > at present i use private ip number. but a domain name is a real one. > > if i want some user, his id is krok for example, to run xfig and do > not want other user, her id is jumjim, to run this program from some > other host in the same domain, what method should i use in order to > accomplish this requirement. Your best bet is to set permissions on the file so that the owner and the group are the only ones that can execute it (750 or 550). Then add krok to the group that the file belongs to but do not ad jumjim to that group. HTH. -- - Wayne Pascoe - http://www.penguinpowered.org.uk/wayne/ Microsoft complaining about the source license used by Linux is like the event horizon calling the kettle black - adamba on k5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message