Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-17-2005, 02:20 PM   #1
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.

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

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:28 PM.

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