Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
secure server
View previous topic :: View next topic  
Author Message
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Sat Oct 06, 2012 2:30 pm    Post subject: secure server Reply with quote

how can i secure / chroot all services / http, smtp, ssh,...
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1738
Location: Greece

PostPosted: Sat Oct 06, 2012 4:17 pm    Post subject: Reply with quote

You can read "Securing and Optimizing you server"
http://sms.it-ccs.com/wiki/#LinkTarget_2290

Having all services in a chroot environment? You should better create a VM for that.

If you are really want to chroot, the easiest way (space consuming) is to extract SMS.LiveCD *.xzm modules to a directory using unsquashfs and run services from there.

If you want to strip the chroot environment install core & server packages (glibc, bash, httpd, ssh, openssl e.t.c) with e.g. installpkg -root /tmp/chroot package.txz
and look for dependencies with
chroot /tmp/chroot "ldd /usr/sbin/httpd"
and copy dependencies in /tmp/chroot

Again use a VM instead.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
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
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional