[Bug 2112318] [NEW] A warning with authd user configuration

Marek Suchánek 2112318 at bugs.launchpad.net
Mon Jun 2 11:50:45 UTC 2025


Public bug reported:

I'm using a corporate-managed Ubuntu 24.04 LTS where my user is set up
remotely through Landscape and authd.

When I run a command with sudo-rs, I do get the correct super-user
permissions, but first, sudo-rs always prints out the following warning
before the command output:

```
/etc/sudoers.d/email:1:15: expected host name
marek.suchanek at canonical.com ALL=(ALL) ALL
              ^
```

This is sudo-rs 0.2.2 installed from the Ubuntu 24.04 APT archive. I
haven't tried updating sudo-rs to a newer version.

The regular sudo program doesn't display any error or warning in the
same context.

** Affects: rust-sudo-rs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-sudo-rs in Ubuntu.
https://bugs.launchpad.net/bugs/2112318

Title:
  A warning with authd user configuration

Status in rust-sudo-rs package in Ubuntu:
  New

Bug description:
  I'm using a corporate-managed Ubuntu 24.04 LTS where my user is set up
  remotely through Landscape and authd.

  When I run a command with sudo-rs, I do get the correct super-user
  permissions, but first, sudo-rs always prints out the following
  warning before the command output:

  ```
  /etc/sudoers.d/email:1:15: expected host name
  marek.suchanek at canonical.com ALL=(ALL) ALL
                ^
  ```

  This is sudo-rs 0.2.2 installed from the Ubuntu 24.04 APT archive. I
  haven't tried updating sudo-rs to a newer version.

  The regular sudo program doesn't display any error or warning in the
  same context.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2112318/+subscriptions




More information about the foundations-bugs mailing list