Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to access root privlages in terminal

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,696
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 22, 2008

There are two ways I know of how to access root privlages in the terminal in ubuntu. The first way (the one I use) is to type "sudo -s". The second way is to type "sudo -i". I decided to post this because I often run into posts on forums asking how to access root in the terminal. Hopefully this will help some people.

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (redfox1160)

  • So, I used "NTFS Configuration Tool" to try and access windows but it could only find the recovery part of the partition so now want to get rid of it and figure out another way to access windows files. So every time I try to unmount I get

    umount: only root can unmount /dev/sda2 from /media/RECOVERY

    I tried going into terminal to use "sudo su"

    and "sudo -i" but I get the same result. Does it only give me root privileges inside of terminal or outside to? Also I'm running on Ubuntu 9.10. Thanks

  • I believe it is only inside the terminal.

  • I am default user and i don't have permissions for changing the background, customize the taskbar and other stuff.. what is the command in terminal for viewing or login as root ??? To enable all permissions to my user??? HELP PLEASE

  • @FuNkY33333

    I am not at my linux computer right now, but i think you can just give yourself the permissions. If you go to where you can add users, you can give yourself permissions.

  • noo, it's not simple like that, i have ubuntu 7.04 in my Highschool, so the sudo is disabled

  • @FuNkY33333

    oh, I'm not completely sure how to do that.

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • @FuNkY33333 It is same in my school but i found way to get the root and add my self to all groups pm if you want to know how

  • how you make a file executable bit on ubuntu 10.04

  • Or:

    Sudo-bash

    # followed by:

    su

  • well you acessing root privlaiges right your not saving any of your changes you see. If you run Unix you should run the command ~/.profile after making changes using bash. I don't know what you do using linux to save changes I think its /ect/.profile or somthing. If you can't save somthing you should really use gochmod 775.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more