priv_init man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

PRIVMAN(7)			 Miscellaneous			    PRIVMAN(7)

NAME
       priv_init - initialize the Privman library

SYNOPSIS
       #include <privman.h>

       void priv_init(const char *appname);

DESCRIPTION
       priv_init()  initializes the Privman libraries.	appname is the name of
       the  application.   A  configuration  file  is	expected   at	${pre‐
       fix}/etc/privman.d/appname   which  describes  the  allowed  privileged
       requests from the application.  The appname is  also  used  for	syslog
       messages and the like.

       priv_init()  needs  to  be  invoked  with  raised privilege (super-user
       rights).

RETURN VALUE
       Upon successful return, the application resumes running as an  unprivi‐
       leged  user,  normally  "nobody'. Actually, the application has forked,
       and the child process has returned from priv_init().

       The process has changed directory into the  root	 of  the  chroot  jail
       specified  by  the configuration file.  See privman_conf(5) for further
       details.

FILES
       ${prefix}/etc/privman.d/appname
	      The configuration file that lists the granted privileges for the
	      application.  See privman_conf(5) for more information.

BUGS
       May  continue when it should exit.  Might exit when it should continue.
       Isn't very forgiving of errors.

AUTHOR
       Network Associates. Send email to <privman@nailabs.com>

SEE ALSO
       priv_bind(3) priv_daemon(3) priv_execve(3)  priv_fopen(3)  priv_fork(3)
       privman_conf(5) priv_open(3) priv_pam(3) priv_rerunas(3) privman(7)

Unix				SEPTEMBER 2002			    PRIVMAN(7)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net