Uncategorized

Working on Experimental Server.

Today, I worked on Experimental Server that teach me something about:

$ sudo

I logged into Experimental Server using:

$ ssh iamjagjeetubhi@202.164.53.122

But I was not able to open my server in browser using link:

http://202.164.53.122/~iamjagjeetubhi/

I was getting the error:

403 Forbidden
You don’t have permissions to access /~iamjagjeetubhi/ on this server.

I was continuously giving execution permission for others to public_html directory using:

$ sudo chmod o+rx public_html

and getting the error:

“iamjagjeetubhi is not in the sudoers file.
This incident will be reported.”

At last I came to know I don’t have sudo power. So, I can’t use sudo then I tried above command without sudo :

$ chmod o+rx public_html

Finally, it works and now I can see my public_html directory in browser 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s