From owner-freebsd-questions@FreeBSD.ORG Thu Oct 19 16:49:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E905E16A4B3 for ; Thu, 19 Oct 2006 16:49:01 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A70843D62 for ; Thu, 19 Oct 2006 16:49:00 +0000 (GMT) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.13.3/8.13.3) with ESMTP id k9JGmxOl017063 for ; Thu, 19 Oct 2006 11:49:00 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200610191649.k9JGmxOl017063@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17061.1161276539.1@dc.cis.okstate.edu> Date: Thu, 19 Oct 2006 11:48:59 -0500 From: Martin McCormick Subject: Re: Why csh on Root? 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: Thu, 19 Oct 2006 16:49:02 -0000 RW writes: > There is an alternative uid 0 user called toor which you can use if you > want > to use bash as root. OTOH hand there is a school of thought that you > shouldn't be too comfortable as root. My thanks to all. On all the systems in question, bash ends up on the same partition as root, but the points are well-taken. One thing I was trying to accomplish is to have a bell in the root prompt. In the .cshrc file is a string set prompt="\007\!# " I have also tried replacing the \007 with the actual Control-G and even a \a. All produce an attempt to render a bell but what is sent to the remote terminal is ^G1# as in the actual ASCII characters ^ and G. I am not sure what to do to correct this problem as I do not get it in bash. A \a or \007 is sent literally. The env output for root on this system shows no environmental variables that should inhibit the beep so I am kind of stumped. Martin McCormick