On Tue, 13 Nov 2001, Selvikunnam wrote:

> Is there any way to give access conrol for particular user to run specific 
>application.
> 
> Ex...
> 
> A,B,C is a user in different group
> 
> Everyone using "ymessenger " application for chating
> 
> How can i give access only to user A. So that others cannot use this
> application. i am using RH7.1
> 
    Let's call A's group "<group of A>", and suppose the application is 
in /usr/local/bin/ymessenger.  As root the command
chgrp <group of A> /usr/local/bin/ymessenger
will change the group of the application to A's group.  The command
chmod 750 /usr/local/bin/ymessenger
will then allow only the owner (root, I suppose) and members of A's group
to use the application.  If there are others in A's group who you also 
don't want using ymessenger, you can define a new group and add A to it.
For example, if /etc/group has the line "ymessusers:x:400:A", then
chgrp ymessusers /usr/local/bin/ymessenger 
chmod 750 /usr/local/bin/ymessenger
will let only A use ymessenger.  "ymessusers:x:400:A,B" will allow only
A and B to use ymessenger, ...

-- 
Steven Yellin



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to