How to reset F1 user "IFS" Password

  • 13 February 2020
  • 16 replies
  • 2393 views

Userlevel 2
Badge +8

Hi All,

 

How to reset F1 user "IFS" Password. Share procedure, if screen shot highly appreciated.

 

Please advise.

 

Reagrds,

Vivek NR.


16 replies

Userlevel 5
Badge +11

Hi @VivekNR 

Go to Oracle User Management screen

Search for the user / Find the user

RMB → Change Password

 

Then you will be asked to enter the new password.

Hope this will help you!

Userlevel 5
Badge +11

hi @VivekNR ,

I hope my previous explanation won’t help you since I misunderstood your question. You want to change the password of the user ‘IFS’.

I hope you can achieve this by executing the “change_mws_password.cmd” script which is located inside the “<IFS_HOME>/instance/<instance_name>/bin” folder

Userlevel 2
Badge +8

Hi @Binura Dodangoda,

 

YES, IFS user’s password reset procedure required.. :-(

 

Regards,

Vivek NR.

Userlevel 2
Badge +8

HI @Binura Dodangoda,

 

If we forget IFS Password, then how to reset the password.?

 

Regards,

Vivek NR.

Userlevel 2
Badge +5

HI @Binura Dodangoda,

 

If we forget IFS Password, then how to reset the password.?

 

Regards,

Vivek NR.

HI @VivekNR ,

If you forget the password, ask another user who has administrator access to change your password(Previous password not needed) in Oracle User Management window as @Binura Dodangoda  mentioned above.

Thank you

Userlevel 5
Badge +11

HI @VivekNR ,

If you forget the password, ask another user who has administrator access to change your password(Previous password not needed) in Oracle User Management window as @Binura Dodangoda  mentioned above.

Thank you

Hi @lahiru.usj,

My previous explanation referring to the Oracle User Management screen is incorrect since @VivekNR is asking the way to change the password of the user ‘ifs’. User ‘ifs’ is not an F1 user and therefore it is not available in the Oracle users screen.

Userlevel 7

I believe you’d have to do it through the database

ALTER USER user_name IDENTIFIED BY new_password;
Userlevel 5
Badge +10

Hi 

When I create a new test instance I would tend to change this password in the IFS Applications Installer, with the reconfigure option. Although I expect @Binura Dodangoda guidance on using the .cmd file is a better option. Demonstrates how important it is to keep the Application instance folder structure locked down.

 

Userlevel 5
Badge +11

I believe you’d have to do it through the database

 ALTER USER user_name IDENTIFIED BY new_password;

HI @anmise 

User ‘ifs’ is not an oracle user; hence we can’t change the password using the approach that you have mentioned.

Userlevel 5
Badge +11

Hi @VivekNR ,

By using the "change_mws_password.cmd" script, you can change the password of the user 'ifs'.
However, you have to enter the current password. Therefore, you can't use this script when you do not remember the password.
As far as I know, in such a case, it is recommended to recreate a new IFS HOME instance using the build home.
Note that, user 'ifs' is not an F1 user and it is the web logic admin user.
Hope this will help you.

Best Regards,
Binura.

Userlevel 6
Badge +18

Hi, You can reset the IFS Middleware user password using the change_mws_password.cmd script under C:\ifs\<instance_name>\instance\<instance_name>\bin.

 

This script requires you to input your current IFS user password. If you aren’t sure, it is recommended to Delete and Create New the IFS instance using installer.cmd.

 

Good luck!

Userlevel 7
Badge +18

Here's how to recover the WebLogic user passwords in Apps 9. I haven't tested this in Apps 10.

First, get the middleware configuration file:
%IFS_HOME%\instance\%INSTANCE%\%INSTANCE%_configuration.xml

If you need the password for the ifs user, get the value in this key:
<ifs.fndmws.admin.password.encrypted>

If you need the password for the ifsmon user, get the value in this key:
<ifs.fndmws.monitoring.password.encrypted>

At a minimum, you'll need four files from the IFS application. These may have been supplied with your initial upgrade or implementation delivery:
.\build\framework\classes\installer_plugins\fndweb\ifs\fnd\service\IfsEncryption.class

.\build\framework\classes\installer_plugins\fndweb\ifs\fnd\service\IfsEncryption$EncryptionException.class

.\build\framework\classes\installer_plugins\fndweb\ifs\fnd\util\Base64.class

.\build\framework\classes\installer_plugins\fndweb\ifs\fnd\util\EndOfStreamException.class

The easiest way to get this working is to work straight out of that FNDWEB folder. (That takes care of dependencies without having to recreate their folder structure.) Assuming your delivery is extracted to the same server as your application, you can harness the Java executable you already have.

You'll need to create two new files.

1. Create new file: .\build\framework\classes\installer_plugins\fndweb\MyDecrypt.java

import ifs.fnd.service.IfsEncryption;

public class MyDecrypt {

public static void main(String[] args)

throws Exception

{

System.out.println(IfsEncryption.decrypt(args[0]));

}

}

2. Create new file: .\build\framework\classes\installer_plugins\fndweb\MyDecrypt.bat

@echo off

setlocal enabledelayedexpansion

set ENCRYPTED=CgQItFLEmLiSxbfO08pKOKEUoJRpniqiGW4nKdevcRZQfBc=

set CLASSPATH=.

set "IFS_HOME=D:\IFS_DEV1"

set "JAVA_HOME=%IFS_HOME%\mw_home\java"

set "PATH=%JAVA_HOME%\bin\;%PATH%"

javac MyDecrypt.java

java MyDecrypt %ENCRYPTED%

pause

You'll need to edit that file, changing ENCRYPTED and IFS_HOME as appropriate.

Run MyDecrypt.bat, and the password will echo to the terminal.

Userlevel 4
Badge +8

I don’t understand why changing IFSAPP password should be this complicated. We have simply been using the normal way of changing any user’s password through the application, which is using the Change password feature when logging into the system. Is this because you have forgotten the current IFSAPP password?

Userlevel 6
Badge +18

@TAPSUDJAY - The original question is related to resetting IFS Middleware user password not Oracle DB User account.

You are right, resetting Oracle user passwords like IFSAPP is straightforward and can be done through the application or running a SQL Alter User command. 

Userlevel 1
Badge +7

Here's how to recover the WebLogic user passwords in Apps 9. I haven't tested this in Apps 10.

First, get the middleware configuration file:
%IFS_HOME%\instance\%INSTANCE%\%INSTANCE%_configuration.xml

If you need the password for the ifs user, get the value in this key:
<ifs.fndmws.admin.password.encrypted>

If you need the password for the ifsmon user, get the value in this key:
<ifs.fndmws.monitoring.password.encrypted>

At a minimum, you'll need four files from the IFS application. These may have been supplied with your initial upgrade or implementation delivery:
.\build\framework\classes\installer_plugins\fndweb\ifs\fnd\service\IfsEncryption.class .\build\framework\classes\installer_plugins\fndweb\ifs\fnd\service\IfsEncryption$EncryptionException.class .\build\framework\classes\installer_plugins\fndweb\ifs\fnd\util\Base64.class .\build\framework\classes\installer_plugins\fndweb\ifs\fnd\util\EndOfStreamException.class

The easiest way to get this working is to work straight out of that FNDWEB folder. (That takes care of dependencies without having to recreate their folder structure.) Assuming your delivery is extracted to the same server as your application, you can harness the Java executable you already have.

You'll need to create two new files.

1. Create new file: .\build\framework\classes\installer_plugins\fndweb\MyDecrypt.java

import ifs.fnd.service.IfsEncryption; public class MyDecrypt { public static void main(String[] args) throws Exception { System.out.println(IfsEncryption.decrypt(args[0])); } }

2. Create new file: .\build\framework\classes\installer_plugins\fndweb\MyDecrypt.bat

@echo off setlocal enabledelayedexpansion set ENCRYPTED=CgQItFLEmLiSxbfO08pKOKEUoJRpniqiGW4nKdevcRZQfBc= set CLASSPATH=. set "IFS_HOME=D:\IFS_DEV1" set "JAVA_HOME=%IFS_HOME%\mw_home\java" set "PATH=%JAVA_HOME%\bin\;%PATH%" javac MyDecrypt.java java MyDecrypt %ENCRYPTED% pause

You'll need to edit that file, changing ENCRYPTED and IFS_HOME as appropriate.

Run MyDecrypt.bat, and the password will echo to the terminal.

 

Hi

How to do the same in Apps 10?

in Apps 10 there is no fndweb folder in \build\framework\classes\installer_plugins\

Please tell me how to do the same process in Apps 10. 

Thank You.

Badge +1

You can find this classes in fndweb_installer.jar, but You should use file from APP9 version.
Just unzip jar.
I tested this solution and it works.

Reply