Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
While playing around with NetBSD.....[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
defendtherealm1
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2003
Posts: 138

PostPosted: Sat Jan 31, 2004 4:42 am    Post subject: While playing around with NetBSD.....[SOLVED] Reply with quote

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
View user's profile Send private message
DiskBreaker
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 224

PostPosted: Sat Jan 31, 2004 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
defendtherealm1
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2003
Posts: 138

PostPosted: Sat Jan 31, 2004 8:57 pm    Post subject: Reply with quote

Thanks DiscBreaker
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum