Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 15:49:32 -0600
From:      Sergey Manucharian <sm@ara-ler.com>
To:        Jason Hunt <jhunt@lynden.on.ca>
Subject:   Re: Cannot enter sleep mode as non-root user (Operation not permitted)
Message-ID:  <20160414214932.GN31492@debian.ara-ler.com>
Resent-Message-ID: <20160414215010.GO31492@debian.ara-ler.com>
In-Reply-To: <CAL43sjiHYjWgopg2c6Ph8BJ-7i_t5gGz4HFcAzXtOpiAXJRwew@mail.gmail.com>
References:  <CAL43sjiHYjWgopg2c6Ph8BJ-7i_t5gGz4HFcAzXtOpiAXJRwew@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20160414214932.GN31492>