Monday, November 12, 2007

Contradiction

We believe our ability but blame our fate in case of failure.
By SMAN

Saturday, July 14, 2007

Steps to configure Telnet/FTP in Linux

If the telnet and ftp services are not running it is required to run the ftp deamon services. It will start the telnet and ftp servers.

1. Red Hat Enterprise Linux: RHEL3 / RHEL4


Enabling Telnet and FTP Services
Do the steps below

#login as root
#chkconfig telnet on
#service xinetd reload

Reloading configuration: [ OK ]

For RHEL 3.0 release, the FTP server command is

#/etc/init.d/vsftpd start
Starting vsftpd for vsftpd: [ OK ]

Configure Telnet for root logins
To allow the n number of telnet sessions as root edit the file /etc/securetty and add the following to the end of the file:
pts/0
pts/1
.
.
.
pts/n


Configure FTP for root logins
Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file.

2. Red Hat (Fedora Core 1 / Core 2)

Enabling Telnet and FTP Services
Do the steps below

# login as root
# edit the files :
/etc/xinetd.d/telnet
/etc/xinetd.d/wu-ftpd


In these files, find the line for disable and change its value from "yes" to "no".

Restart the xinetd deamon now.

#/etc/init.d/xinetd reload

For Fedora Core 1 release, the command is

#/etc/init.d/vsftpd start

Configure Telnet for root logins
To allow the n number of telnet sessions as root edit the file /etc/securetty and add the following to the end of the file:

pts/0
pts/1
.
.
.
pts/n


Configure FTP for root logins
Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file.

3. Red Hat (Release 7.x - 8.x)

Enabling Telnet and FTP Services
Do the steps below

# login as root
# edit the files:
/etc/xinetd.d/telnet
/etc/xinetd.d/wu-ftpd


In these files, find the line for disable and change its value from the "yes" to "no".

Restart the xinetd deamon now.
# /etc/init.d/xinetd reload

Configure Telnet for root logins
To allow the n number of telnet sessions as root edit the file /etc/securetty and add the following to the end of the file:

pts/0
pts/1
.
.
.
pts/n


Configure FTP for root logins
Edit the file /etc/ftpaccess and comment out the 'deny-uid' and 'deny-gid' lines. Remove the 'root' line from /etc/ftpusers.

Friday, June 8, 2007

Monitoring the backend Storage

How to Monitor the backend storage connected to the system

This Section will be continued...
Readers please leave your comments and any more expectations.

Heart Attack - How to Prevent

Qn: What are the thumb rules for a layman to take care of his heart ?

Ans:
1. Diet - Less of carbohydrate, more of protein, less oil
2. Exercise - Half an hour's walk, at least five days a week; avoid lifts and avoid sitting for a longtime
3. Quit smoking
4. Control weight
5. Control blood pressure and sugar

Qn: Is eating non-veg food (fish) good for the heart?

Ans: No

Qn: It's still a grave shock to hear that some apparently healthy person
gets a cardiac arrest. How do we understand it in perspective?

Ans: This is called silent attack; that is why we recommend everyone past the age of 30 to undergo routine health checkups.

Qn: Are heart diseases hereditary?

Ans: Yes

Qn: What are the ways in which the heart is stressed? What practices do you suggest to de-stress?


Ans: Change your attitude towards life. Do not look for perfection in everything in life.

Qn: Is walking better than jogging or is more intensive exercise required to keep a healthy heart?

Ans: Walking is better than jogging since jogging leads to early fatigue and injury to joints .

Qn: You have done so much for the poor and needy. What has inspired you to do so?

Ans: Mother Theresa , who was my patient.

Qn: Can people with low blood pressure suffer heart diseases?

Ans: Extremely rare

Qn: Does cholesterol accumulates right from an early age
(I'm currently only 22) or do you have to worry about it only after you are above 30 years of age?

Ans: Cholesterol accumulates from childhood.

Qn: How do irregular eating habits affect the heart ?

Ans: You tend to eat junk food when the habits are irregular and your body's enzyme release for digestion gets confused.

Qn: How can I control cholesterol content without using medicines?

Ans: Control diet, walk and eat walnut.

Qn: Can yoga prevent heart ailments?

Ans: Yoga helps.

Qn: Which is the best and worst food for the heart?

Ans: Fruits and vegetables are the best and the worst is oil.

Qn: Which oil is better - groundnut, sunflower, olive?

Ans: All oils are bad .

Qn: What is the routine checkup one should go through? Is there any specific test?

Ans: Routine blood test to ensure sugar, cholesterol is ok. Check BP, Treadmill test after an echo.

Qn: What are the first aid steps to be taken on a heart attack?

Ans: Help the person into a sleeping position , place an aspirin tablet under the tongue with a sorbitrate tablet if available, and rush him to a coronary care unit since the maximum casualty takes place within the first hour.

Qn: How do you differentiate between pain caused by a heart attack and that caused due to gastric trouble?

Ans: Extremely difficult without ECG.

Qn: What is the main cause of a steep increase in heart problems amongst youngsters? I see people of about 30-40 yrs of age having heart attacks and serious heart problems.

Ans: Increased awareness has increased incidents. Also, edentary lifestyles, smoking, junk food, lack of exercise in a country where people are genetically three times more vulnerable for heart attacks than Europeans and Americans.

Qn: Is it possible for a person to have BP outside the normal range of 120/80 and yet be perfectly healthy?

Ans: Yes.

Qn: Marriages within close relatives can lead to heart problems for the child. Is it true?

Ans : Yes, co-sanguinity leads to congenital abnormalities and you may not have a software engineer as a child

Qn: Many of us have an irregular daily routine and many a times we have to stay late nights in office. Does this affect our heart ? What precautions would you recommend?

Ans : When you are young, nature protects you against all these irregularities. However, as you grow older, respect the biological clock.

Qn: Will taking anti-hypertensive drugs cause some other complications (short / long term)?

Ans : Yes, most drugs have some side effects. However, modern anti-hypertensive drugs are extremely safe.

Qn: Will consuming more coffee/tea lead to heart attacks?

Ans : No.

Qn: Are asthma patients more prone to heart disease?

Ans : No.

Qn: How would you define junk food?

Ans : Fried food like Kentucky , McDonalds , samosas, and even masala dosas.

Qn: You mentioned that Indians are three times more vulnerable. What is the reason for this, as Europeans and Americans also eat a lot of junk food?

Ans: Every race is vulnerable to some disease and unfortunately, Indians are vulnerable for the most expensive disease.

Qn: Does consuming bananas help reduce hypertension?

Ans : No.

Qn: Can a person help himself during a heart attack (Because we see a lot of forwarded emails on this)?

Ans : Yes. Lie down comfortably and put an aspirin tablet of any description under the tongue and ask someone to take you to the nearest coronary care unit without any delay and do not wait for the ambulance since most of the time, the ambulance does not turn up.

Qn: Do, in any way, low white blood cells and low hemoglobin count lead to heart problems?

Ans : No. But it is ideal to have normal hemoglobin level to increase your exercise capacity.

Qn: Sometimes, due to the hectic schedule we are not able to exercise. So, does walking while doing daily chores at home or climbing the stairs in the house, work as a substitute for exercise?

Ans : Certainly. Avoid sitting continuously for more than half an hour and even the act of getting out of the chair and going to another chair and sitting helps a lot.

Qn: Is there a relation between heart problems and blood sugar?

Ans: Yes. A strong relationship since diabetics are more vulnerable to heart attacks than non-diabetics.

Qn: What are the things one needs to take care of after a heart operation?

Ans : Diet, exercise, drugs on time , Control cholesterol, BP, weight.

Qn: Are people working on night shifts more vulnerable to heart disease when compared to day shift workers?

Ans : No.

Qn: What are the modern anti-hypertensive drugs?

Ans : There are hundreds of drugs and your doctor will chose the right combination for your problem, but my suggestion is to avoid the drugs and go for natural ways of controlling blood pressure by walk, diet to reduce weight and changing attitudes towards lifestyles.

Qn: Does dispirin or similar headache pills increase the risk of heart attacks?

Ans : No.

Qn: Why is the rate of heart attacks more in men than in women?

Ans : Nature protects women till the age of 45.

Qn: How can one keep the heart in a good condition?

Ans : Eat a healthy diet, avoid junk food, exercise everyday, do not smoke and, go for health checkups if you are past the age of 30 ( once in six months recommended)...
Courtesy: A chat was arranged by WIPRO, Bangalore with Dr.Devi Shetty , Narayana Hrudayalaya ( Heart Specialist) Bangalore.

Monday, June 4, 2007

In Democracy - ‘Duty to vote’ instead of ‘Right to vote’

The meaning of democracy is that the ruling govt. reflects the choice of the citizens in terms of their needs, aspirations and it thus represents the people of the country. But see the scenario in India. Every state looks like a Kingdome. Each state has some rulers who, from past been ruling the states as CMs and try to retain the power by hook or crook. If father retires from politics he makes the way to his or her kith and kin to rule the state. This is true at the center also as we see that the PM seat is inherited to family members many times. CM is always chosen based on family. PM is chosen based on family or made like rubber stamp of ruling parties. No one is representing the people here.

How and why this happens? People who do not believe in democracy will do this. How they are able to do this? Because, few people select them instead of all people. This is like few people selecting the government and remaining majority people pointing the government as a bad government.

If the citizens of India ‘think and vote’, this will never happen. But why they ‘think only’ but ‘not vote’? What is the problem with Indians when it comes to exercise their power of voting? Many people in the world do not have this power to choose their government but Indians have it. To be surprised educated are reluctant to vote than uneducated people. Minorities vote than majority communities. Is it like only the weaker sections resort to democracy? It looks like it is happening. If these are the problems in voting itself then why the democracy is required?

What steps can be taken by the government.

1. Make election ID cards mandatory for all. Those having the ID card can only vote.
2. It should be a ‘duty to vote’ instead of ‘right to vote’. Voting has to be made compulsory in the constitution.
3. If there are Successive 3 violations the candidate should not be allowed for voting for his whole life time. So he looses the rights to be a people representative also in his future.
For better results good people should vote. If all people vote certainly there will be better results.

There are so many intellectuals in our country. But fools are ruling us. Few intellectuals in ruling party will be like rubber stamps unfortunately. The reason is intellectuals talk about ideal situations and that ideal situation never comes. Because of this reason people never support intellectuals but they support politicians. Politicians know how to solve the dispute. Unfortunately, Politicians do not have service motivation like intellectuals. So whom to choose as our representative? Better if intellectuals make election campaign instead of some film hero and heroines. They can assist the people to choose right and good candidates.

Thursday, May 3, 2007

Distributed Password Security

Passwords are very important to protect access to a secured entity. The entity may be any system, device, file or any piece of information. Passwords are often personal codes set by individual. Everyone uses his own way to set the password by adhering to certain standards defined.

As for as the security is concerned the entire security is with that person who owns the password. This is a one person to one password security scenario for the entire given system. The drawback here is that the entire security is with that person. Due to this one person owning the security there will be problems like

1. Risk of misusing the secured entity by the person holding the password.
2. Stealing of the password by other.
3. Threat to the password holder to disclose the password.

Whatever may be the length and strength of the password chosen the above problems still remain.

What if this password security is distributed to multiple people as a team? Definitely the security can never be misused. This password can never be stolen by anybody. Also the chances of misusing the password or the risk of entire team getting threatened will never arise.

Distributed password scenario

In this case the team of n members hold the entire password so that the security is distributed to the team. Here ‘n’ sub strings S1, S2…Sn, form the password string ‘S’. It is the concatenation S1+S2+S3+…+Sn, which forms the whole password. Each member of this team holds the sub string, Si. He treats that as his own password with its own length. The login process will be successful if, all team members enter their strings S1 to Sn, correctly in order.

There is no separate implementation required for the login process to authenticate the entry except that all members should be present while login. The entire team will be the authorized users group and will be required while login.

When the entire team logs in the actual user needs to be identified. With the whole team entering the password there should be a way for the system to determine who is going to access the system and uses the system further. Any one can use the system. So the next level can be another login screen where any one member ‘Mi’ from that team can enter inside with his sub string password Si. This solves the problem of identifying the actual person going to work on that system. To change the main distributed password again the entire team is required.

This is the better approach than the multiple level logins or multiple levels of securities. It fits for the areas like military, finance and various highly secured systems, where the security is under threat.

Thursday, April 26, 2007

Indian’s identity abroad - Effect of castism

Since the days in history India’s picture in abroad was, a country with many castes, country where people have blind beliefs, country where people adore stones, mud and animals etc. During British’s rule this picture was still worsened abroad. But, now the picture has been changed due to the progress in various fields and India can play a role of model in many areas internationally.

But, still how Indians are identified outside? They ask us which cast do you belong to in India? How many castes are there in your religion? What is the difference between sub castes?
Colleagues put these questions over informal conversations abroad. The disputes over cast based reservation and castism in India made the people to think differently about Indians. Who is responsible for this? We right?

Unfortunately, in the name of culture and in the name of god caste awareness is increasing in today’s youths, though there are many rational thinkers.

There are as many casts as there are gods and there are as many gods as there are beliefs. Totally, many have misunderstood the concept of god. All behave like educated people with scientific temper but when the question of god comes all behave like coward and believe everything said in the name of god. This is the main reason for our inability to remove castism from our minds. We talk too much about removing the castism from our society but never show courage to say I am not belonged to any cast. Many never know Mahatma Gandhi belong to which cast? Do we ever think about the caste when we talk about Dr. A.P.J. Abdul Kalam? We do not consider the cast when the person is special and important. Similarly we should consider the person everywhere but not the cast he belongs to.

All religions have started from man. These religions are different as the ways to realize the god are different. All religions say the same stuff in different ways. This is like writing the same program in many programming languages, where the result is always same and there will be same types of errors in all.

People should discourage their children when they talk about castes. Parents should ask the children to recognize others as persons but not persons from xyz caste. Then at least the next generation would live happily.

Tuesday, April 17, 2007

India – Does not need any revolution

In India there is a sudden change in the lifestyle in last 2 decades. These changes are due to the globalization and technical advancements. Many sections of the societies have undergone through this change having utilized the technology advancements. This was possible for them because of the availability of the communication channels. Off course still there is a big section, which is not aware of what is happening in the world. Reaching that section has been always difficult for the organizations and governments. So those sections remained in unimproved state and fell behind decades relatively. The government’s policies fail to bring them to the main stream, as there are no such real intentions in the government executive bodies.

There is a huge mind set in India, which can think rationally to solve the various current problems what people face now. This mind set finds the better approaches for various problems we have. If we observe the discussions on the Internet and televisions we understand that current generation has started thinking in a way appropriate for the situation than the earlier days. Who knows earlier also it was the case but we had no ways to know each other in a faster way. At least the youths and children who have fresh thoughts can change the current picture of India. The sum of these minds and their rational thoughts should come together and propagate like a wave of revolution. This needs a proper leadership what the current youth community lacks.

Always the leadership is tied to politics. Politics is not required at all. Remember political power is not the requirement but the will power to make the change is required. Mahatma Gandhi had no political power but had a strong will. All our leaders, before independence had no powers but had will powers. The community section, which has the will power, can get any power.

So why to wait? Show that you have the will power to make any change in a better way. Do not fall behind the politics. By joining politics or building a party you become a part of it. If you put a drop of sweet water in sea it cannot turn the sea into sweet water. Instead it testes like seawater.

Do not waste your time and become inactive by watching games played by others. Instead play the games yourself and enjoy it and be active. There will be the real happiness.

Protest any wrong decisions by the government strongly. We have the better way to protest in India. Peacefully come to the street and protest against the odd things. Convince the people like how Mahatma Gandhi did. We need to fight against our own people again. Because the people involved in corruption are not foreigners but they are our neighbours only. We are all neighbours to somebody. The government has been fooling us in an intelligent way that we fail to understand. Our people cheat us. Just see the number of crimes in India and the type of people behind it. All are responsible people and they feel that they are not guilty. Reason for this is such people see the world as if everyone is guilty. Politicians purposefully delay their trail in court so that the punishment for them is delayed. Each one protects other. Looks they never get punishment. Only the helpless people get proper punishment for their crime. Why this odd development here? Naxalism, terrorism and any negative developments are due to the failure of the governments to provide the equality to all. Any development in society should be a voice towards the punishment to the guilty so that the crime rate comes down. All other violent actions by any group, which disturb the normal life, have failed to attain their goals. History provides the evidences for that.

The good intention with the wrong way to do that is like a good food in a dirty plate. So the people who think rationally to provide justice and equality to all must get the confidence of the people for whom they fight. Though society is made up of different type of people no one like violent approach. This need not be confused with the freedom fighters before independence. Such violence is not a requirement now. We need to remember that we need to fight against our own people, who are our neighbours.

Raise the voice when any body suffers and see that the guilty is punished. The victim will remember the support and be a part of yours. If you forsake the victim you loose one candidate and he will never believe you. Make sure all people, that the guilty must be punished. Government has become impotent in punishing the guiltiness, because, it has lost its will power. To punish the guilty one needs the will power and guts.

The voice raised in right time can bring the change slowly and change the environment. Remember, slow change is better than revolution. And it has no side effects.

Save Water and Save Life

Save Water and Save Life