daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 209 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --
  2. -- /etc/passwd
  3. --  username : x : UID : GID : Comment : /path/to/home : /path/to/shell
  4. --  raise exception when >7 ':' tokens found as invaild line on line number.
  5.  
  6. package POSIX_User body is
  7.  
  8.    -- ..
  9.    procedure Add_User_Name (User_Name : POSIX.User_DB.User_Name_t,
  10.             Group_Name : POSIX.User_DB.Group_Name_t,
  11.             Comment : String,
  12.             Home_PATH : String,
  13.             Shell_PATH : String ) is
  14.    begin
  15.       null;
  16.    end Add_User_Name;
  17.  
  18.    procedure Remove_User_Name (User_Name : POSIX.User_DB.User_Name_t) is
  19.    begin
  20.       null;
  21.    end Remove_User_Name;
  22.  
  23.  
  24.    -- ..
  25.    procedure Set_User_ID (User_Name : POSIX.User_DB.User_Name_t, User_ID : POSIX.User_DB.User_ID_t) is
  26.    begin
  27.       null;
  28.    end Set_User_ID;
  29.  
  30.    procedure Set_Primary_Group (User_Name : POSIX.User_DB.User_Name_t, Group_ID : POSIX.User_DB.Group_ID_t) is
  31.    begin
  32.       null;
  33.    end Get_Group_Name;
  34.  
  35.  
  36.    -- ..
  37.    function Get_User_List return User_List_t
  38.    begin
  39.      null;
  40.    end Get_User_List;
  41.  
  42.    procedure Set_Password (User_Name : POSIX.User_DB.User_Name_t, Password : POSIX.User_DB.Password_t) is
  43.    begin
  44.       null;
  45.    end Set_Password;
  46.  
  47. end POSIX_User;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top