Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 06:49:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223587] security/sudo: Cryptographic digest in command specification is not working
Message-ID:  <bug-223587-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223587

            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@FreeBSD.org
          Reporter: vas@mpeks.tomsk.su
             Flags: maintainer-feedback?(garga@FreeBSD.org)
          Assignee: garga@FreeBSD.org

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

%user ALL =3D 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=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
  AUTOSTART    STATE
mail            default         bhyveload   1      1G        -=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
  Yes [5]      Running (2365)
proxy           default         bhyveload   1      1G        -=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
  Yes [1]      Running (1672)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223587-13>