Home
Home Blogs k4tz's blog
    • Blog
    • Clinic
    • Contact
    • Download
    • Login
    • Sitemap

Poll

Best of Ubuntu:

Archives

November 2008
SunMonTueWedThuFriSat
1
2345678
9101112131415
16171819202122
23242526272829
30

LXer -- Linux and Open Source News

  • Home Media Center With Mythbuntu
  • An Easier Way to Deploy Ubuntu, CentOS
  • Mozilla Cautions Against Experimental Firefox Plug-Ins
  • SoftMaker Office 2008 focuses on compatibility with Microsoft Office
  • Distraction-free Writing with PyRoom
more

Linux Today

  • Tables in OpenOffice.org Impress: New and Unstylish
  • Book Review: SQL Hacks
  • Web Browser Hero
  • YouTube is Big Fun And Useful
  • Convoluted Column Arithmetic Examples Using Awk On Linux Or Unix
more

Linux Insider

  • No Love, but Plenty of Like, for the G1
  • Mozilla Cautions Against Experimental Firefox Plug-Ins
  • By the People: Citizen Involvement the Open Source Way
  • The Rocky Legal Landscape of Virtual Worlds, Part 2: Patents
  • The Linux Licensing Labyrinth
more

Restore Superuser (sudo)

Submitted by k4tz on Mon, 09/08/2008 - 11:58
  • Clinic
  • Ubuntu

Question:

So I accidentally took the superuser out of the administrators group, and now I can't execute any sudo commands.

Is there any way to restore the superuser permissions, or am I headed for reinstalland?

Thanks.

 

Answer:

If you can't use the sudo command in a normal session, reboot to a root prompt in 'Recovery' mode.

If you are no longer in the admin group (more likely):

Code:
adduser yourusername admin

If, as you stated, root no longer belongs to admin (less likely):

Code:
adduser root admin

 

Source: http://ubuntuforums.org/showthread.php?t=910809

 

  • k4tz's blog
  • Add new comment

Recent blog posts

  • Play RealMedia on Ubuntu 8.10
  • JDownloader - error java version
  • Problems with Nvidia drivers: video run slow
  • Realtek ALC861 microfone in Ubuntu trouble
  • Hide terminal which linux keylogger running
  • Firefox for small screens (EEE, Wind, 4211, Aspire One etc)
  • Update to openoffice 3 in Ubuntu 8.10 Intrepid
  • Setup offline / local dictionary
  • Problems with HP Photosmart P1000: Print garbage characters
  • Laptop Freezes Everytime I Use Video in Ubuntu
more

Linux World

  • Canonical launches U.S.-based shop.ubuntu.com in time for holiday season
  • USN-674-1: HPLIP vulnerabilities
  • USN-673-1: libxml2 vulnerabilities
  • Set up Sound Juicer to rip from CD as VBR mp3s
  • USN-672-1: ClamAV vulnerability
  • USN-671-1: MySQL vulnerabilities
  • USN-667-1 Firefox and xulrunner vulnerabilities
  • KOffice 2.0 Beta 3 Released
  • How to help build a free software search engine and use it too. Welcome to Wikia -- Part 2
  • How to help build a free software search engine and use it too. Welcome to Wikia
Archive XML feed
All contents copyright © 2008, Dhuha Net. All rights reserved
Ubuntudoctor® is a member of the Dhuha Network. Privacy Policy
RoopleTheme