Results 1 to 6 of 6

Thread: screwed up sudo

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276

    screwed up sudo

    I am running a hd install of kanotix debian. Did update sudo package tonight and my pkg mgr decided to crash.

    Result:

    nish@ecs:~$ sudo
    usage: sudo -K | -L | -V | -h | -k | -l | -v
    usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
    { -e file [...] | -i | -s | <command> }
    nish@ecs:~$

    I have uninstalled and reinstalled sudo and nish (me) is in sudoers group. Any ideas? On reinstall I did a message that no sudoers group was found in /etc and it created one for me. Help much appreciated. This is a new one to me and I have to get it back. Thanks!

  2. #2
    Senior Member
    Join Date
    Oct 2003
    Location
    GA
    Posts
    382
    I'm probably just missing something, but what about the output you showed is wrong? Since you didn't give it any command to run as the super-user it makes sense that it'd be telling you what the valid command options are.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    normally sudo returns a password prompt, no? Or is that just su? (idjot mode here)

    The only command I ever gave it was sudo knoppix-installer and I don't want to run that again LOL

  4. #4
    Senior Member
    Join Date
    Oct 2003
    Location
    GA
    Posts
    382
    By default I think sudo asks for a password. But I thought knoppix and kanotix set the sudoers file up so that you can run sudo without a password. Look in your sudoers file...it probably has NOPASSWD in it.

    ALL = NOPASSWD: ALL

    change it to

    ALL = (ALL) ALL

    if you want to have to do the password. I think that's right anyways.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    ahhh, that was what was throwing me, maybe. All this distro trying out (and Fedora being so different especially). Maybe I should stop playing with the others...

    Really, why do I keep trying out other distros when I am perfectly happy with kanotix ? *rhetorical question*

  6. #6
    Senior Member
    Join Date
    Oct 2003
    Location
    GA
    Posts
    382
    Quote Originally Posted by nishtya
    Really, why do I keep trying out other distros when I am perfectly happy with kanotix ? *rhetorical question*
    Because you're curious and want to see what the alternatives are like. Nothing wrong with that...unless that curious tendency bleeds over into one's marriage or something. :P

Similar Threads

  1. Am I screwed to wait?
    By Stealth870 in forum Hardware & Booting
    Replies: 2
    Last Post: 09-01-2004, 07:35 AM
  2. Have I screwed-up apt-get?
    By Bob_Ullet in forum General Support
    Replies: 1
    Last Post: 10-28-2003, 03:32 AM
  3. refresh rate and resolution all screwed up
    By jc01 in forum General Support
    Replies: 6
    Last Post: 10-26-2003, 06:31 AM
  4. HD Installs: Have you screwed one up before?
    By jdong in forum The Lounge
    Replies: 2
    Last Post: 08-28-2003, 06:16 AM
  5. I screwed up!!
    By WANDr in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 03-19-2003, 10:19 PM

Posting Permissions

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


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD picture

HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD

$249.00



DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS picture

DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS

$99.99



HP ZBook Firefly 14

HP ZBook Firefly 14" G8 Mobile Workstation i5 11th Gen 16GB RAM 256 GB SSD No AC

$166.49



Intel Xeon E5 - 2667V2  / SR19W   3.30GHz 25MB  8-Core CPU Socket LGA2011 picture

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011

$30.00



HP EliteBook 850 G6 15.6

HP EliteBook 850 G6 15.6" Core i5-8265U 1.60GHz 8GB RAM AMD Lexa GPU PWR Adapter

$120.00



AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor picture

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor

$245.99



AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked picture

AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked

$79.99



Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11 picture

Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11

$89.99



SGIN 17.3

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD

$229.99