Cannot enter sleep mode as non-root user (Operation not permitted)

Sergey Manucharian sm at ara-ler.com
Thu Apr 14 21:50:12 UTC 2016


Excerpts from Jason Hunt's message from Wed 13-Apr-16 22:30:
> When attempting to enter sleep mode as a non-root user, I receive the error:
> 
> acpiconf: request sleep type (3) failed: Operation not permitted
> 
> Searching online yielded a suggestion that the user must be a member of
> wheel, however my account is in the wheel and operator groups (confirmed by
> running /usr/bin/id)
> 
> This is happening on my laptop with a fresh install of 10.3-RELEASE, and
> desktop with March snapshot of -CURRENT.  Both systems properly enter and
> resume from sleep mode when run as root.

The same is here with -CURRENT. It looks that there is no other way, wiki
states "as root" (I use sudo) [0].

Groups like "wheel" are  mentioned in connection with PolicyKit [1].

[0] https://wiki.freebsd.org/SuspendResume

[1] https://forums.freebsd.org/threads/16944/


Sergey



More information about the freebsd-questions mailing list