Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Am a noob and trying to secure a Ubuntu 10.04 Lts remote server for my application deployment...& i have ssh access to it.,

i would be grateful if somebody can help me by giving some pointers,Tips or guiding me with the process of securing the Ubuntu server and jboss server as well....

thanks in advance...

share|improve this question
    
possible duplicate of What steps do you take to secure a Debian server? –  Scott Pack Nov 28 '11 at 15:38
add comment

2 Answers

You can look at this post for securing a debian server. Ubuntu is a debian-based system. So, this should work for you.

share|improve this answer
add comment

Some important pointers concerning security of JBoss application servers:

On the productive machine which is accessible from outside your development environment you should shut down all the admin access tools.

That is:
- jmx-console,
- admin-console and
- web-console.

Either take them down manually, i.e. undeploy (=delete) the corresponding .war files on the runnning JBoss instance, or move them to different ports which are blocked on your companies firewall so they are not accessible from the outside. (This is better, so you will still be able to use them to maintain your server.)

Here is an article talking about how dangerous it is to not configure the above things: vulnerability of unsecure JMX-consoles (Read this, this is important. An unsecured jmx-console will allow anyone full access to your server, e.g. he could shut it down with the click of a mouse...)

You will also have to activate the security on the jmx-console, otherwise it will not even ask you for a password. Here is a link that explains you what to do: securing the JMX-console

Last but not least, definitely change the default admin password. Just in case someone will still be able to access one of those consoles it is not clever to leave the admin/admin default credentials in there...

If you do the above things this should be a good start. Securing the Ubuntu Server is of course quite an other story. However the default configuration of Ubuntu is rather good - if you didn't do too many crazy things like (installing unsecure services) I guess you should be rather secure on that end.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.