From owner-freebsd-questions@freebsd.org Wed Aug 7 16:37:46 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A515EAFAF8 for ; Wed, 7 Aug 2019 16:37:46 +0000 (UTC) (envelope-from hw@gc-24.de) Received: from mail.g4yg.de (mail.g4yg.de [85.16.78.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 463ccT37Wtz3wlC for ; Wed, 7 Aug 2019 16:37:44 +0000 (UTC) (envelope-from hw@gc-24.de) Received: from hw.v.h.gc-24.de ([192.168.220.17]) by mail.g4yg.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hvOwS-0007oB-0n for freebsd-questions@freebsd.org; Wed, 07 Aug 2019 18:37:36 +0200 Date: Wed, 7 Aug 2019 18:37:35 +0200 From: hw To: freebsd-questions@freebsd.org Subject: howto allow anyone to poweroff? Message-Id: <20190807183735.f4a87306c851426be6b799ca@gc-24.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 463ccT37Wtz3wlC X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of hw@gc-24.de has no SPF policy when checking 85.16.78.202) smtp.mailfrom=hw@gc-24.de X-Spamd-Result: default: False [5.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(1.00)[0.997,0]; DMARC_NA(0.00)[gc-24.de]; NEURAL_SPAM_SHORT(0.58)[0.584,0]; IP_SCORE(0.54)[asn: 9145(2.71), country: DE(-0.01)]; NEURAL_SPAM_LONG(0.99)[0.994,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:9145, ipnet:85.16.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2019 16:37:46 -0000 Hi, is there a way to allow ordinary users to poweroff a machine? I'd like to automatically poweroff PXE booted clients once the user that was logged in logs out after using it.