LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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

Reply
 
Search this Thread
Old 09-17-2005, 02:20 PM   #1
pthug
LQ Newbie
 
Registered: Jul 2004
Location: UK
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
deny commands execution


Greets all,

I've searched the forums, but i was unsure what exactly i was looking for to be honest. I've just setup a small ssh server, i was looking at blocking some commands for certain users or groups.

For example

Secure - blocking execution of telnet/ssh/ping/gcc/g++ and some other commands that i feel won't need to be used by that group.

Any Help is appreciated.


Regards,
Kevin
 
Old 09-18-2005, 02:12 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,128

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Use standard file permissions or ACLs. For example change the group of the compilers to "compileruser" and chmod them to 750 so non root users not in the compileruser group can't use them. Use ACLs (man getfacl, setfacl) if you need more granularity.
 
  


Reply


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 tell where the execution is going on right now? bahadur Programming 7 04-03-2005 03:42 AM
never_direct deny all vs. always_direct deny all simplyrahul Linux - General 1 02-16-2005 02:42 PM
how to [time] the execution hq4ever Linux - General 8 07-03-2004 04:57 AM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
Cygwin commands execution max2878 Linux - General 3 05-29-2002 07:19 PM


All times are GMT -5. The time now is 03:27 AM.

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