Results 1 to 3 of 3

Thread: No password for knoppix user sudo

  1. #1
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    10

    No password for knoppix user sudo

    Hello,

    I would like the knoppix user to enter a password for sudo, but can't work out how to. So far I have used passwd knoppix to create a password, and edited /etc/sudoers with visudo to comment out the

    # knoppix ALL=NOPASSWD: ALL

    and replaced it with

    knoppix ALL=(ALL) ALL.

    This appears correctly in the CD I then burned, but still no password is requested for sudo as the knoppix user. Can someone please assist me with this,

    Regards
    Ian

  2. #2
    Junior Member
    Join Date
    Apr 2003
    Location
    Denmark
    Posts
    6
    First question, what is it actually you want?
    Why don't you just start start a K -> KNOPPIX -> "Root shell"
    or press Alt-Ctrl-F2

    I'm not very familiar with sudo....

  3. #3
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    10
    Hi,

    I want to secure root access on my re-master. Currently when the knoppix user uses the "sudo {command}" e.g. sudo passwd root, they are able to execute it without ever being prompted for a password. However, other local users that I create are prompted for a password. I have made the changes to the /etc/sudoers file that I thought would solve this, but they haven't.

    So in summary, what I want is to enter a command like "sudo passwd root" or "sudo passwd bash" as the knoppix user, and to be prompted for a password.

    Take Care,
    Ian

Similar Threads

  1. adding a user w/ password and saving it to configs.tbz
    By bizarro in forum Customising & Remastering
    Replies: 3
    Last Post: 10-17-2004, 01:29 PM
  2. Password for newly created user
    By BalakrishM in forum Ideas
    Replies: 0
    Last Post: 02-13-2004, 04:25 PM
  3. Knoppix 3.1 Root Password and Knoppix User
    By cocojumbo in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-07-2003, 09:40 AM
  4. Call me Crazy- my user and root and admin password dont work
    By dennison_b in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-07-2003, 05:04 AM
  5. Knoppix User password for "Knoppix" user
    By CyberBug84 in forum General Support
    Replies: 1
    Last Post: 01-02-2003, 09:14 AM

Posting Permissions

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


🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡ picture

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡

$109.99



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed) picture

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)

$344.74



Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management picture

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management

$249.97



Juniper MX204 +JUNOS and Dual Power Supply picture

Juniper MX204 +JUNOS and Dual Power Supply

$7299.99



Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic picture

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic

$79.86



Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact  Switch picture

Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch

$179.99



Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC picture

Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC

$10499.99



Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch picture

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch

$245.00



Juniper EX4300-24P 24 Port Gigabit PoE+ Switch. picture

Juniper EX4300-24P 24 Port Gigabit PoE+ Switch.

$95.62