From owner-freebsd-questions@FreeBSD.ORG Mon May 25 14:05:22 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC81F1FF for ; Mon, 25 May 2015 14:05:22 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A83A08E4 for ; Mon, 25 May 2015 14:05:22 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [93.104.4.185] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Ywt0I-000230-Bp; Mon, 25 May 2015 16:05:18 +0200 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t4PE5GXM001873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 25 May 2015 16:05:16 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t4PE5FAu001872; Mon, 25 May 2015 16:05:15 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 25 May 2015 16:05:15 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org, Polytropon Subject: Re: USB to serial adapter Message-ID: <20150525140515.GA1860@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org, Polytropon References: <20150502145500.GA2402@c720-r276659> <20150502234245.e1098b2a.freebsd@edvax.de> <20150525092026.GA2429@c720-r276659> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150525092026.GA2429@c720-r276659> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.4.185 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: Mon, 25 May 2015 14:05:23 -0000 El día Monday, May 25, 2015 a las 11:20:26AM +0200, Matthias Apitz escribió: > I have it connected today via the USB-to-serial adapter and it is mostly > working fine; > > the /etc/ttys line is: > cuaU0 "/usr/libexec/getty std.9600" vt102 on secure > > what is working: > > - I can login as 'root' and run for hours something like 'ls -lR /' > (just to check the serial output) > > what is not working: > > - if I login as any other unpriv user (and I created a new one for this) > it hangs after presenting the /etc/motd file; it just hangs > > login: valentin > Password: ..... > > Last login: .... > FreeBSD 11.0-CURRENT (GENERIC) #1 r276659M: Tue Apr 28 15:50:23 CEST 2015 > > Welcome to FreeBSD! > > (hanging) I figured out what is causing it: the type of the login shell; it works with /bin/csh, it does not work with /bin/sh. Any ideas? matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)