Saturday, September 26, 2009

Love to Ubuntu

How to give permission to access a folder to a normal user...

First of all you have to create a root login. To do that, go to terminal and type sudo su then it will ask a password. Give the password when you gave as root password while you install Ubuntu. Now you are logged as root. You can see that where the symbol $ has changed to # in terminal. Now type passwd and type a password new password. Than will be your root password when you log as root. The user name is "root". Then restart your computer and log as root by giving "root" as username and the password that you have given above.

Now begins the real stuff where you trying to provide permission for a folder access to another user. First of all open the terminal and go to the place where you want to give the permission by using cd command. Then create a directory by using mkdir command. Then type "chown -R username:group foldername" and press enter. You can find group name by using ls -l Then again run ls -l command and you can see that the username and the group of that folder has changed to root to the relavant user.

Sometimes you will think why I wrote this and to at what time we need this kind of thing. Yes, I'll tell where I needed this thing. I'm using LAMP and Macromediad Dreamwever(through wine) in Ubuntu. So I needed to save my web pages in the /var/www folder. But you will not be able to do that in GUI mode if you are not log as root. By doing this I was able to over come that problem. Most of the websites are hosted in Linux servers. So why don't you try to implement your web site in a Linux environment. Try it now.

Wednesday, September 23, 2009

ICT 3003 - Software Quality Assurance

All the stuff in first tutorial is here

http://www.softwareqatest.com/qatfaq1.html#FAQ1_1

Friday, September 18, 2009


This is my very first blog creating attempt:)