Find it
Custom Search

Thursday, October 06, 2005

Accessing Root Privilege through Linux Terminal



Up to now you have probably updated your Linux installation using
Ubuntu's "synaptics" program.

But if you are going to install a software that is not part of the
standard Ubuntu distribution, there will come a time that you will
need to use root privilege.

To use root privelege.
1. Open the menu
2. Click system
3. Click terminal/console (you can't miss it. it's the one with the
monitor icon)
4. You will be presented with something that is similar to a DOS window
5. type: sudo -s
6. enter the password when asked. (the password is the one you
provided when you first installed Ubuntu)
7. You will know that you are already root when the prompt has change
from the $ sign to a # sign.
8. To go back to a regular user privilege, simply type exit on the # sign.
9. You will notice that the prompt changes back to a $ sign.

Q: So what's the difference between a regular user access and a root
access?

A: With a regular user access I can only read, and write to the
directory or folder assigned to me by Linux. in my case its

/home/anthony

While with a root access I will have a read and write privilege on all
the directories of Linux.

Its important that you keep your root password secure or else any user
will have the ability to mess up your Linux installation.

5 comments:

Kagi said...

THanks for the info. It's really helpful! :D

Nicholas Wright said...

I'm just starting on learning the ins and out of Kubuntu (And linux, for that matter). I think this blog is definitely going to help me get over the learning curve =)

Ninja Duck said...

Thanks, i use opensuse but this still works for me. By the way, great way of explaining.

Temujin said...

Hi. Thanks for reading.

Teh_Bucket said...

Your welcome, i know how it feels when someone is helped by something you worked really hard on.