Reading the original /dev from an rlogin

Tom Christiansen tchrist at convex.COM
Tue May 8 05:49:05 AEST 1990


In article <1013 at sjfc.UUCP> kes3200 at sjfc.UUCP (Ken Staggers) writes:

|We have an assistants account where the assistants can rlogin to it.
|Sometimes there are 2-5 assistants rlogined to the account at one tine and 
|since the assistants account /dev will be p0, p1, p2, .... its difficult to
|tell which assistant is on which pseudo term.  I am writing an accounting
|program for the account, and I need to know how to determine this.  Are
|there C (or csh) functions that I can use to determine which assistant is
|on which pseudo term?

I strongly advise having a one-to-one correspondence between humans
and user names/ids.  Don't share accounts or uids.  Shared access
can be managed with groups.  Anything else makes for accounting
nightmares.  It also muddles up the waters with respect to security.

--tom
--

    Tom Christiansen                       {uunet,uiucdcs,sun}!convex!tchrist 
    Convex Computer Corporation                            tchrist at convex.COM
		 "EMACS belongs in <sys/errno.h>: Editor too big!"



More information about the Comp.unix.questions mailing list