Koozali.org: home of the SME Server

Hardening SME server (reprise)

Offline Bud

  • *
  • 487
  • +0/-0
Hardening SME server (reprise)
« on: April 14, 2017, 09:13:46 AM »
please guys just some questions on this subject

1. how do protect the sme server to NOT display what it is loading during the boot process ie: just to display eg: " Server Booting " or something similar

2. after the boot process i simply want to display a prompt with eg: " smeserver9.1 " what file(s) must i edit to do this?

3. how do i secure ( password protect ) the grub menu?

any help greatly appreciated  :)

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Hardening SME server (reprise)
« Reply #1 on: April 14, 2017, 11:44:12 AM »
Splitted from the original post, which is old

Bud, can you give us some "environmental" details? and, more, what are you trying to achieve?

Offline Bud

  • *
  • 487
  • +0/-0
Re: Hardening SME server (reprise)
« Reply #2 on: April 14, 2017, 11:56:39 AM »
Stefano thanks for your reply

what i am trying to achieve is to secure the server(s) from prying eyes.

i am trying to enable or disable the boot process from showing what is being loaded during the sme server boot process.

any ideas?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Hardening SME server (reprise)
« Reply #3 on: April 14, 2017, 12:07:58 PM »
ok..

1) setting a password on grub or bios won't let you update/reconfigure your server if you're not onsite
2) AFAIK even if "rhgb" and "quiet" are default values in grub config for SME9, they "don't work", meaning that according to this site (for example) the verbose boot should be available removing those params.. anyway, even if you set up your grub to be less verbose, hitting Esc should give you again the possibility to see what's going on
3) IMO, security by obscurity doesn't work.. yus be sure your server is updated, your passwords are strong, your webapp (WP, Joomla ecc, if any) are updated too

and, finally.. such measures are intended to "protect" your server from people standing in front of it.. BTW, if someone has phisical access to your server, nothing will work :-)

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Hardening SME server (reprise)
« Reply #4 on: April 14, 2017, 12:32:48 PM »
searched a bit.. starting from this post on centos' forum (https://www.centos.org/forums/viewtopic.php?t=48019)
I tried

Code: [Select]
[root@backup server]# plymouth-set-default-theme
text

so there's no other theme..

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Hardening SME server (reprise)
« Reply #5 on: April 14, 2017, 03:57:37 PM »
I fail to see how hiding boot information get more security. There's absolutely no sensitive info printed during boot
C'est la fin du monde !!! :lol:

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Hardening SME server (reprise)
« Reply #6 on: April 15, 2017, 01:32:26 AM »
i am trying to enable or disable the boot process from showing what is being loaded during the sme server boot process.
Unplug the monitor?

I really don't understand what you're trying to accomplish, or why.  Most of the services that come up during the boot process can be deduced by knowing the functionality provided by the SME server.  But more to the point, if an attacker has physical access to your SME box, you have no reason to count on any security at all.
......

Offline ReetP

  • *
  • 3,738
  • +5/-0
Re: Hardening SME server (reprise)
« Reply #7 on: April 20, 2017, 12:54:56 PM »
ok..

1) setting a password on grub or bios won't let you update/reconfigure your server if you're not onsite

Unless you have remote access to iLO or a nice little Aten remote KVM unit ;-)

Handy get out of jail free for those 'Press F1 to continue' days  :lol:
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation