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
  •  


Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch

$439.00



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New picture

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New

$101.99



Cisco Catalyst WS-C3650-12X48UQ-L 48 Port UPOE 4x 10G SFP+ Switch picture

Cisco Catalyst WS-C3650-12X48UQ-L 48 Port UPOE 4x 10G SFP+ Switch

$175.00



Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch  W/ 2x PSU, 2x Power Cords picture

Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch W/ 2x PSU, 2x Power Cords

$205.00



Cisco C9200-48P-E Cisco POE Network Switch picture

Cisco C9200-48P-E Cisco POE Network Switch

$749.99



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Cisco C1111-4P Integrated Services Router with ipbasek9 license picture

Cisco C1111-4P Integrated Services Router with ipbasek9 license

$200.00



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00