Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page Noob alert! i need help
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 04-26-2008   #1 (permalink)
thedude704
Just Joined!
 
Join Date: Apr 2008
Posts: 29
Noob alert! i need help

well im sort of new to linux and will be taking some classes next semester on using it. however after playing around with ubuntu for a bit i decided to go to what i would be using in school which is fedora. unfortunately my laptop is too new for 8 as it just came out and i couldnt use 8, i downloaded the 9 preview and im having a little trouble. im trying to enable my repositories and update and it says i have no connection and it cant retrieve the metadata.. which is obviously incorrect as im writing this post on the same machine and same connection.

problem 2 is video drivers which i downloaded the beta version of 173.08 nividia driver to accomodate my nvidia 9500m gs, everything goes well i press CTL-ALT-F1 to go to command line and type my user name and pass then browse to the folder where the file is and type (as instructed from that website) "sh *filename*.run" and it starts the nvidia installer which tells me it can only be run as root.... so i go back adn try to run "sudo sh *filename*.run" and it asks me for my password and after i enter it i get a message that says im not in the sudoer file and this will be reported.

HELP!

another question i had is once im in the command prompt by pressing ctl-alt-f1 is there a command to reload the GUI?

if anyone can help that would be amazing thanks again in advance

matt
thedude704 is offline   Reply With Quote
Old 04-26-2008   #2 (permalink)
yancek
Linux User
 
Join Date: Oct 2007
Location: Tucson AZ
Posts: 339
You need to edit the sudoers file which should be in the directory /etc but you need to edit it with 'visudo'

At terminal type: 'su -u', this should work on fedora and prompts for password, just type 'visudo'. If it does not work, login as root and type 'visudo'. Can also (as root) do '/usr/sbin/visudo' as that is where visudo is.

The exit command forces the system to exit runlevel 1 and revert to the default runlevel for the system. You can also use the init command (init 5) to return to runlevel 5.
yancek is offline   Reply With Quote
Old 04-26-2008   #3 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 677
hi,


- to return to GUI after ctrl + alt + f1 you do ctrl + alt + f7

- for the yum error please post here the error messages you got and the command you run and give us more details about your network (are you using a
proxy? )

- as for running sh *filename*.run" i dont think you need to sudo it as you wont be doing it often. you might just run it like this:
Code:
su -c "sh *filename*.run"
this will ask you the root password . when you type the password it will run the command as root and return to normal user
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 04-26-2008   #4 (permalink)
thedude704
Just Joined!
 
Join Date: Apr 2008
Posts: 29
i do not know how to log in as root, and typing su -u didnt do anything said U was an invalid option for su


sorry for being so noobish
thedude704 is offline   Reply With Quote
Old 04-26-2008   #5 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 677
hi,


to switch to root you just need to do "su - "and press Enter as follows:
Code:
su -
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 04-26-2008   #6 (permalink)
ozar
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 8,475
Quote:
Originally Posted by thedude704 View Post
i do not know how to log in as root, and typing su -u didnt do anything said U was an invalid option for su
If you are logged in as regular user, go to a terminal and enter this code:

Code:
su -
...enter root password when requested.

Doing that should give you root permissions for admin tasks.

Edit:
oops... that khafa is fast today!
__________________
oz

New Users: * FAQ *

ozar is offline   Reply With Quote
Old 04-26-2008   #7 (permalink)
thedude704
Just Joined!
 
Join Date: Apr 2008
Posts: 29
i dont know what a yum error is, and i tried su -c and it said
bash: NVIDIA-Linux-x86_64-173.08-pkg2.run: command not found
thedude704 is offline   Reply With Quote
Old 04-26-2008   #8 (permalink)
thedude704
Just Joined!
 
Join Date: Apr 2008
Posts: 29
ok update.. i figured out what u were trying to tell me and ive ran is as root the error i got will follow hopefully the screen shot took so i can type it hold on a sec
thedude704 is offline   Reply With Quote
Old 04-26-2008   #9 (permalink)
thedude704
Just Joined!
 
Join Date: Apr 2008
Posts: 29
ok the nvidia installer is up and it displays the following message

ERROR: unable find the system utility 'Id'; please make sure you have the 'binutils' installed. If you do have binutils installed then please check that 'Id' is in your PATH.

*edit* on the note of the other problem im having (the updating and repositories, which is why im trying to install these drivers manually lol) the message i get when i click on update system is as follows "NO network connection available There is no network connection available please check your connection settings and try again. More Details: Problem loading repository metadata, this can be caused by network problems or repository misconfigurations."
thedude704 is offline   Reply With Quote
Old 04-26-2008   #10 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 677
please run the next command
Code:
rpm -qa | grep binutils
if it returns something like binutils-xx.yy.zz then you have binutils installed.
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 11:57 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0