Solved

Logging in as root on Mandrake 10?

Posted on 2004-09-17
5
1,934 Views
Last Modified: 2013-12-06
Running mandrake 10. As soon as I create users, I cannot log into the desktop with root.  It automatically defaults to a selection of users. Any way to log in to the desktop with root again?
Thanks
0
Comment
Question by:dissolved
5 Comments
 
LVL 2

Assisted Solution

by:zuralin
zuralin earned 50 total points
Comment Utility
If you are using GDM you need to go into the settings and set it to allow you to login as root
0
 

Author Comment

by:dissolved
Comment Utility
how would i do that?
Thanks
0
 
LVL 23

Accepted Solution

by:
Mysidia earned 400 total points
Comment Utility
Disclaimer: logging in as root is a really bad idea. It's best to login as a normal user and use su
for administrative tasks. Outside system installation / recovery there no reason you should ever
need to log in directly as root. It's perfectly reasonable that your system not allow you to do so
by default.


In order to successfully login as root, the main thing you need to do is adjust your
display manager's configuration.

First open a terminal window... (i.e. Alt + F2, type konsole  press enter)
Use the command: su -
(Type root password to become root)

Run 'drakedm'  to check which display manager you are using
[The rest of this assumes you're currently using MdkKDM or KDM]

Go back to the terminal...
cd /usr/share/config/kdm

Now open the file named "kdmrc" in a text editor

Find and change the line in the [X-*-Core section] that reads:
AllowRootLogin=false

to
AllowRootLogin=true

Now, once you've made those changes you need to restart the display manager...
Note: if you made an error in editing the configuration file it may not start back up,
so be sure you have installed and know how to use a text editor that you can start
and use in a terminal/console  (Nano or Emacs, for example)

In any case...
One command that will do that is:  service dm restart
0
 
LVL 1

Assisted Solution

by:darrellthomas
darrellthomas earned 50 total points
Comment Utility
I just had the EXACT same problem.  Here is how I fixed it:

Login as yourself.  (use the KDE desktop so you can follow along here)

Click on "the star" in the lower left corner to bring up the menu:
go to SYSTEM
go to CONFIGURATION
go to KDE
go to SYSTEM
go to LOGIN MANAGER

this brings up the Configuration-Login Manager window
click on the 4th tab over-- USERS
un-check the box in the Hidden Users menu that says "root"

Logout, and now ROOT is an option at login

:)


0
 

Author Comment

by:dissolved
Comment Utility
thanks
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now