• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Admin Alert: Fine Tuning User Access with Application Administration

    July 8, 2009 Joe Hertvik

    Being a robust system developed over several decades, i5/OS has several valuable features that you may not be aware of. For example, the Application Administration function allows you to provide and deny access to many sensitive system functions. This week, I’ll look at Application Administration and demonstrate how it can help you obtain better control over what your users can and cannot do on the system.

    What is Application Administration?

    Application Administration is an optional plug-in for iSeries Navigator (OpsNav). It allows you to view and customize the following client- and server-based applications and functions associated with i5/OS processing:

    • iSeries Navigator–Allows you to restrict and create customized access lists for most functions found in the OpsNav tree, including Work Management, Configuration and Service, Network functions, Security, Databases, and File Systems.
    • iSeries Access for Windows–Provides better control over who can access specific iSeries Access functions, including the 5250 Display and Printer Emulator; Data Transfer functions (including uploads and downloads to the server); ODBC support and the OLE DB provider; Remote command and command line support within Windows; and the .NET Data Provider.
    • Host Applications–Controls user access to applications that reside entirely on the server and for accessing specific functions within server applications. Functions that can be controlled through these access lists include Backup Recovery and Media Services (BRMS) authorities; Digital Certificate Manager (DCM); i5/OS functions; individual FTP function access; and EJB access.

    Once you understand what Application Administration does, you can use it to solve a number of simple but valuable access issues within your shop.

    Discovering Application Administration

    In i5/OS V5R4 and below, you can access Application Administration from within iSeries Navigator by right-clicking on the system you want to set controls for and selecting Application Administration from the pop-up menu that appears. This will bring up the following Application Administration panel.

    This panel has three tabs for setting control settings for the iSeries Navigator, iSeries Access for Windows, and Client Access functions and applications described above. You can configure the following access settings for any function listed under each of the Application Administration tabs.

    • Default Access–Determines whether the user can access a function if they are not explicitly authorized to that function or their user profile does not possess all object authority (*ALLOBJ).
    • All object access–Also called Users with all object system privilege. When All object access is checked for a function, it tells i5/OS that any user who possesses all object authority (*ALLOBJ) can access that function. According to IBM, if you uncheck all object access for a selection, *ALLOBJ users will not be allowed to access that function. This setting overrides any other user or group access settings for a function.
    • Customize–When you highlight and press the Customize button, it brings up the Customize Access screen shown in the next section. On this screen, you can allow or deny access to a target function by user or user group, assuming that the Default access check box is turned off. You can use the Customize Access screen to tighten access to specific features so that some users are allowed to access the function and others are denied access.

    Now that I’ve explained the basics of how Application Administration works, let’s look at a quick example to demonstrate how it can be used in everyday system administration.

    Opening Up Job Logs

    In my shop, a job that was running under an *ALLOBJ user profile was malfunctioning. One of our programmers was assigned to debug the issue but i5/OS wouldn’t let her view the job log of any user possessing *ALLOBJ authority. Aside from giving her *ALLOBJ authority or providing her with access to the *ALLOBJ user profile (which would also give her *ALLOBJ authority), we were looking for a solution to enable her to view the job logs for all user profiles.

    To solve the problem, we went into Application Administration and opened the Host Applications tab. We then opened the i5/OS→All Object→ path under Host Applications and found an entry called Access job log of *ALLOBJ job. We clicked on the Customize button on the screen and OpsNav showed us the following Customize Access screen.

    This screen controls what access rights users have to look at the job logs of any user that has *ALLOBJ authority. In this case, the Default Access radio button was turned off, which meant that in our system, users without *ALLOBJ authority would not be able to view the job logs of users with *ALLOBJ authority.

    To remedy this, we noted that the programmer belonged to a group user profile called PGMRS. We also determined that there was a need for any of the programming staff to be able to look at anyone’s job log in order to debug system issues. So we decided to give the PGMRS group access to view *ALLOBJ user job logs. We did this by opening the Groups node in the Users and groups area of the Customize Access screen. We then added the PGMRS group to the Access Allowed area for this function by clicking on the Add button. The screen looked like this.

    We clicked on OK and the system started allowing any user in the PGMRS group to access job logs for jobs running under an *ALLOBJ user profile. Making this one simple change allowed us to open up job log viewing authority without providing our programmers with *ALLOBJ authority.

    Other Valuable Application Administration Functions

    I hope this shows you how easy it is to use Application Administration to provide functional access without granting excessive user authority to your profiles. In addition to using it to provide access to job logs for debugging purposes, you may also want to check these common problem areas where you may need to grant or deny access to critical i5/OS functions.

    Under the iSeries Navigator tab of Application Administration:

    • File Systems–Default access allows all users to surf your partition’s AS/400 Integrated File System (AS/400 IFS) in OpsNav.
    • Network–Default access allows users to open OpsNav sub-nodes containing the partition’s TCP/IP configuration, servers, and IP policies.
    • Configuration and Service–Default access allows users to view and possibly change System Values, hardware and software settings, and history logs.

    Under the iSeries Access for Windows tab of Applications Administration:

    • Data Transfer–Default access allows all users to run iSeries Access data transfer functions to and from servers.
    • ODBC Support, OLE DB Provider, and .NET Data provider–The defaults for these functions allow users to use these features to access data when connecting to an i5/OS partition.
    • Remote command/Command line–This default setting provides support for running commands on an i5/OS server from a Windows command line.

    Under the Host Applications tab of Application Administration:

    • TCP/IP Utilities for iSeries (File Transfer Protocol)–The default settings allow you to limit access to standard FTP functions, including initiating sessions, sending files, receiving files, deleting files on an i5/OS partition, and deleting directories and libraries.
    • i5/OS (All object access)–The default settings limit access to viewing job logs, tracing jobs, and viewing any jobs that are submitted by *ALLOBJ users.
    • Backup Recovery and Media Services for iSeries–Limits or approves access to several critical BRMS functions, including backup and recovery functions.

    Using Host Application Administration on the Green Screen

    Besides customizing client- and server-based functions and applications in OpsNav, you can also access and change server-based access lists on the green-screen. To change, display, and work with Application Administration settings inside a PC5250 session, use the following i5/OS green-screen commands.

    Display Function Usage (DSPFCNUSG)–Shows a list of the function identifiers that are available on your partition. It can also be used to show detailed information about each identifier.

    Work with Function Usage (WRKFCNUSG)–Allows you to display and change access lists associated with a function identifier.

    Change Function Usage (CHGFCNUSG)–A green-screen command for changing access for registered functions, similar to how you change function access through OpsNav’s Customize Access screen. Note that to use this command, you have to know the Function ID of the function that you want to control access for. A complete list of function ID names can be retrieved by using the DSPFCNUSG command.

    About Our Testing Environment

    This article was tested on a System i 550 partition running i5/OS V5R4. We tested the OpsNav features by using the iSeries Navigator program that came with iSeries Access for Windows V5R4M0. Information presented here may also work with earlier versions of the i5/OS and OS/400 operating systems and with pre-V5R4M0 versions of iSeries Navigator. However, earlier versions may have slightly different features due to improvements that were made from release to release.



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Maxava

    Disaster Recovery Strategy Guide for IBM i

    Practical tools to implement disaster recovery in your IBM i environment. Fully optimized to include cloud recovery, replication and monitoring options.

    Download NOW!

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    ARCAD Software:  FREE Webinar, July 15, Efficient and Secure Critical Data Change Management
    10ZiG Technology:  BOSaNOVA, Inc. is now 10ZiG Technology
    COMMON:  Celebrate our 50th anniversary at annual conference, May 2 - 6, 2010, in Orlando

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    Chip Wars: List Price, $29.95

    LANSA White Paper Tackles Supply Chain Synchronization IBM Touts Power Systems Prowess on SAP Tests

    Leave a Reply Cancel reply

Volume 9, Number 22 -- July 8, 2009
THIS ISSUE SPONSORED BY:

ProData Computer Services
Help/Systems
WorksRight Software

Table of Contents

  • Microsoft Virtualization for the i Guys, Revisited
  • Subqueries vs. Joins
  • Admin Alert: Fine Tuning User Access with Application Administration

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18
  • Will The Turbulent Economy Downdraft IBM Systems Or Lift It?
  • How IBM Improved The Database With IBM i 7.6
  • Rocket Celebrates 35th Anniversary As Private Equity Owner Ponders Sale
  • 50 Acres And A Humanoid Robot With An AI Avatar
  • IBM i PTF Guide, Volume 27, Number 17

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle