LinuxGuruz
  • Last 5 Forum Topics
    Replies
    Views
    Last post


The Web Only This Site
  • BOOKMARK

  • ADD TO FAVORITES

  • REFERENCES


  • MARC

    Mailing list ARChives
    - Search by -
     Subjects
     Authors
     Bodies





    FOLDOC

    Computing Dictionary




  • Text Link Ads






  • LINUX man pages
  • Linux Man Page Viewer


    The following form allows you to view linux man pages.

    Command:

    getseuserbyname

    
    
    
    

    SYNOPSIS

           #include <selinux/selinux.h>
    
           int getseuserbyname(const char  *linuxuser,  char  **selinuxuser,  char
           **level);
    
    
    

    DESCRIPTION

           getseuserbyname retrieves the SELinux username and security level asso-
           ciated with a given Linux username.  The SELinux username and  security
           level  can  then  be  passed  to  other  libselinux  functions  such as
           get_ordered_context_list_with_level and get_default_context_with_level.
    
           The  returned  SELinux username and level should be freed by the caller
           using free.
    
    
    

    RETURN VALUE

           On success, 0 is returned.  On failure, -1 is returned and errno is set
           appropriately.
    
           The  errors  documented for the stat(2) system call are also applicable
           here.
    
    
    

    SEE ALSO

           selinux(8)
    
    
    

    dwalsh@redhat.com 29 September 2005 getseuserbyname(3)

    
    
  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free

webmaster@linuxguruz.com
Copyright © 1999 - 2016 by LinuxGuruz