Pages

Sunday, February 20, 2011

sudoers

If you want to allow a user to run a command as another user, /etc/sudoers file should be used. Usually it's necessary for a user to run a command as root, equivalent to the Windows "Run as administrator". That is quite straight forward. Add in /etc/sudoers:

username ALL=NOPASSWD: /usr/sbin/ntpdate

Now this will be allowed:

username@laptop:~$ sudo /usr/sbin/ntpdate

There is another situation: when you need user1 to run a command as user2. For this you add to /etc/sudoers:

user1 ALL=(user2) NOPASSWD: /home/user1/bin/start_daemon

In this case user1 will be able to do:

user1@laptop:~$ sudo -u user1  /home/user1/bin/start_daemon

Tuesday, February 15, 2011

grow meat

I recently read an article about some scientists that work in a lab and study ways to artificially grow meat. They are complaining about the lack of funding. Also they are complaining about people not being receptive at what they are doing. People tend to reject the idea of growing meat in a lab.
I wonder why that is so. What makes people prefer overdosed chicken which grow in those small small boxes in the modern days farms? I guess there are remains of the idilic picture of the farm where chicken run free around the house. But how many of us eat chicken that has ever seen the sun? What is the difference between growing meat in a lab and growing something that resembles only by very far with the chicken we know?
I believe there is conservative part in us. A part that denies changes. If we consider our history, each change was more or less painful. The same history proves that changes seldom can be actually stopped. I might seem like the devil's advocate here, but I say: we should start realising the true picture of the present. There is very little left that we can consider natural or organic. This is very bad. We eat a lot of junk. We drink a lot of junk. The lucky ones that have the money go out there and by organic stuff. As if they have any warranty that the thing they spend a fortune on is organic.
Anyways. I don't believe there is enough organic food for everybody. This solution is no longer a solution for us. Not a solution for us as a population of this planet. The sooner we realise this, the better.
There are solutions like this: grow meat in a lab. Why not? Maybe it's healthier than those chicken I talked about, you know which. Those chicken that are like dinosaurs judging from their breast. Why not invest in an alternative to conventional nourishment? Maybe if we invest some money and some interest in these alternatives we will have something to win in the long run. I also think about applications of this meat-growing thing in medicine. What is, let's say you lose an arm. And then somebody grows in a lab an arm for you. After all, maybe we'll also find a way to grow bones, if we manage with the meat part. I wonder how many of you would refuse that hand. Because it's not organic.
My position is this: let's try to make good food. Let's stop trying to fool people that we offer them organic food. I am sure that given enough resources, people will find a way to make healthy and good artificial food. Grown in a lab. I would prefer it to what we have now. I would like to eat some proteins, fibres, glucoses that don't also contain pesticides, that don't also contain growth hormones.
I wonder how much time it will take for all this to change. I wonder in how many years, decades, centuries people will stop trying to eat organic food. But I believe that time will come some day. And then, there will be other problems, of course.