Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.