Musings of a *IX guy

All things Unixy and not Unixy
  • rss
  • About
  • Tuqix front page
  • Blog

AIX sshd start up problem

Dave | May 27, 2009

After rebooting a server sshd did not start. I tried starting using startsrc -s sshd , it came back with a PID but did not start. Looking in the errorlog with errpt -a showed src had a problem starting sshd.

OK, I thought no problem I will just start sshd from the command line to see why it fails to start so I did /usr/sbin/sshd

It came back with bad argument line 53 /etc/ssh/sshd_config

I checked the config file and sure enough at line 53 was :q!

Obviously some one had attempted to quit out of vi without saving and managed to mangle the file instead!

Removing the :q! solved sshd starting correctly.

Comments
No Comments »
Categories
AIX
Comments rss Comments rss
Trackback Trackback

Expire TSM client password and email new password

Dave | May 20, 2009

If you want to check your TSM client passwords are expiring and generating a new password you can use the mailprog stanza in the dsm.sys file on the client and it will email you with the newly generated password when it expires.

In dsm.sys within the Server section :-

MAILPROG /usr/bin/mailx -c cc@host1 -b bcc@host2  root@host3

Then when the password expires and generates a new one it will email the new one to those on the addresses above

Comments
No Comments »
Categories
TSM
Comments rss Comments rss
Trackback Trackback

To Do list / Task List manager ; Taskfreak

Dave | May 5, 2009


When ( not if ! ) you decide you need a To Do list / Task List then I suggest you head over to the Lifehacker we site. This is an excellent site for productivity ideas ( also some fun non productive ones ! ). It covers both computer based and non computer based ( e.g. paper notebooks etc. ) tools. If you decide on a paper based approach then head over to Cultpens to select you required pen or pencil from their very interesting collection. They also have a pen finder tool to help you select the perfect writing instrument for your task.

If you decide that  a computer based To Do list / Task List manager  is the way to go then check out a comparison of software .

I wanted a tool that was web based , that could be installed on my own web server and is easy to add and “cross off” tasks.

I tried a few different ones and found Taskfreak to be just want I needed.  It features amongst other things :-

  • Display tasks by project
  • Display tasks by deadline
  • Display completed tasks
  • Add comments to tasks
  • Simple progress bar for tasks
  • Pop up calender when adding deadlines

See the screen shots below for an idea of how it looks

It was also by far the easiest software I tested to create a new task. It is also multi user with several levels of users ( don’t worry if you just want to use it for one person – it is fine to do so ). There is a single user version on the site but it does not have as many features so I suggest you install the multi user version even if it is going to be used by only one person.

The license is GPL and it requires PHP 4.3.1+ or PHP 5 plus MySql  .

Installing Taskfreak

This assumes you already have MySql and PHP setup. These instructions are for Centos but will be similar for various Linux distributions.

Download the tar ball from the Taskfreak site

Create the database

mysql -u root -p
mysql> create database taskfreak;
mysql> grant all privileges on taskfreak.* to taskfreak@localhost identified by ‘Password’ ;

mysql>flush privileges;

I suggest restricting access to the Taskfreak directory for security in Apache. There is a good guide to do this here.

cd /var/www/html

Untar the taskfreak tar ball and rename the directory to taskfreak

chmod -R 755 taskfreak

cd taskfreak/include

vi config.php

Change the value of TZN_DB_USER to be taskfreak

Change the value of TZN_DB_PASS to the password you set above

Point your browser at the taskfreak/install/index.php  script and click on Check install

If everything is OK it will ask you if you want to create the missing tables – click on yes install missing tables for me.

If all is OK then click on Launch Taskfreak

Login as admin ( no password ) and you will be in the application.

You will see a warning about removing the install directory – this should be done so no one can overwrite you install.

cd to the directory you installed Taskfreak in and rm -r install

Set the Admin password and profile

Go to Manage – My Profile

Set your details including a password

Click on return to list

To create another user click on the taskfreaknu1new user icon :-

Fill in the details and click on Account is enabled – this will then let you setup the user as an Administaror , Manager, Intern or Guest.

From the README file explains the privileges :-General permissions:
- guests, interns and managers can view only tasks that belong to the
projects they are associated with
- interns, managers and administrator can create tasks (guests can not)
- interns, managers and administrator can see internal tasks (guests can not)
- managers and administrator can create projects
- managers and administrator can create users
- administrator can edit everything (tasks, projects, users)

Then we can give a specific position to a user when linking him to a project:
- extern: can only see tasks, can not do anything
- official: can add comments (later)
- member: can create tasks
- moderator: can add, edit, delete tasks and comments, manage users and change
project’s status
- leader: can do everything

Associating a task to a user is only for you to organize yourself.
Someone who has access to the system and is associated to a project can see
all (public) tasks of the project.

Using Taskfreak

Taskfreak is easy to use, one of the reason why I chose it was becuase it is so easy to add a task.

To add a new task – Task – New To Do

Fill in the form as desired. The Context selection is for using TaskFreak as part of Getting Things Done (GTD)

If you need to create a new project at the same time just click on the link. To bring up a calendar for the deadline click on the icon.

Add a task

Add a task

Displaying tasks

You can display only tasks belonging to a particular project, display completed tasks only , display both completed and future tasks.

You can order the display by priority, project, deadline, status just by clicking on the headings

Display tasks

Display tasks

Adding comments

You can add time stamped comments by clicking on the “bubble” icon in the Com. field.

TaskFreak adding comments

TaskFreak adding comments

You also have a history and descrption tag

To change the status of a task ( e.g. 40% done ) just click on the Status grids next to the task

To complete a task you can click on the final grid in the status column for the task

You can edit a task just by clicking on it in the Title column.

Customizations and add-ons

As TaskFreak is open source you can customize colours , contexts etc. Head over to the TaskFreak forums where there are lots of hints and also details of plugins .

If you find TaskFreak useful then there is a donation button on the TaskFreak website.

Comments
No Comments »
Categories
Applications to install on a personal web site, Centos, Uncategorized, VPS server
Comments rss Comments rss
Trackback Trackback

Navigation

  • AIX
  • Applications to install on a personal web site
  • Centos
  • Email
  • Hi-Fi
  • Linux
  • Linux desktop
  • TSM
  • Uncategorized
  • VPS server
  • Websphere
  • Wordpress

Search

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox