LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2003, 11:09 PM   #1
DGath
LQ Newbie
 
Registered: Jun 2003
Posts: 18

Rep: Reputation: 0
how do I become root?


Finally got RH9 working yesterday and sorry, this might be a stupid question, but as a child of Microsoft, the whole concept of Linux is still confusing in terms of how it works. I'm trying to install the NTFS Project for RH9 and the website instructions tell me...

You must be root for the rest of the commands. The examples will continue as if you downloaded kernel-ntfs-2.4.18-14.i686.rpm. Next install the rpm:

rpm -ihv kernel-ntfs-2.4.18-14.i686.rpm

Preparing... ############################### [100%]
1:kernel-ntfs ############################### [100%]


What exactly is it telling me to do? I understand how to run the command in the terminal, but when I run it I get...

[derek@derek derek]$ rpm -ihv kernel-ntfs-2.4.20-8.i686.rpm
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[derek@derek derek]$


The package is in my home dir, what do I do? I actually when and added myself (I'm the only user of this computer) to all the groups in the User/Group settings, thinking maybe if I'm part of the root group that it would work, but it didn't. Is being part of every group a bad thing, uneccesary?

Thanks
 
Old 06-30-2003, 11:14 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
type su in the command terminal and then your root password. After this you can go to your home directory (cd directory) and then your rpm command.
 
Old 06-30-2003, 11:16 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Basically all it takes is to
type

su -

and give it the root password ...

During install it will have prompted
you for a root-password before creating
any other users....

Cheers,
Tink
 
Old 06-30-2003, 11:23 PM   #4
DGath
LQ Newbie
 
Registered: Jun 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Haha, figured it would be something easy and stupid like that. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 09:32 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 05:14 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 04:06 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 10:18 AM


All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration