LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-16-2004, 10:02 PM   #1
Ninja_212
Member
 
Registered: Sep 2003
Location: Indonesia
Distribution: Mandrake,RedHat,Slackware
Posts: 58

Rep: Reputation: 15
How to block lsmod and su so user can't use those command


Please tell me how to do it, cause i want to disable lsmod and su so user cannot see the running modules and su-ing. I really have no idea to do this so please help me....

Thank's before
 
Old 04-16-2004, 10:54 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
http://man.linuxquestions.org/index....ction=0&type=2

or on your box

man sudoers
 
Old 04-16-2004, 11:08 PM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
change the permissions.
 
Old 04-16-2004, 11:34 PM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
cd /to/executables
chmod 700 lsmod
chmod 700 su
 
Old 04-18-2004, 12:13 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
You can just uninstall the sudo package to get rid of it.
 
  


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
How to Block User Login minil Linux - Security 6 12-19-2005 09:00 AM
Block a Particular User through FTP service karthi Linux - Security 1 11-07-2005 03:57 PM
Block user in PHP aznita Programming 4 06-17-2005 06:49 AM
Is there an optimum block size for the dd command? tgardner Linux - Newbie 1 08-25-2003 08:43 PM
lsmod command manojrkrish Linux - Newbie 5 06-20-2002 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:10 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