From owner-freebsd-questions@freebsd.org Thu Aug 8 06:55:48 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 452B5C54A8 for ; Thu, 8 Aug 2019 06:55:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 463zfV6FVHz3wYL for ; Thu, 8 Aug 2019 06:55:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.20.73]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MbAxU-1iSUAL46lk-00bd3N; Thu, 08 Aug 2019 08:50:26 +0200 Date: Thu, 8 Aug 2019 08:50:20 +0200 From: Polytropon To: MJ Cc: Jim Trigg , hw , freebsd-questions@freebsd.org Subject: Re: howto allow anyone to poweroff? Message-Id: <20190808085020.467420c7.freebsd@edvax.de> In-Reply-To: <133b534b-192a-5f90-c215-6e81c0800577@gmail.com> References: <20190807183735.f4a87306c851426be6b799ca@gc-24.de> <20190807185445.62b59f2f.freebsd@edvax.de> <2756FCF5-417A-471F-9562-BB957FD936A6@huiekin.org> <133b534b-192a-5f90-c215-6e81c0800577@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:dBSH2JqG8dN3jftCayqlTbyNhbie5ld8RO0LmEPjX6IFslV965+ D4cBu3PTPOVeg1A+VBLrdCoKm/JNskDrbcla3Z8ny4izfyxNOlp9bhSUCnyqW/MyunhMKq9 tZTVbzU79mazzkB5HDi47j7Vif7WEaqilw8iR2NntJ5sYQpyknoElwe3S6cL+7VkVlftQT0 SpJwLtcORT8UvDgZVFTWA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:a9Mktw6O/W4=:taUIAEH59LXjxiGZtaGMy+ sdhiKbkY6DLQlloBaS8BSJSueVkUbR3fDixjho3mn41OwKsa1WSrWxD3qYcj/i9193vppSsbo 5VTpJAaH40fYWI3X+s4khWdL6ER0wsUuWIKnCEnOABJdKEfpCvtk6iYXrM2Fj+RzEIc1UCG8k wzOGHytevfT7/YGWTRz5FqMO/wBVfCudunfRhy5q9LDPqNhhG7xzG3N02ceCFxzmA1gfrTuas eTiEcQYGPubbHKfjTRMtNOcKBbTK/c7YEB9Sw9bPmNdW8eFpz/1tS8hvKD7rRRu69GGJIGA4b m20JMDBKvKVo5m0l8ps2sagpU+swc/I65BDc1rHOyyqxXIV1fazYUxnTJ69HPT+Wd88l6rQWV YKM7zIp3vm7e+tjRPi62CrOUr6XDh6n1RvjrFhuGQ+vaiX4iS0RDRe5XKoa/0GRIMDSUPutTg JDdzGrRLeyIr1G7oWZqPtQe1D9cobv5r/6WDjwVm1WszPSCAaDbqAdfiP9K5jIMLRSWT3zfLh zXAiyoxlloqFdvOWKn8+y2JYTlyaHv5dXSuh8Flh0s2tH0FnIUtFox4krojnW9r5paA7XtXhZ 67y1KEEoRL/7hi5ovtKVSm+GYPwXTKQflBMQYyn3vPPuN9xJ7e12nyeFrYa9pfxuNRLaV41vf Bo5j8fpEOymYVov9z660AsX1AkKrMMuoO6IQ61kaNfzfvuSRcp3SWAVS52GRGinCFfutcl+xV pIaZM7TatRf2JuvLqdzCeBZ3t3+0FFB6nqrlo/V/al/OsjEPGDFkDrQk6XU= X-Rspamd-Queue-Id: 463zfV6FVHz3wYL X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.133) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [6.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[73.20.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.51)[0.513,0]; RCPT_COUNT_THREE(0.00)[4]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.987,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.988,0]; RCVD_IN_DNSWL_NONE(0.00)[133.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; IP_SCORE(0.70)[ip: (2.58), ipnet: 212.227.0.0/16(-1.37), asn: 8560(2.28), country: DE(-0.01)] X-Spam: Yes 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: Thu, 08 Aug 2019 06:55:48 -0000 On Thu, 8 Aug 2019 11:30:27 +1000, MJ wrote: > But would/could this get clobbered in an upgrade? Yes, because altered files usually get overwritten with the newer version without prompting, if I remember correctly. So you'd have to run a "post-upgrade" script which adds back your changes - I had to do this with the lp* tools and the umount binary on FreeBSD 10 because of Gnome... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...