kes3200@sjfc.UUCP (Ken Staggers) (05/03/90)
Hi- 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? --Ken Staggers Chief Unix Lab Assistant St John Fisher College (...!rutgers!rochester!cci632!sjfc!kes3200)
tchrist@convex.COM (Tom Christiansen) (05/08/90)
In article <1013@sjfc.UUCP> kes3200@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@convex.COM "EMACS belongs in <sys/errno.h>: Editor too big!"