From owner-freebsd-questions Sat Jan 18 6: 1: 3 2003 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 19FD437B401 for ; Sat, 18 Jan 2003 06:01:01 -0800 (PST) Received: from gicco.homeip.net (dclient80-218-75-162.hispeed.ch [80.218.75.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5473843F3F for ; Sat, 18 Jan 2003 06:00:55 -0800 (PST) (envelope-from hampi@rootshell.be) Received: from localhost.here (idefix@gicco.homeip.net [127.0.0.1]) by gicco.homeip.net (8.12.6/8.12.6) with ESMTP id h0IE0miJ000677 for ; Sat, 18 Jan 2003 15:00:48 +0100 (CET) (envelope-from hampi@rootshell.be) Received: (from idefix@localhost) by localhost.here (8.12.6/8.12.6/Submit) id h0IE0hn4000676 for freebsd-questions@FreeBSD.ORG; Sat, 18 Jan 2003 15:00:43 +0100 (CET) X-Authentication-Warning: localhost.here: idefix set sender to hampi@rootshell.be using -f Date: Sat, 18 Jan 2003 15:00:43 +0100 From: Hanspeter Roth To: FreeBSD User Questions List Subject: Re: login.conf tc=default Message-ID: <20030118140043.GB477@gicco.homeip.net> Reply-To: freebsd-questions@FreeBSD.ORG Mail-Followup-To: FreeBSD User Questions List References: <20030117214342.GA1046@gicco.homeip.net> <1042840641.328.57.camel@gyros> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1042840641.328.57.camel@gyros> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Jan 17 at 16:57, Joe Marcus Clarke spoke: > On Fri, 2003-01-17 at 16:43, Hanspeter Roth wrote: > > Hello, > > > > I'm trying to setup an alternate welcome file for a specific user. > > I have the following entry in login.conf: > > > > user:\ > > :welcome=/etc/resolv.conf:\ > > :tc=default: > > > > But the user is presented the default /etc/motd at login. > > How will he see /etc/resolv.conf? > > After you modified this, did you run cap_mkdb? Well, I failed to notice that this is necessary. But also now as I've done it I still get the default /etc/motd. Is there something more to consider? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message