# $Copyright:	$
# Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
# Sequent Computer Systems, Inc.   All rights reserved.
#  
# This software is furnished under a license and may be used
# only in accordance with the terms of that license and with the
# inclusion of the above copyright notice.   This software may not
# be provided or otherwise made available to, or used by, any
# other person.  No title to or ownership of the software is
# hereby transferred.
#ident	"$Header: lsuser 1.2 89/10/10 $@(#)sadmin:admin/menu/usermgmt/lsuser	1.3"
#menu# list users in the system
#help#
#help#	Lsuser will list all the users that have been entered into the
#help#	computer using the "adduser" command.  This list is updated
#help#	automatically by "adduser" and "deluser".

echo '
Users currently in the computer:
(press <RETURN> to start printing each time you hear the bell)'
(
	echo 'login name	user name
----------	---------'
sed 's/^\([^:]*\):[^:]*:[^:]*:[^:]*:\([^:]*\):.*/\1	\2/p' /etc/passwd  |
	sort
)  |
	pr -w79 -tp -l20 -e16 -
