LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-28-2003, 12:27 PM   #1
saturninus
LQ Newbie
 
Registered: Aug 2003
Location: Los Angeles, CA
Distribution: Red Hat 9
Posts: 28

Rep: Reputation: 15
Installing Programs in Account Other Than Root


I notice that if I want to install a program like Mozilla's newest version I have to log off my user account in Red Hat then sign in under root. Is there any way to do this without always having to sign into the root account?
 
Old 08-28-2003, 12:34 PM   #2
lunardreamr
Member
 
Registered: Aug 2003
Location: Grand Rapids, MI
Distribution: Red Hat Linux
Posts: 39

Rep: Reputation: 15
For something like Mozilla, if it comes packages as a binary tarball, you can extract it in your home directory and use it. Firebird allows this, so does Thunderbird.

When compiling, you can set an option to compile the application in your home directory rather than /bin or /usr/bin or /usr/local/bin for example.

I don't know about installing RPMs without being a root user. I believe you have to be root to install RPMs. But a normal user can install applications to their home dir if they are binary tarballs or source tarballs. Just change the target directory of the build.
 
Old 08-28-2003, 12:34 PM   #3
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
the best way to go about it is by typing "su" in your command line prompt. it will then ask for your root password, and if its correct you will have root (super-user) priviledges in that terminal. to give up those privilidges merely type "exit" into the terminal and it will continue your terminal session under the user you logged in as. but this will only help if you are installing the program under the terminal (which is often the case). hope that helped ^_^
 
  


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
How do I retain the PATH in the root account even when I switch to root using su? thearchitect Linux - Newbie 1 08-13-2005 12:02 AM
Using root account mfo6463 Linux - Newbie 12 03-27-2004 11:41 PM
Problem installing mozilla with root account.. tarballed Slackware 11 07-19-2003 02:46 PM
The use of the 'root' account... tarballed Linux - Security 4 07-02-2003 07:07 AM
Root Account???????? Silverado2000 Linux - General 5 02-01-2002 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 PM.

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
Open Source Consulting | Domain Registration