LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-18-2003, 05:29 PM   #1
Linz
LQ Newbie
 
Registered: Dec 2003
Location: Bath, UK
Distribution: Madrake 9.1
Posts: 17

Rep: Reputation: 0
Question Want to log into Root on Mandrake 9.1/KDE 3.1


Hi,

I'm using Mandrake 9.1 (KDE 3.1) and i want to modify a file (xineted.conf) to allow me to use a program called Hotwayd. I cant do this because i don't have root permission (this is on my own private PC) and i cant use Chmod because i don't have permission, is there any chance i can log out of my user and log back in again as root allowing me to modify the files and permission.

Thanks,

Lindsay
 
Old 12-18-2003, 05:32 PM   #2
caid
Member
 
Registered: Dec 2002
Location: NZ
Distribution: slack current
Posts: 61

Rep: Reputation: 15
you can type

su

at the command line, enter the root password, then start up your text editor from there.
 
Old 12-18-2003, 05:37 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
You can (and should) stay in your user account and use an x terminal (or one of your virtual terminals if in command line) for root access.

For full root power, open an x terminal and command su -, give root's password and be careful, what is typed in that terminal gets done as long as enough system is left to carry out the command. Make sure that you absolutely want what you typed to happen before hitting that enter key.

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

Last edited by fancypiper; 12-18-2003 at 05:40 PM.
 
Old 12-19-2003, 06:40 PM   #4
FF103
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Mandrake 10.1
Posts: 157

Rep: Reputation: 30
In Mandrake 9.1 ,go to your start menu, go to applications and then to file tools,there you should see "File Manager-super user mode" ,click on that and enter root password. then you can open any file you want and change or configure it. BUT be very very careful.
 
Old 12-19-2003, 08:58 PM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Sounds to me that after the mandrake install Linz has still got root as a "hidden user" which was the default mode with 9.1

The way to correct to actually get access to a root account properly under a gui, is, presuming that kde is the gui,

Kmenu (as in the bottom left)>control centre (the kde one, NOT the mandrake one)>system>login manager then on the users tab, then click the "administrator mode" button at the bottom (at which point you will need to enter the root password), then just uncheck root (the only "user" still checked, will probably be "nobody").

You just reboot/login as a different user from there, and you have a gui root account showing at login (Oh and after unchecking root, but before reboot/login as a different user, you can also change the root icon by clicking on it and checking the available ones if you want).

All the other advice posted remains equally valid, and only use your root account if/when you have to, then "git the hell outa dodge"! (but yes, I still prefer doing stuff via gui, at least you can follow what the hell you're doing, rather than typing in a lot of "mumbo jumbo" and hope that it's correct).

regards

John
 
Old 12-20-2003, 10:11 AM   #6
FF103
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Mandrake 10.1
Posts: 157

Rep: Reputation: 30
Well put bigjohn, I did'nt consider trying to boot him into gui for root. From the sound of his post it seemed he just wanted to alter some config files and the file manager seemed like the simplest route. Also good advice about getting out of Dodge.
 
Old 12-20-2003, 05:35 PM   #7
Linz
LQ Newbie
 
Registered: Dec 2003
Location: Bath, UK
Distribution: Madrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks Guys

Hi,


Thanks all of you for you help, i think i have cracked it now and i i will be able to install this program. I used 'bigjohns' reply - i find it easier to use the gui and im not to hot on the old command stuff :-) .


Linz
 
Old 12-23-2003, 11:40 AM   #8
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Da Nada

To be honest, I have spent the last 2 years or so trying to get used to having a "go" at CLI, but I suffer rather badly from an overdose of "Windositis" and hence far prefer doing stuff via GUI.

Yes Yes, before you all pounce and roast me for it, I fully understand the reasoning behind phrases like "the power of CLI, but I just can't get into the habit.

In desperation, I'm currently learning how to install and set up gentoo - and while I've got it installed, it's proving to be a total f****r to set up to the standard that mandrake does automatically.

Good luck, and of course the "greetings of the season" to one and all.

regards

John
 
  


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
KDE wont log in! only root javamdk Slackware 15 05-23-2005 09:12 AM
Can't log in as root after KDE update ludwig W SUSE / openSUSE 2 05-04-2005 07:39 AM
how do i log on as root in mandrake 10 RF-Rus Linux - Newbie 3 04-28-2004 08:54 PM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 01:07 PM
Can't log in as root in KDE tearinox Linux - General 3 08-02-2003 05:35 PM


All times are GMT -5. The time now is 10:16 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