From owner-freebsd-questions@freebsd.org Fri Feb 19 09:36:41 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 AD38BAAC89F for ; Fri, 19 Feb 2016 09:36:41 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (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 78C3D1CC5 for ; Fri, 19 Feb 2016 09:36:41 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id 9so103529693iom.1 for ; Fri, 19 Feb 2016 01:36:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5dkmhVEvepY1h7/76KlAAGM+7eRsDaxiIMyqpOux6Bg=; b=EBXRJ2uXjBLiipfyVGdxEPXrJoFvHsLCGDYAHHgukL/Yz4adb4f1hJ5LcdLg6Nul6y Y/wuAaU4DwpeN2fdMO7LlNl+UrfiqrRxaDqcId88dSdlP+n4AYr6UPVNOIraFwa/p2Pq 9tZMvOqKq2RH4LSumBGkddy8OL70f4jgICGV1HKe1x7aAUXzYzia0zEj8rpdOwkgb05s SN2th91pOjGvAMZ1uV4tegpiK2gnkQXCu7DCAjzRN2rOeYBq820SJoCMaPKXV5d92IxA yMGOm7DK236CVlr8gK2kNpu1XoKaysOkYky9V61Fv2Weo5O4A6YmrXRCynVJTY6Ii6GQ vKAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5dkmhVEvepY1h7/76KlAAGM+7eRsDaxiIMyqpOux6Bg=; b=TipB0534lkNStuI1p8RliFNPheylF5UPUOcr/p26+31mT5HwGO7PQ5XSA9iKh+IZY/ 64evhYvJhm5nYJWV85EQo3VuRKk4d7i+3hKOQu3PqjUFF43OQmsbkn3sgFc48zIGDSVq /pNQvNmulTMfgV8ZKryicz/6vGVIxxe3qpS0eUGOlj1xVoK/lSQgMK60Ool9APheYz5D NegMcJavCxM3nHTpXqNSoVZcJvGr5s9xX8YvKtywi8zqY5IrW9VAG9GnFggKh82HmMPs aCe8thNXQwGc/xzdKmjNxGMgpudRA2P6PQo6FgQ2nfzzA3M/60IZcXtMQ5nIVjwq73pp bSrg== X-Gm-Message-State: AG10YOTwgUq4vy+PfyDRmmpjW/gKECVCbGGPGZXCc2Tf5JvdMcfIUc6qVUNeXQMkS/My9MFuzWTJbJ83TqdXow== MIME-Version: 1.0 X-Received: by 10.107.129.228 with SMTP id l97mr13855300ioi.76.1455874600843; Fri, 19 Feb 2016 01:36:40 -0800 (PST) Received: by 10.107.153.129 with HTTP; Fri, 19 Feb 2016 01:36:40 -0800 (PST) In-Reply-To: <1455861874.3470783.525686386.0E027411@webmail.messagingengine.com> References: <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com> <1455861874.3470783.525686386.0E027411@webmail.messagingengine.com> Date: Fri, 19 Feb 2016 20:36:40 +1100 Message-ID: Subject: Re: minimize use of root account From: Yudi V To: "Ardie H. Hwang" Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 09:36:41 -0000 Thanks Ardie, adding user to operator group sorted the shutdown/reboot issue. now I have to figure out how to run the above script as normal user. On Fri, Feb 19, 2016 at 5:04 PM, Ardie H. Hwang wrote: > On Fri, Feb 19, 2016, at 14:32, Ardie H. Hwang wrote: > > `shutdown(1)` > > `reboot(1)` > > They are actually in section 8. Sorry, my mistake. > > -- > Ardie H. Hwang > ---------------- > email: iam@ardiefox.me > mobile: +82 10-I-AM-ARDIE (+82 10-4-26-27343) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Kind regards, Yudi