LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-02-2002, 05:07 AM   #1
redgore
Member
 
Registered: Dec 2001
Location: England
Distribution: Various,currently Slackware.
Posts: 156

Rep: Reputation: 30
Question Restricting commands


Here is my situation. I give out shells on my machine to people that I trust. Yet recently one of my users had put a ping job on cron. I have removed him from the system but i want to stop it happening again. To do this i want to restrict cron jobs to my general user (the account i use) and root. I also want to restrict wall to the same accounts. How would i go about doing this?
 
Old 07-02-2002, 06:28 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
For cron you could look into cron.(allow|deny), access to wall could be allowed tru sudo when you chop off the world rx bits.

*Since you're serving out shells and you found out tru a mild incident ppl can't always be trusted, Id like to suggest you look into a kernelpatch called GRSecurity (grsecurity.net). Read up on what it offers and if that suits you in helping cope with shell users.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting access Menestrel Linux - Newbie 1 06-07-2005 08:17 AM
Restricting IP sixth_sense Linux - Networking 1 04-27-2005 08:13 AM
Restricting su to certain users roadin SUSE / openSUSE 4 03-15-2005 12:17 PM
Restricting sites mamta_k Linux - Security 7 06-18-2004 02:33 AM
restricting atachments jayakrishnan Linux - Networking 5 11-03-2003 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration