|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

Archive for June, 2004

Scheduling tasks with cron

Tuesday, June 29th, 2004

Cron is used to automate periodic tasks. You can simply copy scripts in cron directories under /etc/cron.hourly, daily, weekly or monthly to run it at these specific intervals.

If you need finer control, as a user you can run cronstab -e which allows you to edit your own configuration file using vi. This [...]

Create scp only account

Saturday, June 19th, 2004

To exchange files we wanted to create a shared account on each of our system that was only allowed to copy files remotely, i.e. with no shell account privileges.

This can be achieved by installing scponly:

$ apt-get install scponly
$ chsh username
Enter the new value, or press return for the default
[...]

Dynamic DNS

Saturday, June 19th, 2004

My officemates and I finally signed up with dynamic DNS to point to our local network addresses so we can exchange files without asking for each other’s IP all the times.

They signed up with DynDNS for an account and I used my existing account with No-IP to add an additional host for my laptop.

To set [...]

Install RPM package using alien

Tuesday, June 15th, 2004

alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats. To install rpm package on debian system:

$ alien –to-deb file.rpm
this will create a deb file
$ wajig install file.deb