[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian 12.9 and use of sudo for regular accounts



Hi Everyone,

I have a fresh Debian 12.9 install. My user account is part of sudo
group, and members of sudo can run any command. However, I get an
error when trying to use sudo:

    $ sudo ls
    [sudo] password for jwalton:
    jwalton is not in the sudoers file.

    $ groups
    jwalton cdrom floppy sudo audio dip video plugdev users netdev
bluetooth lpadmin scanner

    $ su -
    Password:

    # grep -v -E '^#' /etc/sudoers | cat -s
    Defaults        env_reset
    Defaults        mail_badpass
    Defaults
secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

    Defaults        use_pty

    root    ALL=(ALL:ALL) ALL

    sudo    ALL=(ALL:ALL) ALL

I've rebooted the machine twice. I know the failure is not due to
stale login information.

Does anyone know why I cannot use sudo in this case?

Jeff


Reply to: