logging in as root in gui
hai
i am using debian linux.i understnd that in debian etch linux i cant login as root in gui..but one friend of mine told me that by editing some file you can do tat..can any one help me please?? regards |
You need to edit your login managers configuration files and allow the option to enable root logins. If you need more details, then you need to let us know which login manager you are using e.g. gdm for GNOME or kdm for KDE. Personally I would advise against routinely logging in as root because of security reasons as well as the possibility of you accidentally damaging your system.
|
EDIT: Never mind - reddazz already advised against doing this.
|
Quote:
|
You should be able to log in as root in debian login manager, I think ubuntu is the onyl distro that stops you from logging in as root
|
yeah that's right you cant login graphically in ubuntu but....
if you want to change that go to /etc/kde3/kdm/kdmrc and you just have to change boolean variable the code looks like this. # Allow root logins? # Default is true AllowRootLogin=false just change allow root login to true. :) |
i am also using kde but i went to the /etc/kde3/kdm but ter are no file name called kdmrc nor anything starting with kdmrc....wat may be the reason behind this
|
You are probably using gdm, so that wouldn't work
|
which means??how can i activate the root login.??and by the way how come i be using gdm when my desktop is kde..and also i have gnome and Xfce installed.....
|
Hi,
Since you've gnome and kde installed, you still may be using gdm as your dm since all dms can be configured to start the desktop environment selected by the user, so, gdm can call kde with no problems. About the system file, if you're using gdm, then, I think that the config file is at /etc/gdm/gdm.conf, debian users can clarify about that If you don't find those, you can try with Code:
whereis dm Code:
find / -name dm Code:
updatedb && locate dm And finally, sorry, even when reddazz made the advice, I've to ask, why do you want to login as root in X? Really, I just hope that you're trying to do this for some very important reason (which I don't see) and not just because some friend told you that this was a good thing to do.... Regards |
Quote:
|
Quote:
regards |
i also found the /etc/gdm/gdm.conf file and it contains the following lines..what should i edit in it to activate root login ..would be nice to know
:- # GDM Configuration Customization file. # # This file is the appropriate place for specifying your customizations to the # GDM configuration. If you run gdmsetup, it will automatically edit this # file for you and will cause the daemon and any running GDM GUI programs to # automatically update with the new configuration. Not all configuration # options are supported by gdmsetup, so to modify some values it may be # necessary to modify this file directly by hand. # # Older versions of GDM used the "gdm.conf" file for configuration. If your # system has an old gdm.conf file on the system, it will be used instead of # this file - so changes made to this file will not take effect. Consider # migrating your configuration to this file and removing the gdm.conf file. # # To hand-edit this file, simply add or modify the key=value combination in # the appropriate section in the template below. Refer to the comments in the # /usr/share/gdm/defaults.conf file for information about each option. Also # refer to the reference documentation. # # If you hand edit a GDM configuration file, you should run the following # command to get the GDM daemon to notice the change. Any running GDM GUI # programs will also be notified to update with the new configuration. # # gdmflexiserver --command="UPDATE_CONFIG <configuration key>" # # e.g, the "Enable" key in the "[debug]" section would be "debug/Enable". # # You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and # re-read the new configuration settings. You can also restart GDM by sending # a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes # any user session started by GDM to exit immediately while USR1 behaves like # gdm-safe-restart and will wait until all users log out before restarting GDM. # # For full reference documentation see the gnome help browser under # GNOME|System category. You can also find the docs in HTML form on # http://www.gnome.org/projects/gdm/ # # NOTE: Lines that begin with "#" are considered comments. # # Have fun! [daemon] [security] [xdmcp] [gui] [greeter] GraphicalThemeRand=true Welcome=Vishnu's Computer DefaultWelcome=false GraphicalThemes=circles/:debian-moreblue/:happygnome/:happygnome-list [chooser] [debug] # Note that to disable servers defined in the defaults.conf file (such as # 0=Standard, you must put a line in this file that says 0=inactive, as # described in the Configuration section of the GDM documentation. # [servers] # Also note, that if you redefine a [server-foo] section, then GDM will # use the definition in this file, not the defaults.conf file. It is # currently not possible to disable a [server-foo] section defined # in the defaults.conf file. # |
Quote:
1) If it's just curiosity, that's fine :) 2) You were to look for gdm.conf or kdmrc, nor "dm"; as I said when I told you how to look out the files: Quote:
3) Someone already gave you the answer, at least for kdmrc: Quote:
4) For the gdm.conf, under [security] you need to add AllowRoot=true, so, it will end like this: Code:
[security] Regards |
really tat was great information..thank you for the fast response
|
All times are GMT -5. The time now is 06:15 PM. |