Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there Any latest linux distro which gives full root access ( NO SUDO ) ? I want to use it for programming in which I have to use / file system very frequently.

What I need is any good linux distro with Nice Installer like Synaptic and Fast Bootup speed like ubuntu 9.04.

Does Fedora 11 gives full root access?

Thanks, Sunny.

share|improve this question
    
Good luck on not trashing things by mistake. It's real easy to screw up in root, which is why most of us use user accounts and sudo. –  David Thornley Dec 11 '09 at 19:36
    
@DavidThornley: screwing up in root is only a sign of lacking experience. –  XXL Nov 4 '11 at 11:54
    
@XXL: I can screw up lots of things I've got experience in. If I'm running as root, I can screw things up real good. All it takes is typing something normal not quite in the right context. I took to typing the command, sitting on my hands, and looking at the command carefully before hitting enter while in root. –  David Thornley Nov 4 '11 at 15:57
    
@DavidThornley: I've been running only root for multiple years and I am yet to screw up anything. Guess it's a "person" thing. –  XXL Nov 4 '11 at 19:53

4 Answers 4

up vote 14 down vote accepted

Becoming root for one session:

In Ubuntu you can become root for the remainder of the session by typing:

# old-school method
sudo su

# new hotness, comes highly recommended
sudo -i

More information and related reading.


Permanently enabling the root account:

Further, you may permanently enable the root account by typing:

sudo passwd root

and providing a root password. You can then log in as root at your leisure without needing to use sudo.

share|improve this answer
    
Oh wow. I did not knew second one. Thanks. –  SunnyShah Oct 27 '09 at 20:00
    
Is this possible to do with Ubuntu? –  SunnyShah Oct 27 '09 at 20:05
1  
It is indeed possible with Ubuntu –  John T Oct 27 '09 at 20:05
2  
According to the #ubuntu IRC channel, the forums, and mailing lists, sudo -i is the recommended way to get a root shell. Please update your answer. –  Broam Dec 1 '09 at 17:16
    
@broam: good tip, thx, added it in. –  quack quixote Dec 11 '09 at 19:01

Why not just log in as root when you start up? You provide the root password in the install process of most distributions (Fedora as you mentioned, is an example). If you forgot this you can reset it from a user account:

sudo passwd root

it will then ask you for your new UNIX password.

If you'd like to become root temporarily AND use root's environment settings:

sudo su -
share|improve this answer
1  
sudo and su are overlapping programs, so using them together is a bit wasteful. If you want root's login environment (except for using your current DISPLAY etc.), use sudo -i. –  Lee B Oct 27 '09 at 20:42
1  
@Lee B: True, but...to su - you need to recall the root password (and have a valid one set), while the sudo lets you in with only your user password. –  dmckee Dec 11 '09 at 19:06

fedora offer full root access by typing

su

Or you can use your debian based distro (ubuntu) and type

sudo bash

to get semi-permanent root shell.

share|improve this answer

Puppy Linux boots and will auto-login with root user by default.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.