• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Understanding the sysconfig utility in Solaris 11

by admin

The sysconfig utility is used in Oracle Solaris 11 to unconfigure and reconfigure an existing Oracle Solaris 11 system or its subsystem. The subsystems of a system that is configurable are referred to as “functional groupings”. A functional grouping is a service or collection of services that are configured or unconfigured when the utility is executed.

The sysconfig utility replaces the sysunconfig and sysidtool utilities. The sysconfig utility launches the System Configuration tool. You use the System Configuration tool to interactively unconfigure and configure the OS image.

You can perform the following three operations by using the sysconfig utility:

  • Unconfiguration of the system: Brings the OS image to a pristine (unconfigured) state
  • Configuration of the system: Enables you to reconfigure the OS image. It helps you to change the hostname, IP address, name service, time zone, initial user account, and root password.
  • System configuration profile creation: Helps you to create a system configuration profile. The system configuration profile is an XML-based file that contains the hostname, IP address, name service, time zone, initial user account, and root password configuration properties. The system configuration profile can be used with the sysconfig configure command or with Automatic Installation (AI) to configure an OS image.

Apart from using sysconfig to perform system configurations, you can also reconfigure and unconfigure individual functional groups. The functional groupings that can be configured on a system are date_time, network, naming_services, location, users, identity, support, and keyboard. The system grouping will configure or unconfigure all functional groupings. Groupings can also be unconfigured and left in an unconfigured state.

The following command reconfigures the network and naming services functional groupings. The SCI Tool is invoked and the groupings will be reconfigured interactively.

# sysconfig configure -g network,naming_services

The following sequence of commands creates a profile for the network and naming services, and then use the profile to reconfigure the groupings non-interactively:

# sysconfig create-profile -g network,naming_services -o
/var/tmp/sysconfig_dir/
# sysconfig configure -g network,naming_services -c
/var/tmp/sysconfig_dir/sc_profile.xml

Filed Under: Solaris, Solaris 11

Some more articles you might also be interested in …

  1. Beginners guide to Oracle Solaris Live Upgrade
  2. Solaris : How to scan new storage LUNs (scsi/iscsi/fc/sas)
  3. How to Check Solaris Release and Default Kernel Version
  4. How to Identify ZFS Snapshot Differences using “zfs diff”
  5. How to create an OBP boot device alias in Solaris [SPARC]
  6. Active FTP vs. Passive FTP
  7. Beginners Guide to Configuring network virtualization features in Solaris 11
  8. How to prevent non-root user from creating crontab entry
  9. Solaris 11 IPS hand-on LAB – Boot environments
  10. How to send mails with attachments using the solaris mailx command

You May Also Like

Primary Sidebar

Recent Posts

  • pw-cat Command Examples in Linux
  • pvs: command not found
  • pulseaudio: command not found
  • pulseaudio Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright