Results 1 to 4 of 4

Thread: All sudo commands hang

  1. #1
    Join Date
    Sep 2012
    Beans
    1

    All sudo commands hang

    I have a fresh install of Lubuntu 12.04. I accidentally wiped out a functional version. I installed it off a DVD, got networking going, then started adding a few apps. When I rebooted once, I noticed that networking was no longer functional. When trying to look into it, I noticed that every command I try to run as sudo no longer works. The terminal just hangs indefinitely.

    Any ideas before I start all over?

  2. #2
    Join Date
    Aug 2012
    Location
    Florida
    Beans
    185
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: All sudo commands hang

    Personally I think you would be better off doing a fresh/clean install. That way you don't have any issue's later, after you have spent a lot of time trying to straighten it out.

    I know this is not what you asked, but it is the easiest and least time consuming option.

  3. #3
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: All sudo commands hang

    Please post the output of:

    Code:
    strace sudo <commandthatmakessudohang>
    The 'strace' command is part of the 'strace' package, to install:

    Code:
    aptitude -y -R install strace
    Last edited by Rexilion; September 27th, 2012 at 09:09 AM.
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  4. #4
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,882
    Distro
    Ubuntu Development Release

    Re: All sudo commands hang

    Hi

    As an addendum to the post above, does this hang ?

    Code:
    strace -o ~/sudotrace.txt sudo -i
    If it does then post the output of ~/sudotrace.txt

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •