|
[SMS] - Superb Mini Server Project Support Forum |
|
|
|
View previous topic :: View next topic |
Author |
Message |
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Sat Oct 06, 2012 2:30 pm Post subject: secure server |
|
|
how can i secure / chroot all services / http, smtp, ssh,... |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Oct 06, 2012 4:17 pm Post subject: |
|
|
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 |
|
|
|
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
|
|
|
|