LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-18-2006, 11:27 AM   #1
shaolin77
Member
 
Registered: Aug 2004
Distribution: Fedora and Ubuntu
Posts: 42

Rep: Reputation: 15
System Admin


Whats up people,
I recently converted an old PC to run as a linux RH9 server. I'm planning on setting up a few people to SSH into this box. I was wondering if any of you knew if there is way I can track or view a log of some sort of who has SSH'd into this box and what they have up to that would be great.

Also I'm planning on adding quota's to their user accounts to prevent them from taking all my disk space. Does anyone have any good tips so I can admin this box efficiently. I would like to monitor this box like a hawk, so any help in this area would also be great.

So one of my primary users that I have setup so far has been setup with a 504 UID and 504 group ID. I'm not sure if I want to give permission to execute....just read and write for now. So again any help would be great!

Thanks


Shaolin 77

 
Old 06-18-2006, 11:34 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,066

Rep: Reputation: 295Reputation: 295Reputation: 295
If you want to go for security, I'd suggest you go for a distro still in active support (i.e. not RH9, although there are still some security fixes from the Fedora legacy project for those who can't upgrade).

As for seeing who has logged in, try the last command. Be aware, though that it just reads /var/log/wtmp, which can be tampered with by an attacker with root priveliges.

As for tips and tricks ... I'd suggest perusing the security resources thread sticked at the top of this forum.
 
Old 06-18-2006, 11:21 PM   #3
shaolin77
Member
 
Registered: Aug 2004
Distribution: Fedora and Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 15
Btmiller,
Thanks for the tips, I'll look into getting an updated distro...any suggestions, is there anything else I should be doing to setup my users correctly? Most of them are not active Linux users and I'm trying to show them why Linux is so much better than windows.


Thanks

Shaolin
 
Old 06-19-2006, 10:23 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Basic ssh security says to never allow root to login (see sshd.conf) and to use SSH v2 protocol only (not v1).

Check out also
Code:
man quota
man edquota
 
  


Reply

Tags
linux, maintainence, mode, suse


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
game server system admin wanted. Baghdad Linux - General 1 02-20-2006 05:45 PM
System Admin Certification Question nazs Linux - Certification 1 01-18-2006 02:59 AM
An app for remote system admin via email? celejar Linux - Software 2 01-04-2006 03:05 PM
Commonly AIX System Admin Tasks DriveMeCrazy AIX 2 12-07-2005 07:57 PM
System Admin wanted glowrider General 1 07-19-2003 06:17 PM


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