LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Closed Thread
 
Search this Thread
Old 08-28-2005, 08:52 AM   #1
naren_0101bits
Member
 
Registered: Jul 2004
Location: Guntur
Posts: 44

Rep: Reputation: 15
Question How to make a specific command(s) work for specific users or group only


hello everybody !

Iam just a newbie in Linux and iam having a small doubt here.
I want to know how to make a specific or set of commands for a specific user or a set to users.

I tried to make it by using "Access Control Lists", by setfacl command.
Please send if there is any other way apart from acl's in doing that.

Thanks to all in advance.

warmth...
NARENDRA SAIRAM IMMADI
 
Old 08-28-2005, 09:48 AM   #2
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
To restrict an executable to a certain group, type (as root):
chmod o-x path/to/exec
chown root:group path/to/exec
 
Old 08-28-2005, 09:53 AM   #3
Krontab
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
Essentially you can create multiple bin directories and grant or restrict access at the group or users level. I guess I need to know the scenario that you attempting to solve.

-Krontab
 
Old 08-28-2005, 06:22 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a specific command(s) work in a specific shell only naren_0101bits Linux - Newbie 3 08-28-2005 02:24 PM
Searching a specific directory for a specific extension? RoaCh Of DisCor Linux - Newbie 3 08-13-2005 04:28 PM
Why specific user/group for rpm installation alanbe Linux - Newbie 1 03-02-2005 05:27 PM
How to set permissions for a specific group? tigerhuang Linux - Security 1 12-10-2004 06:59 PM
Giving Specific users access to the reboot command shassouneh Linux - Security 15 03-24-2004 06:10 PM


All times are GMT -5. The time now is 06:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration