Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 00:09:44 -0800
From:      Dima Dorfman <dima@unixfreak.org>
To:        jim@freeze.org
Cc:        questions@freebsd.org
Subject:   Re: Re Mysterious user 
Message-ID:  <20010212080944.6DB5A3E09@bazooka.unixfreak.org>
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> 

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




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