LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-17-2005, 08:45 AM   #1
triley
Member
 
Registered: Oct 2003
Posts: 74

Rep: Reputation: 15
Locking down linux


I'm trying to lock down a couple linux systems for my users. They want their systems configured so that only root can shutdown/halt/reboot a system. Is this as simple as deleting the user shutdown for example from /etc/passwd or is there more to it? Thanks.
 
Old 06-17-2005, 09:41 AM   #2
alpesh
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
try using latest version of bastil .
Its really a good linux hardening software
 
Old 06-17-2005, 10:18 AM   #3
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
By default only root can run /sbin/shutdown, /sbin/reboot, etc. If you want to disable shutdown/reboot from a display manager you'll have to configure it, i.e. for GDM you can completely disable the system menu or make them require the root password.

If the users have physical access to the box, you'll probably want to comment out the ctrlaltdel line from /etc/inittab so that they can't hit Ctrl+Alt+Del from the console to reboot the box.
 
Old 06-17-2005, 10:53 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Which distro are you using? If you are using Debian take a look at Securing Debian Manual.

The Rute book is a good place to start also.

Like someone else mentioned "Bastille Linux" is a good way to start the hardening process.
The Bastille Hardening program "locks down" an operating system, proactively configuring the system for increased security and decreasing its susceptibility to compromise. Bastille can also assess a system's current state of hardening, granularly reporting on each of the security settings with which it works.

Last edited by craigevil; 06-17-2005 at 10:56 AM.
 
  


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
Linux locking up, what should I do? M$ISBS Linux - General 3 06-25-2005 06:43 PM
Linux Locking Up deft Linux - General 1 04-04-2005 06:02 PM
Just converted to Linux - X keeps locking paulsh2k4 Linux - Software 11 09-14-2004 08:30 AM
File locking in Linux xailer Programming 5 12-29-2003 02:00 PM
Linux keeps locking up!!!! yzrider210 Linux - Newbie 12 11-18-2003 07:44 PM

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

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