/usr/local/lib/swipl/library/ext/clib/uid.pl
All Application Manual Name SummaryHelp

  • ext
    • clib
      • socket.pl -- Network socket (TCP and UDP) library
      • uid.pl -- User and group management on Unix systems
        • getuid/1
        • getgid/1
        • geteuid/1
        • getegid/1
        • getgroups/1
        • user_info/2
        • user_data/3
        • group_info/2
        • group_data/3
        • setuid/1
        • seteuid/1
        • setgid/1
        • setegid/1
        • initgroups/2
        • setgroups/1
        • set_user_and_group/1
        • set_user_and_group/2
      • unix.pl -- Unix specific operations
      • syslog.pl -- Unix syslog interface
      • memfile.pl
      • time.pl -- Time and alarm library
      • uri.pl -- Process URIs
      • filesex.pl -- Extended operations on files
      • uuid.pl -- Universally Unique Identifier (UUID) Library
      • sha.pl -- SHA secure hashes
      • process.pl -- Create processes and redirect I/O
      • hash_stream.pl -- Maintain a hash on a stream
      • md5.pl -- MD5 hashes
      • mallocinfo.pl -- Memory allocation details
      • rlimit.pl
 set_user_and_group(+User) is det
 set_user_and_group(+User, +Group) is det
Set the UID and GID to the User. User is either a UID or a user name. If Group is not specified, the primary group of User is used. If initgroups/2 is available, the resulting group access list of the calling process consists of the registered groups for User and the specified Group.