How do I disable Remote Access ?

During the Solaris 10 installation, I answered "Yes" at the "Activate Remote Access" screen - or something like that. I know this is a security issue and I want it disabled now. How can I disable remote access ?

Thanks.

use the command "inetadm" to display ALL services from inetd and then disable all unneeded services. for example:

# inetadm -d svc:/network/telnet:default

to disable "telnet"

hth,
DN2

Well it helped allright, thanks DN2. :wink:

you can use the command netservices, does the same like the definition during the installation...

System Administration Commands                    netservices(1M)



NAME
     netservices - enable or disable network services

SYNOPSIS
     netservices open

     netservices limited

DESCRIPTION
     The netservices command uses the Solaris service  management
     facility,  smf(5),  to control services that accept over the
     network from remote clients.

     When netservices is invoked with  the  limited  command-line
     argument,  all network services except the secure shell dae-
     mon, sshd(1M), are either disabled or constrained to respond
     to local requests only.

     Invoking netservices with  the  open  command-line  argument
     enables  a  large  set  of  network services, as in previous
     releases of Solaris.

     To customize the configuration set enabled  by  netservices,
     use svcadm(1M) to enable or disable individual services. Use
     svccfg(1M) to set properties that determine whether  a  ser-
     vice  accepts  input  from remote clients. See the man pages
     for individual services for the names of  service  instances
     and their properties.

     Note that the netservices command has an interface stability
     of Obsolete.

gP

Yup, thanks. Now I can be sure that everything is disabled.