Skip site navigation (1)Skip section navigation (2)
Date:      01 Aug 2002 09:23:35 +0000
From:      Wayne Pascoe <freebsd@penguinpowered.org.uk>
To:        manee <radwasteus@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: allow some users to run only some process
Message-ID:  <m2znw7c4q0.fsf@set.ehsrealtime.com>
In-Reply-To: <3D45FD58.5040100@yahoo.com>
References:  <3D45FD58.5040100@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
manee <radwasteus@yahoo.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2znw7c4q0.fsf>