Pages

Tuesday, July 16, 2013

Adding to the System Directory

I find that having my user profile in the IBM i (AS400) system directory is useful so that I can perform the following:

  • Send network files.
  • Use the QDLS file system on the IBM i (AS400)

I will not discuss either of them in this post as each deserves a post in their own right.

To add user profiles to the System Directory you need to have Security Administrator (*SECADM). To see whether you have that level of security use the Display User Profile (DSPUSRPRF) command. On a command line type: DSPUSRPRF your-user-profile and press Enter.

On the second screen is the ‘Special authority’ section, this lists the types of authority you have. This user has *SECADM authority.

                          Display User Profile - Basic

 User profile . . . . . . . . . . . . . . . :   SECUSR 
 User expiration interval . . . . . . . . . :   *NONE 
 User expiration action . . . . . . . . . . :   *NONE 
 Special authority  . . . . . . . . . . . . :   *ALLOBJ 
                                                *AUDIT 
                                                *IOSYSCFG 
                                                *JOBCTL 
                                                *SAVSYS 
                                                *SECADM
                                                *SERVICE 
                                                *SPLCTL 
 Group profile  . . . . . . . . . . . . . . :   QSECOFR

If your profile does not have *SECADM authority you will need to see your IBM i (AS400) System Administrator and have them add you to the System Directory.

First let’s check that my profile is in the System Directory. On a command line type: WRKDIRE and press Enter. If you are not enrolled then the ‘User not enrolled in system distribution directory’, CPF9006, will be displayed. On the other hand if you have been added it will display your entry.

                          Change Your Directory Entry 

 User ID/Address . . . . :   JSMITH    LIVE400 
 Description . . . . . . :   John Smith 

 Type changes, press Enter.

   Job title . . . . . . .                                           
   Company . . . . . . . .                                                      

   Telephone numbers . . .                              
                                                        

   FAX telephone number                                       

   Location  . . . . . . .                                           
                                                    F4 for list 


                                                                        More...

None of the available fields have to be filled in.

To add a user to the System Directory at a command line type:   ADDDIRE   and press the F4 key to prompt.

Just fill in the fields shown below with your information.

                          Add Directory Entry (ADDDIRE) 

 Type choices, press Enter. 

 User identifier: 
   User ID  . . . . . . . . . . . > MJOHAN        Character value 
   Address  . . . . . . . . . . . > LIVE400       Character value 
 User description . . . . . . . . > Mary Johan                                 
       
 User profile . . . . . . . . . .               Name, *NONE 
 System name: 
   System name  . . . . . . . . .   *LCL          Character value, *LCL, *PC... 
   System group . . . . . . . . .                 Character value 
 Network user ID  . . . . . . . .   *USRID                                      
      
 Last name  . . . . . . . . . . .   *NONE                                       
       
 First name . . . . . . . . . . .   *NONE                     
 Middle name  . . . . . . . . . .   *NONE                     
 Preferred name . . . . . . . . .   *NONE                     
                                                                        More...

Press Enter to add to the System Directory.

 

This article was written for IBM i 7.1, and it should work with earlier releases too.

1 comment:

To prevent "comment spam" all comments are moderated.
Learn about this website's comments policy here.

Some people have reported that they cannot post a comment using certain computers and browsers. If this is you feel free to use the Contact Form to send me the comment and I will post it for you, please include the title of the post so I know which one to post the comment to.