home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
MISC
/
who.lzh
/
Readme.doc
< prev
next >
Wrap
Text File
|
1994-03-13
|
2KB
|
48 lines
What is this archive?
---------------------
This archive is my somewhat delayed response to the discussions in the
comp.os.os9 newsgroup in early 1994 about finding who are active users on a
system. It also provides three unix utilities that are not part of the standard
OSK toolset and that I have not found elsewhere.
The suggested solutions in the news thread all worked, but merely showed
group.user numbers and the terminal name (i.e a filtered procs line). You
had to _know_ that 1.24 was actually Fred.
This solution shows how to use the unix utilities included in this archive
to show terminal and user names as well as demonstrating a safe (semi-secure)
way to show data from /dd/sys/password without displaying passwords. This
response is delayed as I had to reverse engineer and then write the programs.
The scripts are:
who - lists active users by name together with the terminal their login
device.
Restriction; If your shell is not called 'shell' the grep search
argument in the first executable line must be changed
to the name of your actual shell.
users - Produces a sorted list of users from /etc/sys/password
uids - Produces a sorted list of uids from /etc/sys/password
All the scripts are commented to excess and contain help text compatible
with my Help utility. All require the 'field' utility and 'who' requires
'join'. 'uniq' is included here for completeness; 'join' already discards
multiple shell invocation references so you only see each user once in the
output from 'who'. All work with the standard shell.
I have not included sources for the utilities with this initial release; if
reaction is favourable I will release it in the future.
Enquiries, comments etc should be sent to
Martin Gregorie
10 Sadlers Mead
Harlow
Essex CM18 6HG
U.K.
Gregorie@LFGMS.logica.com