Ssh install on solaris core group installation - startup scripts?

hi all,
i have a fresh "core group" installation of solaris 11/06 now up and running.
I have added the following pkg to get ssh running.
bash-3.00# pkginfo |grep ssh
system SUNWsshcu SSH Common, (Usr)
system SUNWsshdr SSH Server, (Root)
system SUNWsshdu SSH Server, (Usr)
system SUNWsshr SSH Client and utilities, (Root)
system SUNWsshu SSH Client and utilities, (Usr)
so it is installed. I have manually created ssh_host_keys and I can start and use sshd/sftp -server. However I'm in need to find the best way of starting this up at boot. I have followed a link to Sun Blueprints for open ssh startup scripts.
http://www.sun.com/blueprints/tools/ > secureshell-tools.tar.Z
however this relies on prng (psuedo random number generator). my "default installation" of solaris 10 11/06 does not have this installed and ssh works fine, so I am reluctant to go down prng path.
furthermore searching my "default installation" of solaris 10 11/06 i can not see any ssh startup scripts that I could heist
please advise best practice

fixed for now
http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.html > Enabling and disabling services
since solaris 10, use "svcadm"
ie
mybox86# svcadm enable network/ssh:default
very nice.

Similar Messages

  • Group Policy Startup Script Applies My Policy But Does Not Run The Acual Scripts

    I have created a basic batch file with msiexec.exe to uninstall a program on startup and then another separate .bat script to install the same program but the newer version. The software I'm referring to has to be completely uninstalled BEFORE
    I install the "newer" version of the same program, it cannot just be overwritten. If I run a gpupdate /force on the client computer and restart, the scripts run as they are supposed to and everything works but the problem is that I can't get it to
    run on first boot on a computer that has been turned off for months, even after multiple reboots it still doesn't run the scripts. The 3 policies apply to the different computers/users but the scripts don't run. I manage a theme park that is
    only open 4 months of the year so the rest of the time the in park PC's are turned off. I have created my OU as "POS Computers & Users" which has all of the computers and users that will take this policy. I also have 3 Group Policy
    Objects attached to this OU in Group Policy, 1 is the program uninstallation .bat script policy that runs on startup, 2 is the install .bat script policy that runs after the uninstallation script, and 3 is the Default Policy for the OU. I already have the
    "Always wait for the network at computer startup and logon", "Run startup scripts visible"enabled, "Run startup scripts asynchronously" disabled, and "Run Logon Scripts Synchronously" enabled for all 3 of the
    policies. They are all "link enabled" and security filtering is set to only the OU I mentioned earlier so that it doesn't affect anyone else. I have the link order set as the script I want to run first as the last and the one I want to run last first
    because from what I understand inheritance is from bottom to top. The install file is accessible by everyone with full permissions on our "Shared" drive so I know its not a permissions issue because it runs after a gpupdate /force with a restart.
    The scripts are in the proper folder for the policies they are attached to and permissions are fine.
    Here is my uninstall .bat script (msiexec.exe /X{14324A6A-BDD1-4F40-8E77-664C8AEEA251} /forcerestart /qb-! ALLUSERS=1 REMOVE=ALL)
    Here is my install .bat script (msiexec.exe /i {\\kksrvad\shared\Gatemaster\NewGatemaster.msi} /qb ALLUSERS=1)

    Can't be done in a login script.
    This is a Group Policy issue and not a scripting issue.  You do not have a script.  You have a command saved in a batch file and you are using a GPO.  Not a scripting issue.
    ¯\_(ツ)_/¯

  • Group Policy Startup Script

    Hi,
    We have a requirement to delete some of the files from all the desktops in Domain. We have already created a script to achieve the same. But when we are applying the same as startup script for the PC's it is not deleting the files. If we apply as logon script
    then it can delete some files because user does not have access to delete all the files. For this reason we want to apply it on startup so that it can run with SYSTEM privilege and delete files but it is not happening.
    Please suggest if there is any reason for which the startup script is not able to delete the files. I have already checked by doing RSOP.MSC and GPRESULT and found the script to be present in the startup.
    There is no log in the event viewer related to this.

    Hi Sukhwin08,
    According to your post, the gpresult showed the Startup script has been applied but the script could not run successfully. Right? Please follow the following step to narrow down the issue:
    1. Change the script to the following command:
    add  > %SystemDrive%\Users\test.txt to the script.
    2. Log on to a client with a regular user account, run
    gpupdate/force, and then re-log on to this client.
    3. Check if the test.txt file exists in this location
    %SystemDrive%\Users.
    If the test.txt file exists, Startup script is applied successfully. But the result of running logon script achieves the goal we expect or not which is still not sure.
    Regards,
    Lany Zhang

  • Office 2010 setup thru computer startup script

    I am trying to install Office 2010 (sp2 seperate in the updates folder) thru group policy startup script and configured with OCT .msp file. Also try to start Access Runtime 2010 with SP2 update in the updates folder.
    In group policy set run scripts asynchronisely disabled and run scripts visible enabled otherwise i could not see what the system was doiing also not when configiguring OCT with full display. The gpo settings lets the screens show during install so the user
    can see what happens.
    There is another problem that rises however: I have made 2 batchfiles and both are starting as a computer startup script in seperate gpo's (that is in another post). First the Accessruntime is installing, after that Office 2010 is running. Both are installed
    after login but only one of the 2 have SP2 installed (7015) in this case Accessruntime has it. When i run only the Office 2010 install and not the Accesruntime 2010 then Office 2010 standard has also SP2 installed (version 7015). When running both only Runtime
    has this sp2 and Office has 4763 this is without sp2 i believe.
    In both folders (Office en Runtime) are the update files .msp in the updates folder of the installation, so thats ok.
    Why is only 1 of the 2 installing the SP2 when running both?
    A second thing is when restarting the system and before the login screen appears a message: Upgradepatch cannot be installed by Windows installer becasue the upgraded program does not excist of the upgradepatch is not suitable for this program?
    Here is part of the batchfile:
    IF EXIST "c:\program files\Microsoft Office\Office14\WINWORD.EXE" (goto mkfile) ELSE (goto DeployOffice)
    :mkfile
    ECHO Office 2010 is reeds geinstalleerd>c:\temp\office.txt
    goto end
    :DeployOffice
    call cscript \\sharename\office2010\Offscrub03.vbs ALL /bypass 1 /q /s /NoCancel
    start /wait %DeployServer%\setup.exe /adminfile %DeployServer%\officeconfig.msp
    echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    Another batchfile
    start \\sharename\accessruntime2010\setup.exe /config \\share\accessruntime2010\config.xml
    REM echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    freddie
    after installing both runtime and office both have SP2 in updates folder:
    runtime 4763
    Office 2010: 7015
    So in this example runtme is installed without the SP2. installing runtime alone gives with SP2...
    The message is gone. There was a other policy inherited from above that caused the message. The only problem now is that when installing both, runtime 2010 with SP2 files and Office 2010 with SP2 files, then one of the two don't get the Sp2 installed, why
    is that?

    > In the bat file, I have a line that records if the install completes
    > successfully or failed.  I don't have any other logging in my
    > script.  Are you referring to something like GPO logging? I know that
    > the script runs because when I am looking at one of the PCs, I can
    So it is NOT GP related but rather your script fails?!? Put some "echo
    %~n0 %date% %time%>>Log-File-Of-Your-Choice.txt" in it to check what's
    going on. And put ">>Log-File-Of-Your-Choice.txt 2>&1" at the end of
    critical commands to capture their output.
    > I ran the gpresult /h command which shows all User Configuration
    > policies, but NOTHING appears under the Computer Configuration section.
    Admin commandline? If not, you don't see computer settings :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))
    Martin,
    I still did not figure out why the installation script did not work for some of the PCs, even though the PCs have the same image.  For the ones that don't work, I will install manually.  Can you please look at the screenshots of the GPO
    settings I am using, and let me know if there is any settings that I need to remove or add?
      Thanks

  • Does SSH come installed with Solaris 10 SPARC

    How to enable SSH on new Solaris 10 box (SPARC)
    Thanks

    Enabling ssh for root login:
    Change an entry:
    PermitRootLogin yes
    in */etc/ssh/sshd_config*

  • Solaris 7 Software Installation on x86 System Problem

    Experienced error message "disk not found" just prior to Solaris execution of final installation process. This was during Interactive installation. Also recieved "cannot determine boot device name". Could not use set env command in order to set the boot device. It is telling us that there is no boot device set up. Need some information/commands that will enable me to get over this problem and complete the software installation.
    This could very well be a simple fix, I just don't have the knowledge bas eto effect it. Please contact at [email protected] or 540 657-6585.
    Thanks
    Ken

    I hope this can help you. I recently posted the similar question on the development group and got help from 'agood214' which I think is the best answer.
    (All credit should be to agood214)
    Okay, here's the followup and results for my install method.
    1. It worked
    2. Partition magic and Boot magic are not needed to make this happen.
    3. Partition and boot magic do not recognize the solaris partitions on the second master IDE. In fact they give an error ( #110) and offer to "fix" the dirve which will corrupt the install of Solaris.
    4. I had scanned the newsgroups and found a utiliuty called XOSL - Extended Operating System Loader at http://www.xosl.org it works like and absolute charm!
    === Other installation notes - mostly my machine is not on the Hardware Comaptibility List but I figured I'd give it a try. System is a K6-III 450 Mhz ( not on HCL) Iwill XA-100A Plus motherboard ( not on HCL ) Sblive PCI valueboard ( not on HCL ) Siig high speed serial board - PCI (not on HCL) Diamond 56k PCI modem ( not on HCL ) I had to remove the modem and serial card as well as dispable PnP in the BIOS.
    Then everything loaded pretty normal.
    ====
    agood214 was using two physical drivers, but I tried on one 13 GB Hard Drive with 4 partitions (Solaris7, Win98, Win2000, data-partition) and working beautifully. In my case, I didn't have to disable anything in the BIOS to get them work. Just read though the manual in XOSL if you want to use this boot-loader and it is very easy to install. NOTE: you can not use 'instant boot' in XOSL to boot with the combination of WIN-OS and Solaris. Besides it, everything is prefect.

  • Solaris 8 x86 installation runs out of space

    I am installing Solaris 8 x86 on to a Dell PowerEdge Server with a 9.1 SCSI drive. Utilizing the Solaris installation process and choosing "Entire Solaris Software Group" the process completes successfully. When signed on as root and installing software from the "bonus software bundle" I simply run out of room. When reviewing the disk manager it shows that "/" is at 88% and "/usr" is at 0%. What am I doing wrong? What is the proper way to load ancillary software and to get it to load into the "/usr" and not the "/" partition?
    Thanks for the help!

    Hi,
    Suggest you can choose custom install option, where by you can define each partion size as you wish. You may create /opt as seperate partion where you can load all your required s/w.
    Or Increase size of root partion so as to accomodate /opt.
    I hope this helps to you.
    Thanks,
    Santosh

  • What packages are required for an 11.2.0.3 install on Solaris 11?

    Where can I find information on which packages are required to install Oracle 11.2.0.3 on Solaris 11?
    The documentation only mentions Solaris 10. I tracked down the packages required for Solaris 10, and most of them are either included in the GA release of 11 or obsoleted.
    There are however a couple of packages that are missing from the base install of Solaris 11:
    SUNWarc (renamed to):
         * consolidation/osnet/osnet-incorporation (installed)
         * developer/library/lint (missing)
    SUNWhea (renamed to):
         * consolidation/osnet/osnet-incorporation (installed)
         * system/header (misising)
    So it looks like developer/library/lint and system/header are packages from required for Solaris 10 that are missing on 11. The installer however doesn't check for any packages whatsoever.
    Does that mean it's safe to install the database?
    Edited by: 894946 on Nov 21, 2011 8:38 AM

    Here is list of packages you need in order to install Oracle 11gR2 on Solaris 11:
    SUNWarc SUNWbtool SUNWhea SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWlibm SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt
    Some of the above are installed by default which you can find by:
    pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWlibm SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt
    I believe you will only have to install the following:
    pkg install compatibility/packages/SUNWxwplt SUNWarc SUNWhea SUNWxorg-client-programs SUNWxorg-clientlibs
    Cheers

  • Delegate Admin install fails with core dump

    I have been attempting to install the iPlanet Delegated Adminstrator with the Messaging Server 5.2 release. I am using Directory Server 5.1 service pack 1 on Solaris 8.
    Installation of DS 5.1 goes fine.
    Installation of MS 5.2 goes fine.
    Installation of the web server 6.0 wtih sp4 goes fine
    Every time I attempt to install DA, I get a "Segmentation Fault - core dumped" and absolutely no other information.

    Since this is not a normal thing, I only have two suggestions left:
    1. Download the latest version if iDA:
    http://wwws.sun.com/software/download/products/3ed69a6c.html
    2. Download and apply p1 for iMS (now a year old, but the latest publically available version):
    http://wwws.sun.com/software/download/products/3e3afb91.html
    3. Install the latest Solaris patch cluster.
    If the above fail, then:
    4. Open up a tech support ticket.

  • Solaris 10  - After installation read only file system

    Dear All,
    I have installed the Solaris 10 on my x86 system with out any problem. The installation was completed successfully. I have followed the installation instructions that are mentioned in the following link.
    http://docs.sun.com/app/docs/doc/817-0544/6mgbagb19?a=view
    I am facing a different problem. I am not able to create even a single file / sub-directory on any of the existing directories. It always says READ ONLY file system can not create firl / directory.
    Please help me how to resolve this issue.
    Thanks in advance.
    Regards,
    Srinivas G

    What do you get for 'svcs -xv' output?
    Darren

  • Error while installing on Solaris 10

    Hi
    i am getting following error while installing weblogic server10.3.1 on Solaris 10.
    +Installation fails with Fatal error encoutered during self-extraction. Click Yes to exit, No to continue as a Net installation.[No space left on device] message.+
    I tried redirecting it to new local temp folder but it didn't helped.
    Please help.
    Thanks
    Chinmay
    Edited by: user12143775 on Nov 13, 2009 8:53 AM

    Hi Vijay
    I can see a constarint on / and /dev directory.Rest Of directory has a lot of available space.Can this cause the problem.
    Filesystem size used avail capacity Mounted on
    / 2.0G 1.6G 371M 82% /
    /dev 2.0G 1.6G 371M 82% /dev
    /lib 59G 8.3G 50G 15% /lib
    /platform 59G 8.3G 50G 15% /platform
    /sbin 59G 8.3G 50G 15% /sbin
    /usr 59G 8.3G 50G 15% /usr
    /usr/local 30G 2.3G 26G 8% /usr/local
    /usr/openv 6.0G 3.1G 2.8G 53% /usr/openv
    proc 0K 0K 0K 0% /proc
    ctfs 0K 0K 0K 0% /system/contract
    mnttab 0K 0K 0K 0% /etc/mnttab
    objfs 0K 0K 0K 0% /system/object
    swap 102G 392K 102G 1% /etc/svc/volatile
    /platform/SUNW,T5240/lib/libc_psr/libc_psr_hwcap2.so.1
    59G 8.3G 50G 15% /platform/sun4v/lib/libc_psr.so.1
    /platform/SUNW,T5240/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
    59G 8.3G 50G 15% /platform/sun4v/lib/sparcv9/libc_psr.so.1
    fd 0K 0K 0K 0% /dev/fd
    swap 102G 48K 102G 1% /tmp
    swap 102G 48K 102G 1% /var/run
    3.24.144.10:/vol/preprovis_88
    25G 972M 24G 4% /u01
    Thanks
    Chinmay

  • Unable to install a Solaris OS in a Single disk slice

    Hi,
    We are unable to install the Solaris-OS on a single slice disk.
    We found that, only "Solaris 10 10/08 (U6)" release can support the single slice disk installation, prior release are not. Is it true ?
    We found it from "LDoms Community Cookbook " , from given link
    http://wikis.sun.com/display/SolarisLogicalDomains/Section+2+-VirtualDevices
    Paragraph is
    " Before Solaris 10 10/08 (U6), when a backend is exported to a domain as a single slice disk, it will appear in that domain as a disk with a single partition (s0). Such a disk is not visible with the format(1m) command and its partition table can not be changed. A single slice disk will not be visible from the Solaris installer and can not be select as a disk device on which Solaris can be installed. "
    Our Configuration are
    sc> showhost
    System Firmware 6.6.4 Sun Blade[TM] T6300 2008/07/01 02:03
    Host flash versions:
    OBP 4.28.9 2008/06/30 21:26
    Hypervisor 1.6.4 2008/06/06 04:57
    Sun Blade T6300 Server Module POST 4.28.6 2008/05/23 12:35
    -bash-3.00# cat /etc/release
    Solaris 10 8/07 s10s_u4wos_12b SPARC
    Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 16 August 2007
    We Installed a 127127-11 patch also.
    -bash-3.00# ldm -V
    Logical Domain Manager (v 1.0.3)
    Hypervisor control protocol v 1.1
    Using Hypervisor MD v 1.1
    System PROM:
    Hypervisor v. 1.6.4 @(#)Hypervisor 1.6.4 2008/06/06 04:57\015
    OpenBoot v. 4.28.9 @(#)OBP 4.28.9 2008/06/30 21:26
    Use below command to add single slice disk
    *# ldm add-vdsdev options=slice /dev/dsk/c0t1d0s3 vol3@primary-vds0*
    Getting error in between installation,
    ERROR: No disks found
    - Check to make sure disks are cabled and powered up
    Please help us to, resolve this issue. Thanks a lot.
    Best Regards,
    Parvez Memon.

    Hi,
    Whenever i try to installed the patch 137137-09, it required a below patch
    0 For patch 137137-09, required patch 138866-01 does not exist.
    And try this then
    # patchadd 138866-01
    The following requested patches will not be installed because
    the packages they patch are not installed on this system.
    0 No Packages from patch 138866-01 are installed on the system.
    No patches to install.
    I am not able to install this patch 138866-01, even i try with 138866-02 but not success.
    Thanks for your reply, please help to resovle the same.
    Regards,
    Parvz Memon

  • Firefox 3.6.3 crashes randomly when used throught SUN Secure Global Desktop. I have a Solaris core dump. Is there a way to get the dump read?

    Running FF 2.0.0.8 with Sun Secure Global Desktop - no issues. Upgraded to V3.6.2, then 3.6.3. Both upgrades failed. Browser randomly crashes at different times, different pages. FF works if directly ssh'ing into application sever. When accessing FF after loging in using SGD, I get random crashes. I have a Solaris core dump generated by FF. Is there anyone that can read/diagnos the core dump?

    I have identified the issue and received a 'fix' from the
    Oracle Secure Global Desktop support team.
    The issue - firefox is crashing when attempting to talk to the sound server which is not active. All activity within the window works fine, except ff hangs the second you move the mouse in to the top level menu.
    We disabled the audio under the SGD configuration and that ficed the issue.

  • Solaris 9/10 Installation

    Hi Folks,
    Sorry if this has already been asked but im having problems installing either solaris 9 or 10 on a solaris ultra 5.
    The box has solris 8 installed at the moment and we are looking to upgrade to solaris 10, but with a new HDD when we try to install i get the error:
    Bad magic number in disk label
    Can't open disk label package
    Cant open boot device.
    I read somewhere that this could be the cd drive which was faulty, however i have now tried a different cdd and dvd drive and got the same result.
    To clarify, i cannot install either solaris 9 or 10 which were downloaded from the sun website, i even tried a commercial version of solaris 9 which gave the same error.
    Now one thing i have changed is the hard drive. The hard drive which is in place just now is a blank out of the box maxdata hard drive, could this be the problem?
    Thanks in advance
    Allan

    Hi Alex thanks for replying.
    The sequence of events are:
    Boot into solaris 8, put the installation disk into the drive. (The disks contents can be seen in solaris). Reboot the system. Openboot runs, i press stop+a anyway. Enter boot cdrom and get the error:
    Bad magic number in disk label
    Can't open disk label package
    Cant open boot device.
    If i enter boot disk, it will boot back to solaris.
    I must be doing something wrong. The disk did work when i performed a test installation on a HP system. ?
    Thanks
    Allan

  • How to add solaris packages to installled system...

    Hello,
    I have a minimally installed Sun Solaris system. I need a lot more functionality on it, like developper tools.
    I know how to install a packege. The problem is finding out which packages to install. The installation CD contains a whol ot of SUNW* packages with cryptic names, and when you try to install one of them I usually run in to dependency problems.
    So is there a convenient way to do the following:
    - Given I need a particular tool (eg /usr/ccs/bin/as )
    - Find out what package that tool belongs too
    - Install that package and all its dependencies automatically?
    Under Linux (an Os where I do have somewhat more experience) this is a trivial exercise. But how do I do this under Solaris?

    I know I can just try to install a package using pkgadd and see where it breaks. But to do this I first have to know what package to install. That is the first problem. I need "foo", how do I find out what package contains "foo"?
    Searching for sollutions I came across a concept called "metacluster", which is aparently sun's way of packaging lots of related stuff together. I found out that the metacluster installed on my system was "SUNWCuser" and that I probably want it to be "SUNWCprog". But I have no idea how to get there.

Maybe you are looking for

  • If I buy a Sim free iPhone in the UK will I be abel to use it on PAYG in Australia?

    If I buy a Sim free iPhone in the UK will I be abel to use it on PAYG in Australia? Or will in need jailbreaking? And what does this even mean?! Also, I'll still have a UK SIM (vodafone) that I'll want to check from time to time - will this work? tha

  • Write a cursor  using UTL-FILE

    Hi , i have a flat file (ffile,txt) like this in unix sserver(i know the dir ): No:100,200,300. Name:dan,bob,greg. Dep:IT,BT,MAN,CT. every line was ended with Dot(.) for line separation. I want a cursor like this select * from emp where eno IN( '100'

  • N96 Update and refomat

    Hi i am about to update my n96 and then reformat it by typing in *7370# but i do not want to lose all the pre installed vids etc. will backing up with pc suite save all these and have my phone be as it was before the update and reformat? thanks

  • Please Help!!! How do I uninstall iTunes completly!

    I put almost everything that comes up when i do iTunes in the trash. Do I have to delete my music to? I was deleting a user off my computer so I put the iTunes music folder in the shared folder. I then went in to the other user and took it out. The n

  • Why can't FaceTime verify my email address on my Mac but it works fine on my iPhone?

    I can receive and make facetime calls on my iphone but it won't work on my Macbook Pro. It used to work fine and I haven't changed my email address or password. It has now automatically logged my out and won't verify my email address to log me back i