Page 1 of 1
Tips to Log in as root from GUI
#1
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!!
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!!
#2
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. ;)
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
No point in being pessimistic, it wouldn't work anyway
Got a new car for the wife : A great swap
#3
Posted 17 August 2008 - 07:11 AM
CTRL+ALT+F2
#root login
type telinit 3
#root login
startx
Good luck ....lex
#root login
type telinit 3
#root login
startx
Good luck ....lex
#4
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.
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.
2 x systems installed with Mandriva 2010 x86_64 (1 @ Home, 1 @ Work)
My Linux Solutions | My Business Website
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.
My Linux Solutions | My Business Website
#5
Posted 17 August 2008 - 10:03 AM
Author does not write whether it has to network ....Lex
#6
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.
And of course I concur: Login in some DE as root is the worst idea one can ever have.
#7
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
Thomas Jefferson
#8
Posted 17 August 2008 - 06:32 PM
scarecrow, 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.
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.
2 x systems installed with Mandriva 2010 x86_64 (1 @ Home, 1 @ Work)
My Linux Solutions | My Business Website
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.
My Linux Solutions | My Business Website
#9
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.
#10
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.
Share this topic:
Page 1 of 1

Help
MultiQuote









