Tuesday, May 8, 2007

Checking for valid password

If you want to check for valid password in the Unix/Linux Environment in C++.
  • Include crack.h
  • Use the function FascistCheck.
  • Pass the password and the path to the password dictionary as the arguments.
  • If the password is correct, a NULL string is returned.
  • If it is maligned, then a pointer is returned to the string which explains the problem.
  • Note that you must link the program compilation with -lcrack.
Anand Bora

An analogy based on my experience

Ever wondered what is the difference between a corporate company
and a small shop by your roadside.

The difference is huge obviously when you consider the massiveness
of the corporate company and the work culture in such companies.
A small shop has a very hectic culture throughout with small
number of people working in it.

I have worked in a small shop, a big shop and a big store,
both as the owner of the place and as a worker at that place
too. Currently I am working as an employee in a corporate company.

After getting through all these experiences, I thought to find
out the analogy and similarity between the small shop and a large
corporate company.

Though one might not agree, but I believe both the entities work on common norms
and protocols.
My justification is as follows:

A corporate level company has large number of employees
with the less experienced people working at the low level
of the organization. These are controlled by people who are
more experienced and who have knowledge of the work and work
A shop has 5-6 employees at a time. The owner is the head
and he maintains the finance and management of the shop.
One or two experienced people get higher wage and are given
previleges to manage other people. They also act as substitute
for maintaining finance when the owner is not at place.
The others work as normal workers.

When a fresher enters an organization, he his given ample rest.
He gets training of the technologies he is going to work on.
In a shop, a new person is first made aware of the things of the
shop, their selling prices and their placements in the shop.
In 6 months time, that person is perfectly trained to work in the shop.

A company provides a lot of incentives to the employees.
In a small shop, the shopkeeper gives small incentives
at special occassions to the employees.

There are other similarities too.
But at the end of the day, you find that you are a small
entity in an organization. You have lost your importance.
You dont have a name in this massive mob of 6 billion people.

This analogy is just to show that if you are an employee,
you have rested your fate in the hands of other people.
Just like the person working in a small shop in a small village.
You dont have your own importance.
Only your lifestyle is better and you think that you are well placed
in life.

Do think!!