From owner-freebsd-hackers Sat Dec 28 22:30:20 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id WAA16320 for hackers-outgoing; Sat, 28 Dec 1996 22:30:20 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id WAA16315 for ; Sat, 28 Dec 1996 22:30:18 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id RAA02704; Sun, 29 Dec 1996 17:00:12 +1030 (CST) From: Michael Smith Message-Id: <199612290630.RAA02704@genesis.atrad.adelaide.edu.au> Subject: Re: pppd & utmp In-Reply-To: from Alan Batie at "Dec 28, 96 08:53:31 pm" To: batie@agora.rdrop.com (Alan Batie) Date: Sun, 29 Dec 1996 17:00:11 +1030 (CST) Cc: hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Alan Batie stands accused of saying: > > Likewise, pppd just shows up in ps as being "root" and "pppd"; you have to > look at the tty then run w to see who it is. I'm thinking of having pppd > modify it's arguments to show the user as argv[1], but I'm not sure how to > do that safely. Do you just change the argv[1] pointer value? I suppose > I could go look at sendmail or something else that does it... 'man setproctitle' > Alan Batie ______ -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[