From owner-freebsd-questions@freebsd.org Thu Apr 14 21:50:12 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD5BEAEC66E for ; Thu, 14 Apr 2016 21:50:12 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ig0-x244.google.com (mail-ig0-x244.google.com [IPv6:2607:f8b0:4001:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DB0D1FD4 for ; Thu, 14 Apr 2016 21:50:12 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by mail-ig0-x244.google.com with SMTP id fn8so671557igb.2 for ; Thu, 14 Apr 2016 14:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ara-ler-com.20150623.gappssmtp.com; s=20150623; h=resent-from:resent-date:resent-message-id:resent-to:date:from:to :subject:message-id:references:mime-version:content-disposition :in-reply-to:user-agent; bh=Avb12J7WNegnepVhHHIr1RSo12aYEImLocN1KQ+XY9g=; b=Ot8sENOgknJqnTXvPiPEZa9ajlQAomwdAsGtY1NCw4Uy217D5/6eGqwoIrfY9hAg6l gbx5UqPiH4R1+fgV+r9G8Pv+pvC3UcOiGPM+iOgxSaRXwzKd6zEgrY+2plVn5VB41aAt yB9ox/JC/91F/xd3yn1rXWiK87s++0eD/h//YpkvZMKDIGB5vxE5kWKTtP3HbuVpWRb+ jPaMJQ3AGit2RJA8qt4pf7UDQEx/ZqgXaVgqTrbEJZsZBokIaj7eJ5qowc4rQPBAn+N/ JV6kEd3vkeFYaq8s+hMMwlYg32lruQVL7Wk8Bm7GmhSDqzx22ugUHR+P75Os06hlRIg2 9Zog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:resent-from:resent-date:resent-message-id :resent-to:date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Avb12J7WNegnepVhHHIr1RSo12aYEImLocN1KQ+XY9g=; b=mGnrIsGRQXm/EAZw0n7p+wNxxHeT4EOkPZleHiTgZMNlIHwjHsOS8wpF+/7zoPt1IM 2NYc276aF10vleS0iC89pC//vqmQlSvWfeWWXTJsxICDYsug3GeUouIO8pMNQDLgx120 1YDQxVsYwZSbgSFZo8tJ+Nv85daLYIjWR7OzHwu9E5LyxBJdBlfInxWQTpMsxxK3rBlf vLGaaBFLMO3HZeUAFjCaxzZ7eMqZ/QKBx04yP0/A3ULzbmWrtJQBIuzt3l9mJAkSre2y a6iXWJPGVvu1QH8AVpMZ02dDeTc1hDsWdN0qn9/vQk+wg6gAsI5tymdY2kjjBm50F1JA YBtQ== X-Gm-Message-State: AOPr4FX20b0bk0EbdqGL54Hzu+wAImpqr17omWwOWaf9cPIcTIIaawZmX6NrXUprifHKhQ== X-Received: by 10.50.69.36 with SMTP id b4mr1031928igu.84.1460670611810; Thu, 14 Apr 2016 14:50:11 -0700 (PDT) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id g13sm22221731igz.12.2016.04.14.14.50.11 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Apr 2016 14:50:11 -0700 (PDT) Resent-From: Sergey Manucharian Resent-Date: Thu, 14 Apr 2016 15:50:10 -0600 Resent-Message-ID: <20160414215010.GO31492@debian.ara-ler.com> Resent-To: freebsd-questions@freebsd.org Date: Thu, 14 Apr 2016 15:49:32 -0600 From: Sergey Manucharian To: Jason Hunt Subject: Re: Cannot enter sleep mode as non-root user (Operation not permitted) Message-ID: <20160414214932.GN31492@debian.ara-ler.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 21:50:12 -0000 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