Subject: Re: rsh/ssh support
To: None <netbsd-help@NetBSD.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 12/01/2006 08:08:40
--0OWHXb1mYLuhj1Ox
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Maybe it's turned of in rc.conf?  What does this say on your machine?=20
>=20
> $ grep inet /etc/rc.conf /etc/defaults/rc.conf
> /etc/defaults/rc.conf:# inetd is used to [...]
> /etc/defaults/rc.conf:inetd=3DYES         inetd_flags=3D"-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=3DYES

 disabled:

 > /etc/rc.d/inetd rcvar
 # inetd
 $inetd=3DNO
=20

regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--0OWHXb1mYLuhj1Ox
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFb9T4iwjDDlS8cmMRAqdGAJ9Sg2gjgArQAeLd3Hi8lR16lIXmJQCfbqBd
GS8hSh7q6Qavb94PhgBrLW8=
=On/b
-----END PGP SIGNATURE-----

--0OWHXb1mYLuhj1Ox--