From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d3ccc926fc50d24c,start X-Google-Attributes: gidfee84,public From: "Royston Cadenhead" Subject: Setting Command Name when forking a process? Date: 1997/06/19 Message-ID: <01bc7c63$1eeebc20$8dc98ed0@RoycHome>#1/1 X-Deja-AN: 251014063 Organization: Cadenheads Newsgroups: comp.unix.osf.osf1 Does anyone know a way to fork a process and give the process a name different from the parent command. I have a daemon which listens on a socket and forks a process for each connection. Pretty standard stuff. I would like to give each of the forked processes the name of the connected user rather than it inheriting the name of the parent. Do anyone know of a way to do this?