How to get Unrestricted Access in Linux

by Chinmoy Kanjilal | Translate | Print
Thursday, 27th Aug 2009 | Share


Share How to get Unrestricted Access in Linux on Twitter Share How to get Unrestricted Access in Linux on Facebook Save How to get Unrestricted Access in Linux To Delicious Favorites Stumble How to get Unrestricted Access in Linux Share How to get Unrestricted Access in Linux on Digg Get Instant Updates as RSS Feeds from Techie Buzz

UAC is one of the most annoying and least used features ever invented for an operating system. We hate it on Windows Vista, we hate it on Windows 7. Linux has an account restriction which prompts for passwords for all silly tasks like update. We equally hate this on Linux as well.

In fact, on Linux, we have to enter the root password, even if we have root privileges to perform a root level operation.
Disabling the regular password prompt on Linux is quick and easy. Though there is no GUI for doing this at present, we hope one will be introduced someday. But for now, you can do this to disable the password prompt on Ubuntu Linux.

  1. Open up the terminal. Enter gksudo gedit /etc/sudoers . This brings up the file /etc/sudoers opened in Gedit.
  2. Look for the line %admin ALL=(ALL) ALL .
  3. Change it to %admin ALL=(ALL) NOPASSWD: ALL . All set, save and close.

Now you are free of all annoying password prompts for package installations, updates and all applications.



Share

One Response so far | Share Your Opinions!

  1. Anirudh
    August 28th, 2009 at 4:47 am #

    1. Editing the sudoers file should be done with “visudo”, which does some syntax checking and updates other files afterwards.
    2. Don’t ever ___EVER___ grant full root privileges to yourself. It’s never required unless you’re doing system level tasks, or installing software to protected folders.

    If you are too pissed with having to enter a password, run “sudo su” in a terminal to open a root console, and use that – don’t make your gdm run as another user, it’s dangerous and outright stupid.

    Reply to this comment

Leave a Comment

Note: We discourage users from using keywords in their names while posting comments, most of them get caught by spam, also it really would be more fruitful in knowing people who comment by their real name, rather than by using a name no one relates to. In future we reserve the right to delete comments from users using a name other than their own.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>