Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!usc!cs.utexas.edu!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.unix.questions Subject: Re: command line shown by ps Message-ID: <124135@uunet.UU.NET> Date: 26 Feb 91 06:09:50 GMT References: Distribution: usa Organization: UUNET Communications Services, Falls Church, VA Lines: 12 In article jockc@hammer.idsila.com (PRIV Account) writes: >How can a process change or obscure the command line that >ps (and other programs like w or whodo) show for it? Get a copy of the sendmail source and look at setproctitle. Basicly, it overwrites it's arguments. We include a line in our /etc/rc that says: FILLER=" " to leave lots to environment space to trash (comes after arguments). This works for BSD. I dunno what SV does. -- [rbj@uunet 1] stty sane unknown mode: sane