MandrivaUsers.org : Tips to Log in as root from GUI - MandrivaUsers.org

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Tips to Log in as root from GUI

#1 User is offline   abhi_69 

  • New Here
  • Group: New here
  • Posts: 4
  • Joined: 02-August 08

Post icon  Posted 17 August 2008 - 04:29 AM

it is safe to log in as root from console.
but, if u want to take root advantage from GUI; here is an easy way for all.

<open console & do as follows>

$ su

password:

# kdesu kwrite /etc/kde/kdm/kdmrc

search for line- 'ALLOW ROOT LOGIN'

change its value from- false to true.

Save & exit.

Reboot PC & then type 'root' as username & enter root password.

Now u log in as root from GUI. ENJOY!!
0

#2 User is offline   SilverSurfer60 

  • Mandriva Guru
  • Group: Members
  • Posts: 1,504
  • Joined: 14-June 05

Posted 17 August 2008 - 06:15 AM

You forgot to add the warnings and gotchas about permanently logging in as root, such as screwing up the system good and proper when system files are deleted. Yes you can still do such things from the console, but it is much more unlikely. I've now been using Linux for about 8 years and never needed to run the root account in a gui.
I will admit to firing up Konqueror as root on the very rare occasion when it was easier to use it that way, but immediately close it when the particular chore was completed.
Always remember that running your entire system from the root account is like boating in a deep lake and throwing your life jacket away. ;)
To whom should I go for self help?
No point in being pessimistic, it wouldn't work anyway
Got a new car for the wife : A great swap
0

#3 User is offline   Lexicon 

  • Lexicon
  • Group: Members
  • Posts: 799
  • Joined: 23-June 06

Posted 17 August 2008 - 07:11 AM

CTRL+ALT+F2
#root login
type telinit 3
#root login
startx

Good luck ....lex
Mandriva 2010
My page
Linux user 363394 Posted Image
0

#4 User is offline   ianw1974 

  • Platinum
  • View blog
  • Group: Admin
  • Posts: 13,536
  • Joined: 09-March 05

Posted 17 August 2008 - 08:34 AM

Bad idea to login to a gui using root. Your just asking for problems. Since you can use su, kdesu, gksu to get the root privileges you need, there is absolutely no point to always login as root.

Extremely bad tip and I wouldn't recommend anyone using this.
Ian Walker
Juniper Networks Certified Internet Associate (JNCIA-FWV, JNCIA-IDP and JNCIA-SSL)
Aventail Certified Professional (ACP)
Certified Trend Micro Engineer

Linux Systems Limited is partnered with Red Hat Linux.

Posted Image2 x systems installed with Mandriva 2010 x86_64 (1 @ Home, 1 @ Work)

Posted Image My Linux Solutions | My Business Website
0

#5 User is offline   Lexicon 

  • Lexicon
  • Group: Members
  • Posts: 799
  • Joined: 23-June 06

Posted 17 August 2008 - 10:03 AM

Author does not write whether it has to network ....Lex
Mandriva 2010
My page
Linux user 363394 Posted Image
0

#6 User is offline   scarecrow 

  • Platinum
  • Group: Platinum
  • Posts: 5,111
  • Joined: 16-February 05

Posted 17 August 2008 - 01:13 PM

ianw1974 forgot to mention sudo, which is probably the safest method (as long as you know what to do with your /etc/sudoers file).
And of course I concur: Login in some DE as root is the worst idea one can ever have.
0

#7 User is offline   ffi 

  • Mandriva Guru
  • Group: Members
  • Posts: 1,544
  • Joined: 05-February 06

Posted 17 August 2008 - 01:29 PM

I think soon (maybe even 2009.0 else 2009 spring) policykit will be integrated in konqueror/nautilus/thunar and it will be possible to elevate them to root power with the click of a button
"Of liberty I would say that, in the whole plenitude of its extent, it is unobstructed action according to our will. But rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others. I do not add 'within the limits of the law,' because law is often but the tyrant's will, and always so when it violates the right of an individual."
Thomas Jefferson
0

#8 User is offline   ianw1974 

  • Platinum
  • View blog
  • Group: Admin
  • Posts: 13,536
  • Joined: 09-March 05

Posted 17 August 2008 - 06:32 PM

View Postscarecrow, on Aug 17 2008, 03:13 PM, said:

ianw1974 forgot to mention sudo, which is probably the safest method (as long as you know what to do with your /etc/sudoers file).
And of course I concur: Login in some DE as root is the worst idea one can ever have.


Aye, yes I always tend to forget sudo :)

The idea of sudo is nice, but a pain in the arse to get it all configured correctly. Especially if you want to give access to a particular command and nothing else.
Ian Walker
Juniper Networks Certified Internet Associate (JNCIA-FWV, JNCIA-IDP and JNCIA-SSL)
Aventail Certified Professional (ACP)
Certified Trend Micro Engineer

Linux Systems Limited is partnered with Red Hat Linux.

Posted Image2 x systems installed with Mandriva 2010 x86_64 (1 @ Home, 1 @ Work)

Posted Image My Linux Solutions | My Business Website
0

#9 User is offline   willie 

  • frequent
  • Group: Members
  • Posts: 238
  • Joined: 05-April 05

Posted 18 August 2008 - 06:23 PM

And you can also install
openasroot

I'm on a endless mission to explore a strange new world.
0

#10 User is offline   joste 

  • New Here
  • Group: Members
  • Posts: 16
  • Joined: 21-October 06

Posted 18 August 2008 - 09:52 PM

I remember way back when root was an option on the boot menu but if it was chosen the default theme was bright red and you got a warning straight away - this seems to have gone now (though I haven't logged in as root for a while). It was handy because if you did open konqueror (or anything else) as root from the CLI then it too had this red theme making it stand out from your other windows in an obvious way. Personally I like everything single click but root stays double click as a reminder if I do open konqueror from there for a bit of file management. I should probably open kcontrol as root and change the theme but I'm fairly sure it won't work with Emerald.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users