LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Log in as root directly (http://www.linuxquestions.org/questions/linux-newbie-8/log-in-as-root-directly-658938/)

abhi_69 07-29-2008 03:07 AM

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.

linuxlover.chaitanya 07-29-2008 03:29 AM

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.

bhaveshvv109 07-29-2008 03:51 AM

hi abhi
 
Quote:

Originally Posted by abhi_69 (Post 3229497)
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".

linuxlover.chaitanya 07-29-2008 03:55 AM

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.

reddazz 07-29-2008 04:47 AM

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.

trickykid 07-29-2008 09:11 AM

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.


All times are GMT -5. The time now is 07:48 AM.