AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  oslevel command is not working in AIX 5.2

    Posted Thu March 11, 2010 01:33 AM

    Originally posted by: SystemAdmin


    Hi all,

    I am facing the problem in aix 5.2 given below. kindly help me to shot our this issues.

    olevel and su is not working in normal user.

    $ oslevel
    oslevel: Error processing cache, return code 228.
    oslevel: Use the -f flag to rebuild cache.

    3004-501 Cannot su to "root" : Authentication is denied.

    Note :- /etc changed to 777 permission
    #AIX-Forum


  • 2.  Re: oslevel command is not working in AIX 5.2

    Posted Thu March 11, 2010 06:50 PM

    Originally posted by: dukessd


    First, please consider AIX 5.2 is well past the End of Support date and you are asking a question about AIX 5.2 on an IBM website.

    Second, you do not report what ML / TL / SP of AIX 5.2 you are using.

    Third, you do not report what rights your "normal user" has.

    Forth, you do not report if your "normal user" account has SU enabled.

    Fifth, if you have chmod'ed /etc to 777 then you have probably broken your system and you should either restore your last good backup or reinstall the system because this was a very stupid thing to do.
    #AIX-Forum


  • 3.  Re: oslevel command is not working in AIX 5.2

    Posted Fri March 12, 2010 12:26 AM

    Originally posted by: SystemAdmin


    Hi dukessd,

    Thanks for your reply.

    1. We have all level of AIX os because we need to test our product will support on all level of aix servers.

    2. # instfix -i | grep ML
    All filesets for 5.2.0.0_AIX_ML
    All filesets for 5200-01_AIX_ML
    All filesets for 5200-02_AIX_ML
    All filesets for 5200-03_AIX_ML
    All filesets for 5200-04_AIX_ML
    All filesets for 5200-05_AIX_ML
    All filesets for 5200-06_AIX_ML
    All filesets for 5200-07_AIX_ML
    # oslevel -s
    5200-07-00
    3. All non root users are have normal staff group and user access.

    4. SU has been enabled for ALL to ALL

    5. I am only the admin to using the root. I know how critical to use /etc 777 execution. I has been changed automatically changed 4 days before i don't know whether it is virus. i also check in some forums (non IBM forums) some of the users were faced same error.

    Kindly help to solve the issue.

    Thanks In Advance.
    Hari
    #AIX-Forum