Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

How do I get root privaliges in the terminal?

The Ultimate Guide for the rest of us


How do I get root privaliges in the terminal?

Postby ninjawarrior » Mon Dec 24, 2012 5:18 am

I know this is kind of lame, but I am still kind of a newbie. I have been trying to access or get root privaliges from the terminal, but every time I put in my login password, it comes up with an athentication error. I am trying to access my root files, but my home directory doesn`t seem to be set up right on my terminal. How do I take care of this and how do I get root privaliges from the terminal? My home directory is /home/jondo7/ not the desktop.
Attachments
snapshot1.png
Dell Studio XPS 9100 Quad Multi Core
Intel Core I7 CPU @ 3.20GHz
12 GB 1333 DDR3 RAM
2TB Western Digital HD, 500GB Western Digital HD (secondary drive)
NVIDA GeForce GTS 450

OS: Dual Boot- Windows 7 (64 bit) & Star Sapphire(64 bit)

Image** G-Man**
User avatar
ninjawarrior
Moderator
 
Posts: 51
Joined: Mon Sep 03, 2012 12:45 am
Age: 63
Operating System: Other Linux



Re: How do I get root privaliges in the terminal?

Postby ninjawarrior » Fri Dec 28, 2012 4:34 am

The reason I am asking is because, I want root privileges so I can install NVIDIA display drivers on my system. I have successfully done this using the NVIDIA current drivers for Linux, but I want to install their drivers, downloaded from their site. I just want to ask another question: after I get into root do I need to shut down the x-window system first before installing the drivers? Then login again, install the drivers ( sh./NVIDIA(filename)) , then when that is through, get back into the graphical environment? Also, do I need to uninstall the previous display drivers before I install the new drivers? And if so, how do I uninstall them?
I have looked all over this forum and on other forums and from what I gather, this procedure should work with Ubuntu 12.04. And yet from what I have found out on this forum, Ultimate Edition 3.5 is very different in many ways from Ubuntu 12.04. I am currently running Ultimate Edition 3.5, have up graded the kernel, and I want to get the most out of this OS by using the NVIDIA drivers. I also don`t want to have to reinstall the OS again (if I can help it!). I believe I am making real good progress with getting the most out of Ultimate Edition 3.5, but it has been slow and painful at times!
Dell Studio XPS 9100 Quad Multi Core
Intel Core I7 CPU @ 3.20GHz
12 GB 1333 DDR3 RAM
2TB Western Digital HD, 500GB Western Digital HD (secondary drive)
NVIDA GeForce GTS 450

OS: Dual Boot- Windows 7 (64 bit) & Star Sapphire(64 bit)

Image** G-Man**
User avatar
ninjawarrior
Moderator
 
Posts: 51
Joined: Mon Sep 03, 2012 12:45 am
Age: 63
Operating System: Other Linux



Re: How do I get root privaliges in the terminal?

Postby pam » Fri Dec 28, 2012 5:44 am

for going root...
Code: Select all
sudo su

.....enter your password.......

to kill X and jump to a different runlevel so you can install the nvidia drivers..........
from terminal go root first..............
then type...........
Code: Select all
/etc/init.d/lightdm stop

....you will immidiately drop down to a terminal......next install your drivers..........

to install the drivers from nvidia website ....do as follows after you have got a full tty from doing the above:
Code: Select all
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

Code: Select all
sudo apt-get update

Code: Select all
sudo apt-get install nvidia-current


Once installed goto your download folder where the NVIDIA.sh driver is and install it as follows:
Code: Select all
bash  ./Nvidia...blahblah...310.19.sh

the blah is your driver....

if it dont work try this:
Code: Select all
bash  Nvidia...blahblah...310.19.sh


..........follow the steps and your driver will get installed.....
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 38
Operating System: Ultimate Edition 3.5 64 BIT



Re: How do I get root privaliges in the terminal?

Postby ninjawarrior » Sat Dec 29, 2012 8:23 pm

When I enter /etc/init.d/lightdm stop
it stops at this point and say`s
Starting Timidity++ ALSA MIDI Emulation
then just does nothing. No command prompt or anything. It just sits there. Even if I type something in, it still does nothing. Did I miss something in you above command? Or is this the "terminal" you were talking about? If so why doesn`t it do anything?
Dell Studio XPS 9100 Quad Multi Core
Intel Core I7 CPU @ 3.20GHz
12 GB 1333 DDR3 RAM
2TB Western Digital HD, 500GB Western Digital HD (secondary drive)
NVIDA GeForce GTS 450

OS: Dual Boot- Windows 7 (64 bit) & Star Sapphire(64 bit)

Image** G-Man**
User avatar
ninjawarrior
Moderator
 
Posts: 51
Joined: Mon Sep 03, 2012 12:45 am
Age: 63
Operating System: Other Linux



Re: How do I get root privaliges in the terminal?

Postby pam » Sun Dec 30, 2012 12:29 am

forgot to mention .......you got to change to a tty........do this:
press alt+f1 or alt+f2

....there you have it...
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 38
Operating System: Ultimate Edition 3.5 64 BIT



Re: How do I get root privaliges in the terminal?

Postby ninjawarrior » Sun Dec 30, 2012 2:36 am

Ok folks, I finally got this animal taken care of!! It took a little doing but this is my version of how I installed the NVIDIA drivers on Ultimate Edition 3.5, Kernel 3.6.0-11 Liquorix-amd64 :

1) First enter the terminal, then enter root:
Code: Select all
 sudo -s

once this is done, then enter the password.
2) Once in root, Kill the X configuration. Type and enter:
Code: Select all
   /etc/init.d/lightdm stop

3) Press CTRL-ALT-F1 to start a terminal
4) You will need to log in first, then enter root again.
Next, find the downloaded file dir ,then cd {folder name} This will put you in the folder where the file is located- after you find it first.
5) Then type and enter:
Code: Select all
 sh ./NVIDIA-Linux-x86_64-310.19.run

6) Once the program is running, AGREE to everything. Once the program is finished
exit from root and restart.

I am still a newbie at all this but, I had to go on YouTube to find some more ideas on how to do this when I ran into snags. Ultimate Edition 3.5 is deffinately an animal to contend with. It`s not like alot of other distros out there. So I had to take the info I got here, and there, and finally came up with a solution that worked! Oh and I did this all while I was in KDE Openbox. After I rebooted everything worked just great! Problem solved.. on to the next big project!! Thanks again guys!! You too Pam. :vil2_karate
Last edited by ninjawarrior on Sun Dec 30, 2012 2:42 am, edited 1 time in total.
Dell Studio XPS 9100 Quad Multi Core
Intel Core I7 CPU @ 3.20GHz
12 GB 1333 DDR3 RAM
2TB Western Digital HD, 500GB Western Digital HD (secondary drive)
NVIDA GeForce GTS 450

OS: Dual Boot- Windows 7 (64 bit) & Star Sapphire(64 bit)

Image** G-Man**
User avatar
ninjawarrior
Moderator
 
Posts: 51
Joined: Mon Sep 03, 2012 12:45 am
Age: 63
Operating System: Other Linux



Re: How do I get root privaliges in the terminal?

Postby pam » Sun Dec 30, 2012 2:41 am

<BREW>
thats's what we are here for...............helping You.
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 38
Operating System: Ultimate Edition 3.5 64 BIT


Return to Newbie's Corner

Who is online

Users browsing this forum: No registered users and 6 guests