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
  •  


HP Desktop Computer PC 8th Gen, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi picture

HP Desktop Computer PC 8th Gen, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi

$135.20



CRUCIAL DDR3 1600MHz 2x 8GB 16GB PC3-12800 Desktop Memory RAM DIMM 240pins picture

CRUCIAL DDR3 1600MHz 2x 8GB 16GB PC3-12800 Desktop Memory RAM DIMM 240pins

$18.50



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$28.99



HyperX FURY DDR3 16GB 2x 8GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pins picture

HyperX FURY DDR3 16GB 2x 8GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pins

$18.85



Corsair Vengeance LPX CMK32GX4M2E3200C16 32GB (2x16GB) DDR4-3200MHz Memory picture

Corsair Vengeance LPX CMK32GX4M2E3200C16 32GB (2x16GB) DDR4-3200MHz Memory

$39.99



HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin picture

HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin

$31.50



8GB DDR4 Laptop Memory RAM | Mixed Brands And Speeds | Lot of 10 picture

8GB DDR4 Laptop Memory RAM | Mixed Brands And Speeds | Lot of 10

$67.99



Fanxiang DDR4 RAM 32GB 16GB x2 8GB x2 3200MHZ 3600MHZ UDIMM PC Desktop Memory picture

Fanxiang DDR4 RAM 32GB 16GB x2 8GB x2 3200MHZ 3600MHZ UDIMM PC Desktop Memory

$46.99



Crucial 8GB DDR3L 1600MHz 204-Pin Sodimm memory LAPTOP RAM PC3L-12800 LOT DDR3L picture

Crucial 8GB DDR3L 1600MHz 204-Pin Sodimm memory LAPTOP RAM PC3L-12800 LOT DDR3L

$18.95



HP Desktop i5 Computer Tower Up To 32GB RAM 4TB SSD/HDD Windows 10 Pro Wi-Fi DVD picture

HP Desktop i5 Computer Tower Up To 32GB RAM 4TB SSD/HDD Windows 10 Pro Wi-Fi DVD

$75.18