1. root 계정 원격 접속 설정
vi /etc/ssh/sshd_config
PermitRootLogin yes
운영 환경에서는 보안을 고려하여 su 명령어를 이용하여 일반 유저에서 root 유저로 전환하는 것을 권합니다.
vi /etc/default/login
#CONSOLE=/dev/console
'#' 을 추가하여 console 설정 부분을 주석 처리합니다.
롤 수정
rolemod -K type=normal root
ssh 서비스 재기동
svcadm restart svc:/network/ssh:default
2. 미사용 서비스 정리
svcs -a svcadm disable sendmail
3. VirtualBox Guest Additions 설치
/usr/sbin/mount -r -F hsfs /dev/dsk/c1t1d0s0 /cdrom cd /cdrom pkgadd -G -d ./VBoxSolarisAdditions.pkg
root@sol11:~# /usr/sbin/mount -r -F hsfs /dev/dsk/c1t1d0s0 /cdrom root@sol11:~# cd /cdrom/ root@sol11:/cdrom# ls AUTORUN.INF VBoxSolarisAdditions.pkg NT3x VBoxWindowsAdditions-amd64.exe OS2 VBoxWindowsAdditions-x86.exe TRANS.TBL VBoxWindowsAdditions.exe VBoxDarwinAdditions.pkg autorun.sh VBoxDarwinAdditionsUninstall.tool cert VBoxLinuxAdditions.run runasroot.sh root@sol11:/cdrom# pkgadd -G -d ./VBoxSolarisAdditions.pkg The following packages are available: 1 SUNWvboxguest Oracle VM VirtualBox Guest Additions (i386) 6.0.8,REV=r130520.2019.05.13.15.52 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: Processing package instance <SUNWvboxguest> from </cdrom/VBoxSolarisAdditions.pkg> Oracle VM VirtualBox Guest Additions(i386) 6.0.8,REV=r130520.2019.05.13.15.52 Oracle Corporation Using </> as the package base directory. ## Processing package information. ## Processing system information. ## Verifying package dependencies. WARNING: The <SUNWuiu8> package "Iconv modules for UTF-8 Locale" is a prerequisite package and should be installed. Do you want to continue with the installation of <SUNWvboxguest> [y,n,?] y ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of <SUNWvboxguest> [y,n,?] y Installing Oracle VM VirtualBox Guest Additions as <SUNWvboxguest> ## Installing part 1 of 1. /etc/fs/vboxfs/mount <symbolic link> /opt/VirtualBoxAdditions/1099.vboxclient /opt/VirtualBoxAdditions/LICENSE /opt/VirtualBoxAdditions/VBox.sh /opt/VirtualBoxAdditions/amd64/VBoxClient.Z /opt/VirtualBoxAdditions/amd64/VBoxControl.Z /opt/VirtualBoxAdditions/amd64/VBoxService.Z /opt/VirtualBoxAdditions/amd64/pam_vbox.so /opt/VirtualBoxAdditions/amd64/vboxfs /opt/VirtualBoxAdditions/amd64/vboxfs_s10 /opt/VirtualBoxAdditions/amd64/vboxfsmount /opt/VirtualBoxAdditions/amd64/vboxmslnk /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_110.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_111.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_112.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_113.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_114.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_117.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_118.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_13.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_14.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_15.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_16.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_17.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_18.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_19.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_70.so.Z /opt/VirtualBoxAdditions/amd64/vboxvideo_drv_71.so.Z /opt/VirtualBoxAdditions/i386/VBoxClient.Z /opt/VirtualBoxAdditions/i386/VBoxControl.Z /opt/VirtualBoxAdditions/i386/VBoxService.Z /opt/VirtualBoxAdditions/i386/pam_vbox.so /opt/VirtualBoxAdditions/i386/vboxfs /opt/VirtualBoxAdditions/i386/vboxfs_s10 /opt/VirtualBoxAdditions/i386/vboxfsmount /opt/VirtualBoxAdditions/i386/vboxmslnk /opt/VirtualBoxAdditions/i386/vboxvideo_drv_110.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_111.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_112.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_113.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_114.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_117.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_118.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_13.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_14.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_15.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_16.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_17.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_18.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_19.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_70.so.Z /opt/VirtualBoxAdditions/i386/vboxvideo_drv_71.so.Z /opt/VirtualBoxAdditions/solaris_xorg.conf /opt/VirtualBoxAdditions/solaris_xorg_modeless.conf /opt/VirtualBoxAdditions/vbox_vendor_select /opt/VirtualBoxAdditions/vboxclient.desktop /opt/VirtualBoxAdditions/vboxguest.sh /opt/VirtualBoxAdditions/vboxmslnk /opt/VirtualBoxAdditions/x11config15sol.pl /opt/VirtualBoxAdditions/x11restore.pl /usr/bin/VBoxClient <symbolic link> /usr/bin/VBoxClient-all <symbolic link> /usr/bin/VBoxControl <symbolic link> /usr/bin/VBoxService <symbolic link> /usr/kernel/drv/amd64/vboxguest /usr/kernel/drv/amd64/vboxms /usr/kernel/drv/vboxguest /usr/kernel/drv/vboxguest.conf /usr/kernel/drv/vboxms /usr/kernel/drv/vboxms.conf /usr/lib/VBoxOGL.so /usr/lib/VBoxOGLarrayspu.so /usr/lib/VBoxOGLcrutil.so /usr/lib/VBoxOGLerrorspu.so /usr/lib/VBoxOGLfeedbackspu.so /usr/lib/VBoxOGLpackspu.so /usr/lib/VBoxOGLpassthroughspu.so /usr/lib/amd64/VBoxOGL.so /usr/lib/amd64/VBoxOGLarrayspu.so /usr/lib/amd64/VBoxOGLcrutil.so /usr/lib/amd64/VBoxOGLerrorspu.so /usr/lib/amd64/VBoxOGLfeedbackspu.so /usr/lib/amd64/VBoxOGLpackspu.so /usr/lib/amd64/VBoxOGLpassthroughspu.so /usr/sbin/vboxmslnk <symbolic link> [ verifying class <none> ] /opt/VirtualBoxAdditions/VBoxClient <linked pathname> /opt/VirtualBoxAdditions/VBoxControl <linked pathname> /opt/VirtualBoxAdditions/VBoxISAExec <linked pathname> /opt/VirtualBoxAdditions/VBoxService <linked pathname> [ verifying class <manifest> ] ## Executing postinstall script. Uncompressing files... Configuring VirtualBox guest kernel module... VirtualBox guest kernel module loaded. VirtualBox pointer integration module loaded. Creating links... As of X.Org Server 1.19, the VirtualBox graphics driver (vboxvideo) is part of Solaris. Please install it from the package repository if necessary. Configuring client... Installing 64-bit shared folders module... Installing 32-bit shared folders module... Configuring services (this might take a while)... Enabling services... Updating boot archive... Done. Please re-login to activate the X11 guest additions. If you have just un-installed the previous guest additions a REBOOT is required. Installation of <SUNWvboxguest> was successful.