IBM Support

IV55835: FCSTAT -Z CAN BE RUN BY NON-PRIVILEGED USER APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • /usr/bin/fcstat is now a setuid program.
    This is required to view the statistics from the fcs
    adapter.
    You must be root to open the device.  However it has a
    side
    effect of allowing any user to reset the statistics for
    the
    adapter.  The reset function should check the uid of the
    id that called it.  If it isn't 0 then it should not do
    the
    reset.
    

Local fix

  • change the permissions of /usr/bin/fcstat with the
    following
    command
    chmod 700 /usr/bin/fcstat
    
    this will make fcstat runable by root only.
    

Problem summary

  • A non-priviledged user can run fcstat command with the "-z"
    flag successfully on an FC adapter device which resets the
    FC related statistics.
    

Problem conclusion

  • Proper authorization checking introduced so that only
    priviledged users who are allowed device management
    capabilities can run fcstat command with "-z" flag. The user
    "root" by default has this capability.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58415
    6100-08 - use AIX APAR IV53867
    6100-09 - use AIX APAR IV55767
    6100-09 - use AIX APAR IV55767
    6100-09 - use AIX APAR IV55767
    7100-01 - use AIX APAR IV57658
    7100-02 - use AIX APAR IV57176
    7100-03 - use AIX APAR IV55835
    7100-04 - use AIX APAR IV55824
    

APAR Information

  • APAR number

    IV55835

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-02-24

  • Closed date

    2014-02-24

  • Last modified date

    2016-05-10

  • APAR is sysrouted FROM one or more of the following:

    IV53867

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U858988

       UP14/05/22 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV55835

Modified date: 10 May 2016