LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-25-2004, 09:09 AM   #1
trostum
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake Linux 10.0
Posts: 5

Rep: Reputation: 0
Installing something without loggin gin as root


Hi, i am just beginning with linux and one of the things i would like to know is how to install something without loggin off as auser and then basck on as root.

One example. I just installed mozilla, worked fine. But when I need to install flash for instance, do I really have to log out and then back in to install it?
 
Old 05-25-2004, 09:11 AM   #2
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
if you're installing from a command line then you can use the "su" command, then you just need to enter your root password and you can install.
 
Old 05-25-2004, 09:11 AM   #3
postmaik
Member
 
Registered: May 2004
Location: @ Lake Constance, Germany
Distribution: FC3, Kernel 2.6.10
Posts: 46

Rep: Reputation: 15
No.
Just type
su -
and then the password of the super user (root) in the command line.
You will be logged in as root, are able to install something.
Then you can logout by typing
exit
And the software you installed will work :-)
 
Old 05-25-2004, 09:13 AM   #4
postmaik
Member
 
Registered: May 2004
Location: @ Lake Constance, Germany
Distribution: FC3, Kernel 2.6.10
Posts: 46

Rep: Reputation: 15
Please don't forget the "-" otherwise you will be logged in as super user with the same values of environment variables from the normal user. This is inconsistent!
 
Old 05-25-2004, 09:31 AM   #5
trostum
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake Linux 10.0
Posts: 5

Original Poster
Rep: Reputation: 0
yeah, ok. thx for the tip. But what if I want to install a plugin to mozilla. It will automatically download and install it via the browser, but it can't install since it has no access. Then what would you do?
 
Old 05-25-2004, 09:43 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You could use the kdesu command to launch the browser as root. Or su to root, like mentioned in the previous message, and execute the mozilla browser from the command line (as root).
 
Old 05-25-2004, 03:38 PM   #7
pxwebdev
LQ Newbie
 
Registered: May 2004
Location: SLC UT
Distribution: Mandrake 10
Posts: 7

Rep: Reputation: 0
You may be able to also change the permissions of your user account so that it has the ability to allow that.
 
Old 05-27-2004, 04:49 AM   #8
sharkee
Member
 
Registered: Jul 2003
Location: Australia
Distribution: Kubuntu 5.10 Ubuntu Dapper
Posts: 220

Rep: Reputation: 30
Mandrake has urpmi Pakage managment
Give it a try Go here http://urpmi.org/easyurpmi/index.php Follow instructions. Then to download & install rpms aopen terminal type su> root password>urpmi <pakage name> and should download & install

Regards Sharkee
 
  


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
who has been loggin on? nukeu666 Linux - Newbie 3 09-12-2004 11:46 PM
Loggin into slackware as root Doctor Orange Linux - Newbie 6 08-17-2004 07:56 PM
Loggin into my GUI as root user MackH Mandriva 6 06-08-2004 11:18 AM
Loggin in as root in KDE or Gnome BumSlayer Linux - General 20 12-05-2003 06:08 AM
Loggin In As Root MrJBot Linux - Newbie 2 10-30-2003 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:32 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
Open Source Consulting | Domain Registration