Prev: Asq for GRUB
Next: SSD for solaris x86
From: jimp on 1 Mar 2010 18:51 In comp.unix.admin happytoday <ehabaziz2001(a)gmail.com> wrote: > Is there a way of enabling all of them at a once ? Why in the world would anyone want to do that? You do realize that many of them are mutually exclusive and most that are disabled have to be configured before you can successfully enable them? -- Jim Pennino Remove .spam.sux to reply.
From: chuckers on 1 Mar 2010 19:24 On Mar 2, 6:53 am, Ian Collins <ian-n...(a)hotmail.com> wrote: > happytoday wrote: > > On Mar 1, 5:26 am, ChrisS <chris.sca...(a)gmail.com> wrote: > > Please learn to snip! > > >> Unless you need to run them, I would even disable telnet and ftp. Of > >> course and rlogins or rshells too. > > >> svcadm disable ftp > >> svcadm disable telnet > > > Is there a way of enabling all of them at a once ? > > man netservices(1M). > > -- > Ian Collins " Note that the netservices command has an interface stability of Obsolete." It is a good command, though.
From: David Kirkby on 3 Mar 2010 16:40
On Feb 28, 11:16 pm, happytoday <ehabaziz2...(a)gmail.com> wrote: > That is the output of svcs -a . My question is : Is it normal for > those services to be disabled . Yes. I can't find where you asked, but somewhere you asked if there was a command to enable them all at once. It would be extremely unwise to do this. Many have security implications. These 3 would be high up on my list to disable online 0:34:37 svc:/network/telnet:default online 0:34:38 svc:/network/ftp:default online 0:34:38 svc:/network/finger:default # svcadm disable svc:/network/telnet:default (or at least in the case of telnet and ftp, you can use # svcadm disable telnet etc You should be concentrating no what you can disable, not what you can enable. |