From owner-freebsd-questions@freebsd.org Fri Feb 19 05:32:51 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 D02DCAAD900 for ; Fri, 19 Feb 2016 05:32:51 +0000 (UTC) (envelope-from iam@ardiefox.me) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 9ED12137A for ; Fri, 19 Feb 2016 05:32:51 +0000 (UTC) (envelope-from iam@ardiefox.me) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 325CD20A61 for ; Fri, 19 Feb 2016 00:32:44 -0500 (EST) Received: from web2 ([10.202.2.212]) by compute2.internal (MEProxy); Fri, 19 Feb 2016 00:32:44 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=ardiefox.me; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=O/WHz0FIIFCZfCe6JuN9s5VnqTM=; b=pG1eh7 l1+WzYI0A4efAIPmHmIpH3CVTPeDBL9LkbYnil7b5E8KXYUMLxKzY/pTloZEoqwj oZYaEnx+c29lv4WI6zWgzmspGQVtbohMkRtF3WW+ZrCe2/SJDTZ9G1dnqmTnQTXI wKlCcV4TB/kxaWNb29llM71cQuOXoouAmtwl8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=O/WHz0FIIFCZfCe 6JuN9s5VnqTM=; b=kazAmp2xzVPRpOpmx07bu/zQEVCP+S87ddGhqZSZOmCbYNB +oHfBqBGR2eIXAeCYmoIZws85qj31nuebtd9SrvRhLzj5x1ecuB0wt2gnPOuvNON 7JAIDsuZ89q7fZvPZf2exhWX7Olx0B7ML9gHtp8iMdldHbe+I6KZTw9v+XWk= Received: by web2.nyi.internal (Postfix, from userid 99) id F0E755401DC; Fri, 19 Feb 2016 00:32:43 -0500 (EST) Message-Id: <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com> X-Sasl-Enc: VGytE4V5ORjshNdbfM6no0ZvBc8G7bD67/fSZjmwYTtv 1455859963 From: "Ardie H. Hwang" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-aeec9b65 In-Reply-To: References: Subject: Re: minimize use of root account Date: Fri, 19 Feb 2016 14:32:43 +0900 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 05:32:51 -0000 On Fri, Feb 19, 2016, at 14:29, Yudi V wrote: > also when I have to shutdown/reboot, I need to run the command as root but > instead would like for the normal user to be able to shutdown and reboot. Adding a normal user to `operator` group allows the user to use `shutdown(1) command. `reboot(1)` is only for root, but it can be substituted with `shutdown -r now`. -- Ardie H. Hwang ---------------- email: iam@ardiefox.me mobile: +82 10-I-AM-ARDIE (+82 10-4-26-27343)