On Sat, 2023-10-28 at 15:56 -0700, ToddAndMargo via users wrote:
> > > $ doas -u root "nvme smart-log /dev/nvme0n1"
> > > doas: Operation not permitted
> > 
> > Try removing the quotes.
> > 
> > poc
> 
> $ doas -u root nvme smart-log /dev/nvme0n1
> doas: Operation not permitted

Does doas ask for your password (you as a user, not root)?

What happens when you use sudo (or 'su -c' - note that in this case
you'll need the quotes)?

What happens if use:
        doas nvme ...
i.e. without the '-u root' (since root is the default).

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to