• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

4 library(uid): User and group management on Unix systems
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog C-library
        • library(uid): 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
Availability::- use_module(library(uid)).(can be autoloaded)
Sourceuser_data(?Field, ?UserData, ?Value)
Value is the value for Field in UserData. Defined fields are:
name
Name of the user
password
Password hash of the user (or x if this is not accessible)
uid
Numeric user id of the user
gid
Numeric primary group id of the user
comment
The gecos field
home
Home directory of the user
shell
Default (login) shell of the user.
ClioPatria (version V3.1.1-51-ga0b30a5)