The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

openpam_borrow_cred (3)
  • >> openpam_borrow_cred (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    openpam_borrow_cred
    
     - temporarily borrow user credentials
    
     
    

    LIBRARY

    Lb libpam
    
     
    

    SYNOPSIS

       #include <sys/types.h>
       #include <security/pam_appl.h>
       #include <security/openpam.h>
    int openpam_borrow_cred (pam_handle_t *pamh const struct passwd *pwd);
     

    DESCRIPTION

    The function saves the current credentials and switches to those of the user specified by its Fa pwd argument. The affected credentials are the effective UID, the effective GID, and the group access list. The original credentials can be restored using openpam_restore_cred3.

     

    RETURN VALUES

    The function returns one of the following values:

    Bq Er PAM_BUF_ERR
    Memory buffer error.
    Bq Er PAM_PERM_DENIED
    Permission denied.
    Bq Er PAM_SYSTEM_ERR
    System error.

     

    SEE ALSO

    setegid(2), seteuid(2), setgroups(2), openpam_restore_cred3, pam(3), pam_strerror3  

    STANDARDS

    The function is an OpenPAM extension.  

    AUTHORS

    The function and this manual page were developed for the Fx Project by ThinkSec AS and Network Associates Laboratories, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS'' ) as part of the DARPA CHATS research program.


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    STANDARDS
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру