contrib/solaris/opensshd.in patch

kevin at tgivan.com kevin at tgivan.com
Sat Jan 19 12:57:47 EST 2002


Moin Frank! 
 Frank Cusack schrieb am Freitag, den 18. Januar 2002:

> I assume you want this to run on earlier solari, so the first form
> is probably a bit better (except don't use pgrep).

pkill is not portable. Its available only on 2.7+ and I agree with not
using pgrep. 

Something like:

PID=`ps -a | awk '/[s]shd/{print $1}'`

could be pretty portable on Solaris.

-- 
Kevin Sindhu 			    <kevin at tgivan dot com> 
Systems Engineer
TGI Technologies Inc.
107 E 3rd Avenue        	Tel: (604) 872-6676 Ext 321
Vancouver  V5T 1C7	        Fax: (604) 872-6601 
British Columbia, Canada 



More information about the openssh-unix-dev mailing list