List Info

Thread: rsh/ssh support




rsh/ssh support
user name
2006-12-01 07:08:40
On Fri, Dec 01, 2006 at 01:59:29AM -0500, James K. Lowden
wrote:
> Prasanta Sadhukhan wrote:
> > I tried /etc/rc.d/inetd start -> says
"Starting inetd"
> > but /etc/rc.d/inetd/status -> says "inetd
is not running
> 
> Maybe it's turned of in rc.conf?  What does this say on
your machine? 
> 
> $ grep inet /etc/rc.conf /etc/defaults/rc.conf
> /etc/defaults/rc.conf:# inetd is used to [...]
> /etc/defaults/rc.conf:inetd=YES        
inetd_flags="-l"

the canonical way to determine whether a service is enabled
or not is to
check its "rcvar" status (which also tells you the
precise name of the
variable in case it differs wrt to the name of the script):

 enabled:

 > /etc/rc.d/inetd rcvar
 # inetd
 $inetd=YES

 disabled:

 > /etc/rc.d/inetd rcvar
 # inetd
 $inetd=NO
 

regards,

-- 
-- Lubomir Sedlacik <salo{NetBSD,Xtrmntr,silcnet}.org>   --
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )