How so start pop3d under Solaris 10 ?

How so start pop3d under Solaris 10 ?

Post by John Do » Mon, 30 May 2005 19:30:12



Hi,

How do I run the pop3d under Solaris 10 ?
I do not seem to have svc:/network/pop3/tcp:default ?

I seem to have problems with this new SMF - cannot quite get my head around why
/etc/inetd.conf is converted to some XML format - things used to be nice and simple now they
seem to be unecessarily complex, I'm sure there is a good reason for this but I've not
figured out what it is.

John.

 
 
 

How so start pop3d under Solaris 10 ?

Post by Casper H.S. Di » Mon, 30 May 2005 20:55:27



>How do I run the pop3d under Solaris 10 ?
>I do not seem to have svc:/network/pop3/tcp:default ?
>I seem to have problems with this new SMF - cannot quite get my head around why
>/etc/inetd.conf is converted to some XML format - things used to be nice and simple now they
>seem to be unecessarily complex, I'm sure there is a good reason for this but I've not
>figured out what it is.

The good news is that you can still add stuff to /etc/inetd.conf
and then run a conversion command which takes care of this for you.

The advantages the new configuration offers are many:

        - any extensions to the inetd format would need to be
          cramped in a single line
        - all other configuration option applied equally to all services;
          (enabled tcp wrappers/rate limiting/etc); SMF offers common
          properties for each service and those can be
          set per service

Casper

 
 
 

How so start pop3d under Solaris 10 ?

Post by Scott Howar » Mon, 30 May 2005 21:10:20



> How do I run the pop3d under Solaris 10 ?
> I do not seem to have svc:/network/pop3/tcp:default ?

Solaris has never included a POP3 server - you'll need to install one
yourself if you want to use it.

Quote:> I seem to have problems with this new SMF - cannot quite get my head around why
> /etc/inetd.conf is converted to some XML format - things used to be nice and simple now they
> seem to be unecessarily complex, I'm sure there is a good reason for this but I've not

Power!

Say you wanted to disable telnet under Solaris <=9. First you need to
edit /etc/inetd.conf, then kill -HUP inetd (careful to remember the HUP or
you'll kill it off completely), then check /var/adm/messages to make sure
you didn't*it up.

Under Solaris 10?  Just run "svcadm disable telnet"

Maybe you just want to disable it until the next reboot? Solaris <=9 I
suppose you could do the above, and then edit the file again and uncomment
telnet but don't restart inetd (and hope that nobody else does).

Under Solaris 10?  Just run "svcadm -t disable telnet"

What about turning on TCP wrappers? Under S9 it needs lots of editing of
inetd.conf.  Under S10, "inetadm -M tcp_wrappers=TRUE"

Maybe you want to allow a non-root user to do some of the above?
Solaris 9 - forget it.  Solaris 10 - just add the relevant privledge to
their account.

In the early days of SMF (ie, when it hit Solaris Express) there were a lot
of people saying much the same thing as you. Now that people have played
with it, most are seeing that it _is_ a massive improvement over how
things were before.

  Scott

 
 
 

How so start pop3d under Solaris 10 ?

Post by John Do » Mon, 30 May 2005 21:27:49




>>How do I run the pop3d under Solaris 10 ?
>>I do not seem to have svc:/network/pop3/tcp:default ?

>>I seem to have problems with this new SMF - cannot quite get my head around why
>>/etc/inetd.conf is converted to some XML format - things used to be nice and simple now they
>>seem to be unecessarily complex, I'm sure there is a good reason for this but I've not
>>figured out what it is.

> The good news is that you can still add stuff to /etc/inetd.conf
> and then run a conversion command which takes care of this for you.

> The advantages the new configuration offers are many:

>    - any extensions to the inetd format would need to be
>      cramped in a single line
>    - all other configuration option applied equally to all services;
>      (enabled tcp wrappers/rate limiting/etc); SMF offers common
>      properties for each service and those can be
>      set per service

> Casper

Thanks for the info, which lead me to find inetconv(1M) which is the converter you are
referring to.

Comment: Would be nice if the Solaris 10 Companion CD included these files pre-built (in
/opt/sfw/var/...) after all the software is destined for Solaris 10. The README.SFWimap
makes reference to /etc/inetd.conf which is correct if the O/S were using it but is not
Solaris 10 ready without some messing around.

John

 
 
 

How so start pop3d under Solaris 10 ?

Post by Casper H.S. Di » Mon, 30 May 2005 22:23:47



>Maybe you want to allow a non-root user to do some of the above?
>Solaris 9 - forget it.  Solaris 10 - just add the relevant privledge to
>their account.

Authorization, not privilege.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

How so start pop3d under Solaris 10 ?

Post by Matt » Mon, 30 May 2005 23:56:03




>>How do I run the pop3d under Solaris 10 ?
>>I do not seem to have svc:/network/pop3/tcp:default ?

> Solaris has never included a POP3 server - you'll need to install one
> yourself if you want to use it.

>>I seem to have problems with this new SMF - cannot quite get my head around why
>>/etc/inetd.conf is converted to some XML format - things used to be nice and simple now they
>>seem to be unecessarily complex, I'm sure there is a good reason for this but I've not

> Power!

> Say you wanted to disable telnet under Solaris <=9. First you need to
> edit /etc/inetd.conf, then kill -HUP inetd (careful to remember the HUP or
> you'll kill it off completely), then check /var/adm/messages to make sure
> you didn't*it up.

> Under Solaris 10?  Just run "svcadm disable telnet"

> Maybe you just want to disable it until the next reboot? Solaris <=9 I
> suppose you could do the above, and then edit the file again and uncomment
> telnet but don't restart inetd (and hope that nobody else does).

> Under Solaris 10?  Just run "svcadm -t disable telnet"

> What about turning on TCP wrappers? Under S9 it needs lots of editing of
> inetd.conf.  Under S10, "inetadm -M tcp_wrappers=TRUE"

I believe setting "ENABLE_TCPWRAPPERS=YES" in /etc/default/inetd will
wrap all services by default (using /etc/hosts.deny and /etc/hosts.allow
to allow/deny access). You don't need to explicilty add tcpd to each
line to limit who can connect.

- Show quoted text -

Quote:> Maybe you want to allow a non-root user to do some of the above?
> Solaris 9 - forget it.  Solaris 10 - just add the relevant privledge to
> their account.

> In the early days of SMF (ie, when it hit Solaris Express) there were a lot
> of people saying much the same thing as you. Now that people have played
> with it, most are seeing that it _is_ a massive improvement over how
> things were before.

>   Scott

 
 
 

How so start pop3d under Solaris 10 ?

Post by YTC# » Tue, 31 May 2005 05:24:03




>>Maybe you want to allow a non-root user to do some of the above? Solaris
>>9 - forget it.  Solaris 10 - just add the relevant privledge to their
>>account.

> Authorization, not privilege.

You say rowter I say rooter :-)

--
Bruce Porter
XJR1300SP, XJ900F, GSX750W, GS550, GSX250, CB175
POTM#1(KoTL), WUSS#1 , YTC#1(bar), OSOS#2(KoTL) , DS#3 , IbW#18 ,Apostle#8
"The internet is a huge and diverse community and not every one is friendly"
http://www.ytc1.co.uk        
There *is* an alternative! http://www.openoffice.org/

 
 
 

How so start pop3d under Solaris 10 ?

Post by John Do » Tue, 31 May 2005 05:33:07



> Hi,

> How do I run the pop3d under Solaris 10 ?
> I do not seem to have svc:/network/pop3/tcp:default ?

> I seem to have problems with this new SMF - cannot quite get my head
> around why /etc/inetd.conf is converted to some XML format - things used
> to be nice and simple now they seem to be unecessarily complex, I'm sure
> there is a good reason for this but I've not figured out what it is.

I'm up to speed now - thanks for the pointers - now I'm beginning to understand this SMF
stuff. Not so bad once you know what to do.

John.

Quote:

> John.

 
 
 

1. Jumpstart solaris 10 b69 and solaris 10 b72 on an Ultra 30

I am trying to jumpstart a Sun Ultra 30 using Solaris 10 b69
(b72 gives the same results) from a Linux jumpstart server.

I have scripts for all this (soon to be release opensource!) but
..although I can get b55, beta5(b60) and b63  and b55 to work
b63 and b72 do not work!

since this is an Ultra 30 I went to

http://sunsolve.sun.com/handbook_pub/Devices/Boot_PROM/BootPROM_Sun4u...
and ran Patch 105930-06 with no problems.

Even now it does not boot.

- bpgetfile shows all parameters can be retreived ok.
- nfs mounts all work
- pfinstall shows the profile is ok
- I've checked the rules file and it is fine.
- The /tftpboot directory is setup correctly with the right inetboot file.

reset
boot net - install
I can see the tftp transfer clock up ok to 38600
The linux server shows the correct mount of the root= directory.

Normally the kernel banner should appear next but instead I get
loads of messages

not found: vmem_create
not found: vmem_alloc
not found: cv_signal
not found: wake_sched_sec
not found: physmax
not found: putreg
not found: fp_precise
not found: ddi_prop_lookup_init_array
not found: sema_v
not found: traceregs
not found: psignal
not found: strcmp
not found: fop_putpage
not found: strcmp
not found: global_zone
not found: fastscan

etc.. and eventually

krtld:error during initial load/link phase
panic - boot:exitto64 returned from client program

and I'm back at the ok prompt

1. From the book "Solaris Internals: Core Kernel Architecture" using

/usr/ccs/bin/dump -Lv /platform/sun4u/kernel/sparcv9/unix

mentions the line NEEDED..dtracestubs

but I cannot find dtracestubs under that /platform directory.
Is this a problem?

2. nm on things seems to indicate the missing symbols are in genunix
but I'm not sure how to debug what is going on??

3. eeprom | grep boot-file give
boot-file: data not available so I assume a 64-bit boot should occur.

On the net I've seen add set moddebug to /etc/system but the
Solaris Internals boot indicates that /etc/system is read AFTER
krtld does an inital link.

I'm totally stumped why this will not work...Any ideas?

2. shared passwd, restricted access?

3. Live upgrade failure: Solaris 10 -> Solaris 10 update 1.

4. Diamond SupraMax 56k V.90 PCI internal. Winmodem????

5. lsof 4.70D for Solaris 10 [was Re: Lsof on Solaris 10 x86?]

6. sun multiple interfaces and mrtg

7. Solaris 10 -- Where to get gcc (or other compiler) built on Solaris 10?

8. Ultra 10 problem ?

9. Solaris 10 x86 X-server can not be started on display :0

10. Can't start sshd in Solaris 10.

11. CDE does not start after installing Solaris 10

12. Some warning whilst starting Solaris 10 x86

13. Xntpd not starting after Solaris 10 b72 jumpstart