From owner-freebsd-questions@FreeBSD.ORG Sat Aug 9 20:22:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4F4E106568E for ; Sat, 9 Aug 2008 20:22:01 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 85E808FC13 for ; Sat, 9 Aug 2008 20:22:01 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1185599wfg.7 for ; Sat, 09 Aug 2008 13:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=JKf4uuF8OXixbDMd+BO9gE8JLA89T3mHmv0zNroErbU=; b=R7bN4PHuAQExyn3oVk7lcqzAbM18iQlpPz0lUbzTvRxXHLqfqgNlxOkvgci3wjz9Rg WVMF5XGd6Mcwt2OF2TlGgJCbqnXOWQ6PwATygK6ayB3SnuZTNyd+x6oYpT98uPakE7AD cpdtOIgP3aqSOz90Y7rSsQ7TM5mpiZaGfS74E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=aSgzwNpd8I0eFmpnWunLmbnacz6x/IF6QkE6EueiNpha9O/iNskFZd5adIMa5zRwan 80oVY0g6l/lTDjiop3STVKI/bXhBLkCEdwWYqBeRpwJSSt6Q7BKPsY1J3uoqftwXomyK UG+ztXGNXVAoe2HdWtFENxh3OsBVoohBDFgEU= Received: by 10.142.156.19 with SMTP id d19mr1472726wfe.261.1218313321267; Sat, 09 Aug 2008 13:22:01 -0700 (PDT) Received: by 10.142.246.7 with HTTP; Sat, 9 Aug 2008 13:22:01 -0700 (PDT) Message-ID: <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com> Date: Sat, 9 Aug 2008 22:22:01 +0200 From: "Michael Grant" Sender: michael.grant@gmail.com To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: c9a2baf927c4d19d Subject: shutdown/reboot suggestion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2008 20:22:01 -0000 More than once, through carelessness, and I'm sure I'm not alone, I have inadvertently shutdown or rebooted the wrong machine. I'm sure some of you know that all too familiar feeling when you see "Connection closed" instead of your desktop being rebooted. I have a suggestion with respect to these commands. What if they could be modified to require the hostname of the machine as their first argument, otherwise, they refuse to bring the machine down? shutdown -h now becomes: shutdown example.com -h now and reboot becomes reboot example.com How hard would it to get the other *nix distributions to take up this up too? Michael Grant