Re: rsh/ssh support

Lubomir Sedlacik <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
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>   --
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFb9T4iwjDDlS8cmMRAqdGAJ9Sg2gjgArQAeLd3Hi8lR16lIXmJQCfbqBd
GS8hSh7q6Qavb94PhgBrLW8=
=On/b
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.