From owner-freebsd-questions Mon Feb 12 0: 9:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id B7B2837B401 for ; Mon, 12 Feb 2001 00:09:44 -0800 (PST) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id 6DB5A3E09; Mon, 12 Feb 2001 00:09:44 -0800 (PST) To: jim@freeze.org Cc: questions@freebsd.org Subject: Re: Re Mysterious user In-Reply-To: Message from jim@freeze.org of "Sun, 11 Feb 2001 22:32:51 EST." <200102120332.WAA09385@CI590846-B.lxintn1.ky.home.com> Date: Mon, 12 Feb 2001 00:09:44 -0800 From: Dima Dorfman Message-Id: <20010212080944.6DB5A3E09@bazooka.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Thanks for the code Dima, but it did not compile. > I get > % gcc -pipe lo.c > /usr/tmp/ccHE93781.o: In function `main': > /usr/tmp/ccHE93781.o(.text+0x2e): undefined reference to `logout' Oops. You need libutil. Try: gcc -pipe -o lo lo.c -lutil Sorry about that. > When I (jfreeze) login, the owner:group is root:wheel. > When mfreeze (or cfreeze) logs in I get the above > (mfreeze:tty or cfreeze:tty respectively). > When they logout via exit or logout, the owner:group stays > the same. The listing above is after mfreeze logged in and > immediately logged out. Now they show up under the users logged in. I'm a little confused, but basically, when someone logs in the terminal should be owner by them and the group tty. When they log out, it should go back to root:wheel. I suppose if you don't log out correctly, that won't happen. Hope this helps Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message