Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2015 16:05:15 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org, Polytropon <freebsd@edvax.de>
Subject:   Re: USB to serial adapter
Message-ID:  <20150525140515.GA1860@c720-r276659>
In-Reply-To: <20150525092026.GA2429@c720-r276659>
References:  <20150502145500.GA2402@c720-r276659> <20150502234245.e1098b2a.freebsd@edvax.de> <20150525092026.GA2429@c720-r276659>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150525140515.GA1860>