LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 08-20-2003, 08:59 PM   #1
Nootka
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
Root in Mandrake Linux 9.1


I know others have asked this question many times, and I have done a search and read these posts, but the answers don't seem to help me.

I am currently running Mandrake 9.1 on a dual boot machine with win2k. My problem is that I need to login as root to change a few things, like my lilo.config.

The problem I face is that I cannot find a way to log in as root from the default log in screen. I have read on other threads that you have to go to the control center, then to the system tab, then to user login. The thing is, I cannot see the user login. All I see is MenuDrake, DrakeFont, LogDrake, UserDrake, DrakeBackup, DrakeXservices, set date and time, open consol, and DrakeConAt.

I did sepcify a root password at install, and I can login as Su in the consol, but that doesn't seem to give me access back in the GUI.

I have also tried creating a member of the root group using UserDrake, but that didn't help either.

Anyway I will put the question to the members of this forum and hope I get an answer to my problem.
 
Old 08-20-2003, 09:09 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you can su to root and the password works, when logging in to KDE enter the username: root
and the root password, and you should be able to work a root.

It is a better (safer) idea to use the su command and work from there. You could use vim or emacs from the shell. Or you could enter the name of a setup program you want to use from the shell.

One other option is to use the kdesu command.

For example, select run command from the KDE menu, and enter:
kdesu userdrake if you want to change users.

Many of this setup programs can be run through the Mandrake Control Center.

Another program to look at is linuxconf. This one can give you more fine control over networking for example.
 
Old 08-20-2003, 09:12 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
There is another way...

su to root in a console and type cd /etc/kde3/kdm, then vi kderc.

Scroll down the file till you find AllowRootLogin = false

and change too true.

Commands for vi

i = insert
x = delete
Shift-Q then w is write file.
Shift-Q then q is exit vi.
 
Old 08-20-2003, 11:36 PM   #4
oni0n56
Member
 
Registered: Aug 2003
Location: Hollywood, California
Distribution: Linux Mandrake
Posts: 189

Rep: Reputation: 30
you guys are doing it the hard way!!!.... control alt f1.. log in as root and startx -- :1 & ... thatll start a thing for root.. and also since your using mandrake.. go to mandrake control center [or regular control center im not sure.. i think its mdrk tho] >>users/something of that type>> [its obvious what you want.. i just forgot the name , youll see it though] you have to enter your password by clicking a button on the bottom... i think its like permissions " or something and you enter root password to be able to edit the other stuff.. and then theres a checklist of users to show and not to show.. thers "nobody" and "root" normally c hcked.. uncheck root.. and itll show up on logon screen.. but watch out man.. root is dangerous.. i fuxxored my computer in just like one simple operation in root... :-p
 
Old 08-21-2003, 12:34 AM   #5
gargamel237
Member
 
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52

Rep: Reputation: 15
mandrake really makes it easy on the newbs. This is like the third thread about this this week. It's ridiculous. </rant>
 
Old 08-21-2003, 04:22 PM   #6
Nootka
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Ok so i finally got into root. No problems changing my lilo.conf to read the way I wanted it to. Thing is, it doesn't boot the way it should accourding to my lilo.conf.

So if anyone has any ideas what's happening there it would be greatly apreciated as I am completly confused.

Thanks for the help on the previous problem, it worked great.
 
Old 08-21-2003, 06:07 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Nootka -

Your initiall problem that you have now solved was because you went to the wrong Control centre - you went to the Mandrake Control centre - you should have gone to the KDE Control centre -

Just for reference regards the KDE Control Centre

K
Configuration
KDE Control Centre
System
Login Manager
Aministrator mode butoon - type root password
Users tab
Uncheck the cross next to Root user, in "hidden users"
appy

Log out
Log in

and you'll see the option to be Root user for the session


Regards your new problem - you have to run

/sbin/lilo

as root user from the command line to make the changes in lilo.conf take effect - if you dont run this map installer then nothing will change.

Last edited by Skyline; 08-21-2003 at 06:09 PM.
 
Old 08-21-2003, 06:12 PM   #8
Rico16135
Member
 
Registered: Aug 2003
Location: Texas, USA
Distribution: Slackware 9.1, SuSE 9.1
Posts: 245

Rep: Reputation: 30
gj understanding what he said skyline! I had the same problem when I first started in Mandrake. Although its easier to refer to a mandrake gui, its more helpful if you do it via a terminal. For learning purposes of course.
 
Old 08-21-2003, 06:15 PM   #9
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
gj understanding what he said skyline!
What does that mean?
 
Old 08-21-2003, 06:17 PM   #10
Rico16135
Member
 
Registered: Aug 2003
Location: Texas, USA
Distribution: Slackware 9.1, SuSE 9.1
Posts: 245

Rep: Reputation: 30
that you understood that he was in the wrong control panel... from experience with mandrake i presume... that's all...
 
Old 08-21-2003, 06:19 PM   #11
Rico16135
Member
 
Registered: Aug 2003
Location: Texas, USA
Distribution: Slackware 9.1, SuSE 9.1
Posts: 245

Rep: Reputation: 30
nootka... how exactly is it booting and what do you want to change? going to mandrake control center gives you an option to do boot options and change up how lilo boots... or even change to grub if you prefer..
 
Old 08-21-2003, 06:35 PM   #12
gargamel237
Member
 
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52

Rep: Reputation: 15
Can somebody please file the inability to easily get root access to the file manager as a bug in Mandrake? This is stupid and should be corrected.

Why do the shrinkwrap distros have to constantly reinvent the wheel vis-a-vis configuration tools. I know that easy configuration is supposed to bread and butter of these distros, but haven't we all been hurt more than helped by the drakes, yasts, and rehdat-configs of the world? I like the idea of ease of use but it always seems to make things harder.
 
Old 08-21-2003, 06:46 PM   #13
Rico16135
Member
 
Registered: Aug 2003
Location: Texas, USA
Distribution: Slackware 9.1, SuSE 9.1
Posts: 245

Rep: Reputation: 30
I know not what you are talking about. My mandrake runs great.
 
Old 08-22-2003, 01:12 PM   #14
oni0n56
Member
 
Registered: Aug 2003
Location: Hollywood, California
Distribution: Linux Mandrake
Posts: 189

Rep: Reputation: 30
gargamel.. this "root access" in konqueror is a good thing... why do you want root access? you wanna change something that you dont have permission to for your own protection? like a menu for blackbox thats in usr/local/share/blackbox ... i ruined my linux like that.. had to reinstall... later on i learned i should make a new menu inside my home/User folder and change the blackboxrc file in my folder to use that ifle as menu... there theyre for reasons, put by somebody who knows a lot more about it than you or me... say you did have permission to everotyhing... it'd become more like windows than linux... yu want that? cuz if you do i'd suggest windows..

Oh yeah... and also what you should do if you want to edit something... [open a TERMINAL.]
$su
$[password]
$cd [to directory...]
$<text editor>[filename]
boom... it opens the file as root with root permissions!

Last edited by oni0n56; 08-22-2003 at 01:14 PM.
 
Old 08-22-2003, 03:16 PM   #15
Nootka
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
The reason I wanted to get in as root was to change my lilo.conf, and I know that I should not be in there all the time.

Also I would like to thank Skyline for pointing out that there are TWO control centers! That was so unclear.
 
  


Reply



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
Forgot Root PW, How do I find it or unistall Linux Mandrake? kengouk Linux - Newbie 12 06-21-2004 03:07 PM
mandrake linux 9.2 root/user help zdos Linux - Software 4 05-15-2004 04:49 PM
loading linux from [root@user root] zagreb Linux - Newbie 1 03-03-2003 05:07 AM
Mandrake Linux Root Pswd/Login HELP ElZora Linux - Security 5 12-26-2002 01:47 PM
Mandrake and Root? mikeshn Linux - Newbie 2 03-11-2002 05:50 AM

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

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