Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 1998 08:37:29 -0900 (AKST)
From:      Steve Howe <groggy@iname.com>
To:        freebsd-questions <questions@FreeBSD.ORG>
Subject:   login exits, but user doesn't
Message-ID:  <Pine.BSF.3.96.981129082423.1222A-100000@abc.xyz.net>

next in thread | raw e-mail | index | archive | help

2.2.7

i posted this a few weeks ago, but didn't get any response.
i don't know if this is a known bug, or not a bug at all.
the problem is that after logging (as root) to a user
account, and then exiting, the user still remains
active - replacing the user that su'd to root.
the problem changes slightly when running
"script".
------------------------------------------
recorded with "script" ...
------------------------------------------
Script started on Sun Nov 29 08:17:22 1998
# w
 8:17AM  up 3 days,  1:11, 2 users, load averages: 0.12, 0.04, 0.05
USER     TTY FROM              LOGIN@  IDLE WHAT
ggg      c07 -                 5:44AM     - /usr/sbin/ppp -direct ttyc07
aaa      p0  ttyc07.humpty     8:17AM     - script
# login ddd
Password:
Last login: Sun Nov 29 08:16:40 on ttyp0
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
	The Regents of the University of California.  All rights reserved.

/etc/profile/home/ddd/.profile

$ ^D
# w
 8:17AM  up 3 days,  1:11, 3 users, load averages: 0.09, 0.04, 0.05
USER     TTY FROM              LOGIN@  IDLE WHAT
ggg      c07 -                 5:44AM     - /usr/sbin/ppp -direct ttyc07
aaa      p0  ttyc07.humpty     8:17AM     - script
ddd      p1  -                 8:17AM     - w
# ^D
Script done on Sun Nov 29 08:17:57 1998
---------------------------------------
without running script ...
---------------------------------------
# w
 8:17AM  up 3 days,  1:11, 2 users, load averages: 0.12, 0.04, 0.05
USER     TTY FROM              LOGIN@  IDLE WHAT
ggg      c07 -                 5:44AM     - /usr/sbin/ppp -direct ttyc07
aaa      p0  ttyc07.humpty     8:17AM     - w
# login ddd
Password:
Last login: Sun Nov 29 08:16:40 on ttyp0
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
	The Regents of the University of California.  All rights reserved.

/etc/profile/home/ddd/.profile

$ ^D
# w
 8:17AM  up 3 days,  1:11, 3 users, load averages: 0.09, 0.04, 0.05
USER     TTY FROM              LOGIN@  IDLE WHAT
ggg      c07 -                 5:44AM     - /usr/sbin/ppp -direct ttyc07
ddd      p0  -                 8:17AM     - w


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?Pine.BSF.3.96.981129082423.1222A-100000>