Date: Mon, 08 Apr 2013 20:58:19 -0500 From: damonray@mac.hush.com To: freebsd-questions@freebsd.org Subject: Ghosted logins in w/who Message-ID: <20130409015820.16B7B10E2C8@smtp.hushmail.com>
next in thread | raw e-mail | index | archive | help
I recently upgraded to FreeBSD 9.1-STABLE, and there was a strange added side effect. Users that telnet into the machine seem to have their logins forever ghosted in who/w. If a user connects via telnet, then logs out, their login still remains in the w/who. If another user logins in with the pty they had, whatever they do also shows up in the ghosted w/who of the previous user using that pty. For example: User X logs in, runs BitchX. Detaches the process and logs out.User Y logs in, gets assigned User X's previous pty, who/w now reports that user is running BitchX. That user has no access to the BitchX session or anything, it's just being displayed weird in who/w. I seem to remember this problem like a decade ago and I had written a script or there was a script that passed around called clearlogin. Any ideas? Thanks all!Damon [Sorry for the cross-post. Mods feel free to delete/move as necessary. Thx.] From owner-freebsd-questions@FreeBSD.ORG Tue Apr 9 01:58:32 2013 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 34AAD63A for <freebsd-questions@freebsd.org>; Tue, 9 Apr 2013 01:58:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id F2F7B919 for <freebsd-questions@freebsd.org>; Tue, 9 Apr 2013 01:58:31 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx01.qsc.de (Postfix) with ESMTP id 371393CE19; Tue, 9 Apr 2013 03:58:22 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r391wUPw003092; Tue, 9 Apr 2013 03:58:30 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 9 Apr 2013 03:58:30 +0200 From: Polytropon <freebsd@edvax.de> To: Harald Weis <hawei@free.fr> Subject: Re: Youtube & Flash Videos broken? Message-Id: <20130409035830.dd03faa9.freebsd@edvax.de> In-Reply-To: <20130408150313.GB5491@pollux.local.net> References: <20130406213911.GB2802@schweikhardt.net> <20130407000932.678efc0d.freebsd@edvax.de> <20130408150313.GB5491@pollux.local.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD questions <freebsd-questions@freebsd.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon <freebsd@edvax.de> List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 09 Apr 2013 01:58:32 -0000 On Mon, 8 Apr 2013 17:03:13 +0200, Harald Weis wrote: > On Sun, Apr 07, 2013 at 12:09:32AM +0200, Polytropon wrote: > > > If it's just about YouTube video, why not use youtube-dl and > > mplayer? I haven't tested it for those particular two videos, > > but it tends to work for everything. :-) > > Can you please help me how to find the right URLs for youtube-dl ? There is no URL. You install it from ports: # cd /usr/ports/www/youtube_dl # make install If the version in ports is not current enough (e. g. when YT has again fiddled with the format), you can usually get it from its source https://github.com/rg3/youtube-dl. > For example on > http://www.youtube.com/user/ConcertosLive/videos > > When I copy URLs with mouse in opera I always get > "youtube-dl: No match." Make sure you use proper quoting as the URL contains characters that the shell will interpret. The common form to use youtube-dl is e. g. % youtube-dl "http://www.youtube.com/watch?v=tc4ROCJYbm0" Any superflous stuff in the URL will be ignored. This is the easiest way to work, e. g. from copying the URL from the URL line or via the "Copy link address" function; then just type 'youtube-dl "', press the middle mouse key, '"' and Enter. As youtube-dl doesn't have a manpage, you can use % youtube-dl -h to get a list of supported command line options. > (opera and flash work fine for playing and also for downloading the > the ogg file) That's normal. :-) > I definitely prefer the command line tool. What I like about this approach is that I can watch films in a usable (!) environment, which is mplayer, and not be dependent on some low-quality web player plugin. It's also nice to have interesting videos stored on the local disk so they can be watched without Internet connection. :-) > Getting rid of flash would be a tremendous relief. It will happen, as soon as HTML5 is adopted more widely (currently happening especially for "rich web content" and the mobile market) and lawyers agree on a usable media codec. But for now, I don't actually see any problems running "Flash" if it is _intended_ to do so. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130409015820.16B7B10E2C8>