View previous topic :: View next topic |
Author |
Message |
defendtherealm1 Tux's lil' helper
Joined: 16 Dec 2003 Posts: 138
|
Posted: Sat Jan 31, 2004 4:42 am Post subject: While playing around with NetBSD.....[SOLVED] |
|
|
I noticed that it had 2 security features set by default I rather liked.
1. On SSHD...it didn't allow root to connect,
2. If a user did connect via SSHD and they done an SU it would send a message to the console.
How would I be able to get both features going in Gentoo?
Cheers.
Last edited by defendtherealm1 on Sat Jan 31, 2004 8:58 pm; edited 1 time in total |
|
Back to top |
|
|
DiskBreaker Apprentice
Joined: 07 Oct 2003 Posts: 224
|
Posted: Sat Jan 31, 2004 4:54 am Post subject: |
|
|
Gentoo Linux Security Guide
1. In /etc/ssh/sshd_config:
Code: | #No direct root access
PermitRootLogin no
|
2. Not quite sure, but most likely enable proper logging and have events displayed on cosole by logging daemon...
Code: | #add logging level
SyslogFacility AUTH
LogLevel INFO |
hth,
disk |
|
Back to top |
|
|
defendtherealm1 Tux's lil' helper
Joined: 16 Dec 2003 Posts: 138
|
Posted: Sat Jan 31, 2004 8:57 pm Post subject: |
|
|
Thanks DiscBreaker |
|
Back to top |
|
|
|