These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes

UNIX03/Limitting Login

Classnotes | UNIX03 | RecentChanges | Preferences

See pages 315-316 of the book for instructions on limitting not only who can login to your system, but when.

Also check the section on SSH (409-419) for adding extra security to SSH.


Limit Login

You have noticed that your server goes unused by official users between the hours of 12am and 5am. You have also noticed that during these hours are when the most breakin attempts occur.

Restrict remote login during these hours. Local login is alright (if there is an attempt, and you know of it, you will still want to be able to drive to the office and repair any damage that was caused).

Also, restrict is such that root cannot SSH into the machine directly. Make it so that users must first SSH as themselves and the su to root (this forces accounting to take place).

Finally, set SSH's timeout to a reasonable default to prevent interception and possible hijacking.



Classnotes | UNIX03 | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited June 14, 2003 1:07 pm (diff)
Search:
(C) Copyright 2003 Samuel Hart
Creative Commons License
This work is licensed under a Creative Commons License.