IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 4 > prof_attr man page

prof_attr man page

Section 4 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





File Formats                                         prof_attr(4)



NAME
     prof_attr - profile description database

SYNOPSIS
     /etc/security/prof_attr

DESCRIPTION
     /etc/security/prof_attr is a local source for execution pro-
     file  names, descriptions, and other attributes of execution
     profiles. The prof_attr file can be used with other  profile
     sources,  including  the  prof_attr  NIS map and NIS+ table.
     Programs use the getprofattr(3SECDB) routines to gain access
     to this information.

     The search order for multiple prof_attr sources is specified
     in   the   /etc/nsswitch.conf  file,  as  described  in  the
     nsswitch.conf(4) man page.

     An execution profile is a mechanism used to bundle  together
     the commands and authorizations needed to perform a specific
     function. An execution profile can also contain other execu-
     tion profiles. Each entry in the prof_attr database consists
     of one line of text  containing  five  fields  separated  by
     colons (:). Line continuations using the backslash (\) char-
     acter are permitted. The format of each entry is:

          profname:res1:res2:desc:attr


     profname        The name of the profile. Profile  names  are
                     case-sensitive.



     res1            Reserved for future use.



     res2            Reserved for future use.



     desc            A  long  description.  This   field   should
                     explain  the purpose of the profile, includ-
                     ing what type of user would be interested in
                     using  it.  The  long  description should be
                     suitable for displaying in the help text  of
                     an application.







SunOS 5.10          Last change: 2 June 2005                    1






File Formats                                         prof_attr(4)



     attr            An optional list of semicolon-separated  (;)
                     key-value  pairs  that describe the security
                     attributes to apply to the object upon  exe-
                     cution.  Zero or more keys may be specified.
                     There are four valid keys:  help,  profiles,
                     auths, and privs.

                     help is assigned the name of a  file  ending
                     in .htm or .html.

                     auths specifies a  comma-separated  list  of
                     authorization  names chosen from those names
                     defined  in   the   auth_attr(4)   database.
                     Authorization  names  may be specified using
                     the asterisk (*) character  as  a  wildcard.
                     For  example,  solaris.printer.*  would mean
                     all of Sun's authorizations for printing.

                     profiles specifies a comma-separated list of
                     profile   names   chosen  from  those  names
                     defined in the prof_attr database.

                     privs specifies a  comma-separated  list  of
                     privileges  names  chosen  from  those names
                     defined in the priv_names(4) database.



EXAMPLES
     Example 1: Allowing execution of all commands

     The following entry allows the user to execute all commands:


     All:::Use this profile to give a :help=All.html


     Example 2: Consulting the local prof_attr file first

     With the following nsswitch.conf entry, the local  prof_attr
     file is consulted before the NIS+ table:


     prof_attr: files nisplus


FILES
     /etc/nsswitch.conf

     /etc/security/prof_attr





SunOS 5.10          Last change: 2 June 2005                    2






File Formats                                         prof_attr(4)



NOTES
     When  deciding  which  authorization  source  to  use   (see
     DESCRIPTION),  keep  in  mind  that  NIS+  provides stronger
     authentication than NIS.

     The root user is usually defined in local databases  because
     root needs to be able to log in and do system maintenance in
     single-user mode and at other times when  the  network  name
     service  databases  are  not  available. So that the profile
     definitions for root can be located at  such  times,  root's
     profiles  should be defined in the local prof_attr file, and
     the order shown in the example  nsswitch.conf(4) file  entry
     under EXAMPLES is highly recommended.

     Because the list of legal keys is likely to expand, any code
     that  parses this database must be written to ignore unknown
     key-value pairs without error. When  any  new  keywords  are
     created,  the names should be prefixed with a unique string,
     such as the company's stock symbol, to avoid potential  nam-
     ing conflicts.

     Each application has its own requirements  for  whether  the
     help  value  must  be  a  relative  pathname  ending  with a
     filename or the name of a file. The only  known  requirement
     is for the name of a file.

     The following characters are used in describing the database
     format and must be escaped with a backslash if used as data:
     colon (:), semicolon (;), equals (=), and backslash (\).

SEE ALSO
     auths(1),         profiles(1),          getauthattr(3SECDB),
     getprofattr(3SECDB),    getuserattr(3SECDB),   auth_attr(4),
     exec_attr(4), priv_names(4), user_attr(4)





















SunOS 5.10          Last change: 2 June 2005                    3





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:27:29 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

CPAN man page (4196 hits)
(Suse Linux 10.1)

ssh man page (4111 hits)
(Suse Linux 10.1)

svn man page (2354 hits)
(FreeBSD 6.2)

startproc man page (1695 hits)
(Suse Linux 10.1)

adv_cap_autoneg man page (1445 hits)
(Solaris 10 11_06)

signal man page (1357 hits)
(Suse Linux 10.1)

sqlite3 man page (1329 hits)
(openSUSE 10.2)

netcat man page (1188 hits)
(Suse Linux 10.1)

pprosetup man page (1177 hits)
(Solaris 10 11_06)

lwptut man page (1105 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Prices and Terms and Conditions :: Microprocessor Circuit Design :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum