inetadm – intro

inetadm command is used for observing and managing inetd services in Solaris 10.

If you run this command without any parameters, you’ll simply get a list of all the services it manages along with their current status:

solaris# inetadm
ENABLED   STATE          FMRI
enabled   online         svc:/application/x11/xfs:default
enabled   online         svc:/application/font/stfsloader:default
enabled   offline        svc:/application/print/rfc1179:default
enabled   online         svc:/network/rpc/gss:default
disabled  disabled       svc:/network/rpc/mdcomm:default
disabled  disabled       svc:/network/rpc/meta:default
disabled  disabled       svc:/network/rpc/metamed:default
disabled  disabled       svc:/network/rpc/metamh:default
...

[Read more…]

inetadm – changing service properties

Today I’ve met a problem which I easily solved with the help of inetadm, and here’s the entry explaining what happened.

When trying to FTP some files off my laptop, I’ve noticed FTP client failing to parse the ls -l output due to Russian weekdays used in listing. It was obvious that such FTP daemon behavior was due to one of its options, which specifically made sure the daemon inherited all the environment variables. Luckily such a behavior was easy to change with inetadm:

[Read more…]