IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > pfexec man page

pfexec man page

Section 1 - 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!





User Commands                                           pfexec(1)



NAME
     pfexec, pfsh, pfcsh, pfksh - execute a command in a profile

SYNOPSIS
     /usr/bin/pfexec  command

     /usr/bin/pfexec -P privspec  command [ arg ...]

     /usr/bin/pfsh [ options ] [ argument ...]

     /usr/bin/pfcsh [ options ] [ argument ...]

     /usr/bin/pfksh [ options ] [ argument ...]

DESCRIPTION
     The pfexec program is used  to  execute  commands  with  the
     attributes   specified   by   the  user's  profiles  in  the
     exec_attr(4) database. It is invoked by the profile  shells,
     pfsh, pfcsh, and pfksh which are linked to the Bourne shell,
     C shell, and Korn shell, respectively.

     Profiles are searched in the order specified in  the  user's
     entry  in  the  user_attr(4)  database.  If the same command
     appears in more than one profile, the profile shell uses the
     first matching entry.

     The second form, pfexec -P privspec, allows a user to obtain
     the  additional privileges awarded to the user's profiles in
     prof_attr(4). The privileges specification on  the  commands
     line  is  parsed  using  priv_str_to_set(3C).  The resulting
     privileges are intersected with the union of the  privileges
     specified  using the "privs" keyword in prof_attr(4) for all
     the user's profiles and added to the inheritable set  before
     executing the command.

USAGE
     pfexec is used to execute commands with  predefined  process
     attributes,  such as specific user or group IDs.

     Refer to the sh(1), csh(1), and ksh(1) man  pages  for  com-
     plete usage descriptions of the profile shells.

EXAMPLES
     Example 1: Obtaining additional user privileges

     example% pfexec -P all chown user file

     This command  runs  chown  user  file  with  all  privileges
     assigned   to   the   current   user,  not  necessarily  all
     privileges.





SunOS 5.10           Last change: 3 Mar 2003                    1






User Commands                                           pfexec(1)



EXIT STATUS
     The following exit values are returned:

     0        Successful completion.



     1        An error occurred.



ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|


SEE ALSO
     csh(1),   ksh(1),    profiles(1),    sh(1),    exec_attr(4),
     prof_attr(4), user_attr(4), attributes(5)






























SunOS 5.10           Last change: 3 Mar 2003                    2





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

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

Your favourite pages:

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

Top 10 most popular pages:

sqlite3 man page (4704 hits)
(openSUSE 10.2)

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

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

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

svn man page (3401 hits)
(FreeBSD 6.2)

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

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

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

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

ssh-socks5-proxy-connect man page (1655 hits)
(Solaris 10 11_06)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Ski Resorts :: SolidWorks 3D CAD :: <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