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
  •  


Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR picture

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR

$23.00



(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT) picture

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)

$700.00



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$67.99



Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested picture

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested

$35.00



Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590 picture

Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590

$129.00