The package mentioned above is actually
nautilus-gksu (not nautilus-gksudo)
That will enable you to use right click to edit files as root, or open directories as root and should give you everything you need. If you really absolutely want to login as root, well it's your box and if you break it you get to keep all the pieces. Do you have gdm or gdm3 installed? In gdm3 there's no gui way to do this that I know of, but I think there's a manual way (I can get root to show up as a valid user to login as, but I haven't tried actually logging in as root - don't want to, have never needed to, never would need to).
I
very strongly urge you NOT to actually login as root, in that direction lies trouble. It's just too tempting to start doing everything as root, and that's how you get yourself in trouble. However, if you insist:
This is for gdm3 only:
Modify /etc/gdm3/daemon.conf and add the following 2 lines to the [greeter] section.
Code: Select all
Include=root
Exclude=bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap
You need the entire exclude line in order to override the default one (which is the same, except that it also includes root). Again I strongly urge you not to do this. It's very, very, VERY bad practice.