> Here's what I came up with: > > #!/bin/ksh > PID=`ps ?aef | grep Xsession | awk ?{ print $3 }?` > auditconfig ?setpmask $PID no > exit
You don't need to grep ps output; that's what pgrep is for. This message posted from opensolaris.org
> Here's what I came up with: > > #!/bin/ksh > PID=`ps ?aef | grep Xsession | awk ?{ print $3 }?` > auditconfig ?setpmask $PID no > exit
You don't need to grep ps output; that's what pgrep is for. This message posted from opensolaris.org