admin(5) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

admin(5)

admin(5)                         File Formats                         admin(5)

NAME
       admin - SVR4 package installation defaults file

DESCRIPTION
       admin  is a generic name for an ASCII file that defines default instal‐
       lation actions for SVR4 packages by assigning  values  to  installation
       parameters. For example, it allows administrators to define how to pro‐
       ceed when the package being installed already exists on the system.


       /var/sadm/install/admin/default  is  the  default  admin file delivered
       with this release. The default file is not writable, so to assign  val‐
       ues  different  from  this  file, create a new admin file. There are no
       naming restrictions for admin files. Name the file  when  installing  a
       package  with the -a option of pkgadd(8). If the -a option is not used,
       the default admin file is used.


       Each entry in the admin file is a line that establishes the value of  a
       parameter in the following form:


       param=value


       All of the parameters listed below can be defined in an admin file, but
       it  is not required to assign values to all of these. If a value is not
       assigned, pkgadd(8) asks the installer how to proceed.


       The valid parameters and their possible values are shown  below  except
       as  noted.  They can be specified in any order. Any of these parameters
       (except the mail and proxy parameters) can be assigned the  value  ask,
       which means that, when the parameter is reached during the installation
       sequence,  the  installer  is notified and asked to supply instructions
       (see NOTES).

       basedir

           Indicates the base directory where relocatable packages are  to  be
           installed.  If there is no basedir entry in the file, the installer
           will be prompted for a path name, as if the file contained the  en‐
           try  basedir=ask.  This parameter can also be set to default (entry
           is basedir=default). In this instance,  the  package  is  installed
           into  the  base directory specified by the BASEDIR parameter in the
           pkginfo(5) file.


       mail

           Defines a list of users to whom mail should be sent  following  in‐
           stallation  of a package. If the list is empty, no mail is sent. If
           the parameter is not present in the admin file, the  default  value
           of root is used. The ask value cannot be used with this parameter.


       runlevel

           Indicates  resolution  if  the run level is not correct for the in‐
           stallation or removal of a package. Options are:

           nocheck

               Do not check for run level.


           quit

               Abort installation if run level is not met.



       conflict

           Specifies what to do if an installation expects to overwrite a pre‐
           viously installed file, thus creating a conflict between  packages.
           Options are:

           nocheck

               Do  not check for conflict; files in conflict will be overwrit‐
               ten.


           quit

               Abort installation if conflict is detected.


           nochange

               Override installation of conflicting files; they  will  not  be
               installed.



       setuid

           Checks  for  executables  which will have setuid or setgid bits en‐
           abled after installation. Options are:

           nocheck

               Do not check for setuid executables.


           quit

               Abort installation if setuid processes are detected.


           nochange

               Override installation of setuid processes;  processes  will  be
               installed without setuid bits enabled.



       action

           Determines if action scripts provided by package developers contain
           possible security impact. Options are:

           nocheck

               Ignore security impact of action scripts.


           quit

               Abort  installation if action scripts may have a negative secu‐
               rity impact.



       partial

           Checks to see if a version of the package is already partially  in‐
           stalled on the system. Options are:

           nocheck

               Do not check for a partially installed package.


           quit

               Abort installation if a partially installed package exists.



       instance

           Determines  how to handle installation if a previous version of the
           package (including a partially installed instance) already  exists.
           Options are:

           quit

               Exit  without  installing if an instance of the package already
               exists (does not overwrite existing packages).


           overwrite

               Overwrite an existing package if only one instance  exists.  If
               there  is more than one instance, but only one has the same ar‐
               chitecture, it overwrites that  instance.  Otherwise,  the  in‐
               staller  is prompted with existing instances and asked which to
               overwrite.


           unique

               Do not overwrite an existing instance of a package. Instead,  a
               new  instance  of the package is created. The new instance will
               be assigned the next available instance identifier.



       idepend

           Controls resolution if the package to be installed depends on other
           packages and if other packages depend on the one to  be  installed.
           Options are:

           nocheck

               Do not check package dependencies.


           quit

               Abort installation if package dependencies are not met.



       rdepend

           Controls  resolution  if other packages depend on the package to be
           removed. Also determines behavior if registered products components
           to be removed. Options are:

           nocheck

               Do not check package or product dependencies.


           quit

               Abort removal if package or product dependencies are not met.



       space

           Controls resolution if disk space requirements for package are  not
           met. Options are:

           nocheck

               Do  not check space requirements (installation fails if it runs
               out of space).


           quit

               Abort installation if space requirements are not met.



       rscriptalt=root | noaccess

           Determines the user that will run request scripts.  This  parameter
           can  have  either  of the values described below. See pkgadd(8) for
           details on the conditions under which this parameter is useful.


           root

               Run request script as user install, if such a user exists, with
               the privileges of that user.  Otherwise,  run  script  as  user
               root,  with  UID  equal to 0 and with all/zone privileges. (See
               zones(7).)


           noaccess

               Run request script as user install, if such a user exists, with
               the privileges of that user.  Otherwise,  run  script  as  user
               noaccess,  with  the  basic privileges of the unprivileged user
               noaccess.

           If this parameter is not present or has  a  null  value,  the  user
           noaccess is assumed. Likewise, if this parameter is set to anything
           other  than  the  values  described  here, a warning is issued, and
           noaccess is assumed. rscriptalt is not present in the default admin
           file,  /var/sadm/install/admin/default.  In  this   case,   request
           scripts are run as the user noaccess.


EXAMPLES
       Example 1 Default admin File



       The  default  admin file, named default, is shipped with user-, group-,
       and world-read privileges (444). Its contents are as follows:


         mail=
         instance=unique
         partial=ask
         runlevel=ask
         idepend=ask
         rdepend=ask
         space=ask
         setuid=ask
         conflict=ask
         action=ask
         basedir=default


       Example 2 Sample admin file.



       Below is a sample admin file.


         basedir=default
         runlevel=quit
         conflict=quit
         setuid=quit
         action=quit
         partial=quit
         instance=unique
         idepend=quit
         rdepend=quit
         space=quit


FILES
       The default admin file is consulted during package installation when no
       other admin file is specified.

       /var/sadm/install/admin/default

           default admin file


USAGE
       The admin file is used when installing legacy SVR4 packages created for
       older Solaris releases. Packages designed for Solaris 11 and later  re‐
       leases  use  the IPS package system instead, and are installed and man‐
       aged using the pkg(1) command. There is no equivalent to admin files in
       IPS.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitypackage/svr4 _ Interface StabilityCommitted


SEE ALSO
       pkginfo(5), attributes(7), zones(7), pkgadd(8)

NOTES
       The  value ask should not be defined in an admin file that will be used
       for non-interactive installation (because, by definition, there  is  no
       installer  interaction).  Doing  so  causes installation to fail at the
       point when input is needed.

HISTORY
       Support for package signatures, and  for  installation  from  http:  or
       https:  URIs,  including  the authentication, keystore, networkretries,
       networktimeout, and proxy parameters, was added in Solaris 9 12/03 (Up‐
       date 5) and removed in Oracle Solaris 11.4.60.


       Support for the rscriptalt parameter was added in Solaris 10 3/05.


       Support for admin files, including the parameters action, basedir, con‐
       flict, idepend, instance, mail, partial, rdepend, runlevel, setuid, and
       space, was added in Solaris 2.0.

Oracle Solaris 11.4               3 Jan 2025                          admin(5)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3