From owner-freebsd-chat Thu Jun 19 02:35:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18987 for chat-outgoing; Thu, 19 Jun 1997 02:35:43 -0700 (PDT) Received: from matrix.42.org (sec@matrix.42.org [192.68.213.129]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id CAA18975 for ; Thu, 19 Jun 1997 02:35:23 -0700 (PDT) Received: (from sec@localhost) by matrix.42.org (8.6.12/8.6.12) id LAA20438; Thu, 19 Jun 1997 11:35:13 +0200 To: freebsd-chat@freebsd.org Path: sec From: sec@42.org (Stefan `Sec` Zehl) Newsgroups: muc.lists.freebsd.chat Subject: Re: OS/2 users going to FreeBSD? :-) Date: 19 Jun 1997 11:35:12 +0200 Organization: Internet@home Lines: 26 Message-ID: References: <199706190227.LAA24488@genesis.atrad.adelaide.edu.au> <199706190442.AAA06733@ethanol.gnu.ai.mit.edu> X-Newsreader: slrn (0.9.3.0-2 BETA UNIX) Sender: owner-chat@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <199706190442.AAA06733@ethanol.gnu.ai.mit.edu>, Joel N. Weber II wrote: > Something to try sometime: install GNU hostname in the PATH > before the *bsd version of hostname. Use that to set root's > prompt. It has a very different effect than what you would > expect. After logining in as root with the prompt configured > like that, the output of `hostname' will be `-s'... You don't need GNU hostname for that - SunOS's will suffice. Thoe whole story is, that we have a whole cluster of FreeBSD PCs(13) and a Sun 4m as NFS server. We were porting FreeBSDs /etc/daily for the sun, so we get the same mail from every bos. And yes, there's a line host=`hostname -s` directly at the beginning :) this was rather funny as my prompt then changed to "-s" and i was actually looking for a mistake in my .tcshrc :)) CU, Sec -- Fuer die Raupe ist es das Ende der Welt, Fuer den Rest der Welt ist es ein Schmetterling Error 0: No error