Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!convex!convex.COM From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.questions Subject: Re: Reading the original /dev from an rlogin Keywords: /dev rlogin Message-ID: <102063@convex.convex.com> Date: 7 May 90 19:49:05 GMT References: <1013@sjfc.UUCP> Sender: usenet@convex.com Reply-To: tchrist@convex.COM (Tom Christiansen) Distribution: usa Organization: CONVEX Software Development, Richardson, TX Lines: 21 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 : Editor too big!"