[Bug 223587] security/sudo: Cryptographic digest in command specification is not working

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 10 06:49:44 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223587

            Bug ID: 223587
           Summary: security/sudo: Cryptographic digest in command
                    specification is not working
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: garga at FreeBSD.org
          Reporter: vas at mpeks.tomsk.su
             Flags: maintainer-feedback?(garga at FreeBSD.org)
          Assignee: garga at FreeBSD.org

The following line in sudoers (in reality it's one long line):

%user ALL = SHUTDOWN, NOPASSWD:
sha256:307271e238f3ab9f9e359100b5d7f72d383b33a6d04fc79e64208ce3693e82e9
/usr/local/sbin/vm

causes the following error:

$ sudo vm list
cannot open /dev/fd/4: No such file or directory

If I remove the hash from sudoers, the command works:

$ sudo vm list
NAME            DATASTORE       LOADER      CPU    MEMORY    VNC               
  AUTOSTART    STATE
mail            default         bhyveload   1      1G        -                 
  Yes [5]      Running (2365)
proxy           default         bhyveload   1      1G        -                 
  Yes [1]      Running (1672)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list