Tag Archives: Ubuntu

Adding a Startup Script in Ubuntu

Sometimes there is a script which you wrote that you want to be run each time your system boots up. This was the case when I installed the GNU HTTP Tunnel server to allow SSH through HTTP Proxies for my … Continue reading

Posted in Ubuntu | Tagged | Comments Off

Restricting Shell Users to their Home Directory

The “easiest way” to lock down users to their home directory is to switch their shell account to rbash (restricted bash).  The rbash shell behaves like the bash shell, but some functions are disallowed e.g. change directory with cd. For … Continue reading

Posted in Security, Ubuntu | Tagged , | Comments Off

Restricting Shell for only SCP/SFTP

If you have a server, but only want to allow users to copy files via sFTP without providing shell access. This can be done with rssh, a restricted shell for use with OpenSSH that allows only scp and/or sftp. To … Continue reading

Posted in Security, SSH, Ubuntu | Tagged , , | Comments Off

Problem using MySQL JDBC on Tomcat 5.5 and Ubuntu 8.04

Normally when I build a web application that connects to a MySQL database, I would place the mysql-connector-java-bin.jar file into the WEB-INF/lib of the web application. However, when I deployed the application on Tomcat 5.5 on Ubuntu 8.04 I got … Continue reading

Posted in Java, MySQL, Tomcat, Ubuntu | Tagged , , , | Comments Off

Open RAR Files in Ubuntu

RAR is a file format developed by Eugene Roshal, and one of the most popular format used for data compression and archiving next to the ZIP file format. By default, Ubuntu doesn’t have any support for extracting RAR files, however … Continue reading

Posted in Ubuntu | Tagged | Comments Off