LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-29-2008, 03:07 AM   #1
abhi_69
LQ Newbie
 
Registered: Jul 2008
Location: Bangladesh
Distribution: Ubuntu
Posts: 28

Rep: Reputation: 15
Unhappy Log in as root directly


Hello all,

can anybody help me how to i log in as root directly via KDE or GNOME?
my distro is mandriva.
i can log in as root in console, but it seems hard to work with console becoz i am a newbie & prefer GUI than console.
plz. inform me how to log in as root without console?

thnx in advance.
 
Old 07-29-2008, 03:29 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
Most of the distros do not allow root login in graphical mode for security reasons. Create a user from console and login using a normal user in GUI. When you need root privileges just use sudo or su to get the permissions.
 
Old 07-29-2008, 03:51 AM   #3
bhaveshvv109
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Rep: Reputation: 0
hi abhi

Quote:
Originally Posted by abhi_69 View Post
Hello all,

can anybody help me how to i log in as root directly via KDE or GNOME?
my distro is mandriva.
i can log in as root in console, but it seems hard to work with console becoz i am a newbie & prefer GUI than console.
plz. inform me how to log in as root without console?

thnx in advance.
You can login directly as root vid GUI.

there is gnome/kde configuration file in /etc and in this file you will find entry like that "rootlogin=No", just replace "Yes" inplace of "No".

Last edited by bhaveshvv109; 07-29-2008 at 03:52 AM.
 
Old 07-29-2008, 03:55 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
But I still think it is better not to change the files for root access is denied for the security of the system. You better not change it and rather use su or sudo for admin purposes. It will serve your purpose and help you keep your system safe as well.
 
Old 07-29-2008, 04:47 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Why exactly do you need to login directly as root? If you need to perform tasks as root, you need to use "su" to switch to root or to run graphical applications as root, use kdesu or gnomesu to start them with root privileges.
 
Old 07-29-2008, 09:11 AM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Be a regular user, don't login as root. Become root when needed with sudo, so you can run privileged commands only root can run natively as yourself, without root's password, etc.
 
  


Reply

Tags
as, log, root


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 to login telnet directly root....? saif92112000 Linux - Server 8 05-05-2008 08:16 PM
output apache log directly to tty2 coal-fire-ice Linux - Server 4 04-26-2007 06:48 PM
Suse 9.1 Incorrect root password directly after install pinniewooh Linux - Laptop and Netbook 5 10-01-2004 01:04 AM
Boot Directly into Root ? abw Red Hat 7 11-26-2003 06:52 PM


All times are GMT -5. The time now is 06:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration