Hide command line ebs password

Hi All,
is there a way to hide command line password for apps user.
when start or stop ebs apps from command line, i have to type
$adstrtal.sh apps/apps
is there a way to hide this password.
Thanks in advance.

Hi,
I do not think there is a direct way to do this. However, look at this document and see if it helps.
Note: 377858.1 - Use Encrypt To Prevent Apps Pwd Being Displayed In Log/Sql Script
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=377858.1
Another option would be calling "adstrtal.sh apps/<apps password>" from some other script.
Regards,
Hussein

Similar Messages

  • Acrobat reader command line switch - password

    Hello everybody,
    I am a developer for macromedia director applications.
    I need to open a password protected PDF-file from within a
    director-projector-application with any suitable
    xtra-extension (not the
    problem discussed here!).
    all I would need is the complete command line for acrobat
    reader to do
    this.
    A complete list of command line switches for Acrobat Reader
    would be helpful
    in respect to further needs.
    where can i get this.
    By the way, the solution for Windows and Mac OS would be
    welcome. Are they
    the same?
    Thanks
    Peter Grambitter

    Hello everybody,
    I am a developer for macromedia director applications.
    I need to open a password protected PDF-file from within a
    director-projector-application with any suitable
    xtra-extension (not the
    problem discussed here!).
    all I would need is the complete command line for acrobat
    reader to do
    this.
    A complete list of command line switches for Acrobat Reader
    would be helpful
    in respect to further needs.
    where can i get this.
    By the way, the solution for Windows and Mac OS would be
    welcome. Are they
    the same?
    Thanks
    Peter Grambitter

  • How to Hide username and password in command line using maxl

    Hi,
    How to encript my user name and password in command line prompt when I am login to Essbase server using batch file:
    *1_Here is my batch file:*
    Name of the bat file AV_Assig_Var1.bat
    rem This batch file defines the following variables:
    set $1 = 'admin';
    set $2 = 'password';
    essmsh AV_Asig1.mxl admin password
    ===========================
    *2_Here is my maxl file:*
    Name of the bat file AV_Asig1.mxl
    /* Create a process log */
    spool on to 'D:\lova\spool_log.txt';
    /* login (using variables from a batch file */
    login $1 $2 on 10.42.100.229;
    /* create application and database */
    create application AV_Asig1;
    create database AV_Asig1.AV_DB;
    /* End process log */
    spool off;
    exit;
    *3_Command line prompt*
    D:\Ess>AV_Assig_Var1.bat
    D:\Ess>rem This batch file defines the following variables:
    D:\Ess>rem 1: username
    D:\Ess>rem 2: password
    D:\Ess>essmsh AV_Asig1.mxl admin password
    Essbase MaxL Shell - Release 9.3.1 (ESB9.3.1.0.0A181)
    Copyright (c) 2000, 2007, Oracle and/or its affiliates.
    All rights reserved.
    MAXL> login admin password on *10.46.100.222*; /* I want to hide this information */
    OK/INFO - 1051034 - Logging in user [admin].
    OK/INFO - 1051035 - Last login on Monday, June 14, 2010 12:44:03 PM.
    OK/INFO - 1241001 - Logged in to Essbase.
    MAXL> create application AV_Asig1;
    OK/INFO - 1051061 - Application AV_Asig1 loaded - connection established.
    OK/INFO - 1054027 - Application [AV_Asig1] started with process id [6792].
    OK/INFO - 1056010 - Application AV_Asig1 created.
    MAXL> create database AV_Asig1.AV_DB;
    OK/INFO - 1054014 - Database AV_DB loaded.
    OK/INFO - 1056020 - Database AV_Asig1.AV_DB created.
    MaxL Shell completed
    D:\Ess>
    I am looking forward to inputs from anybody.
    Thanks & Regards,
    Deepthi.

    Beyond that thread, I gave a presentation at Kaleidoscope last year around MaxL that goes into quite a bit of depth re encryption and a whole bunch of other MaxL goodies.
    To download it, go to www.odtug.com, click on Tech Resources, Essbase/Hyperion, and use the search box for MaxL.
    There are two presentations, one by Tracy McMullen and the other by me. Tracy's is a good introduction to the various command groups; my presentation focused on a few areas in depth, one of which was encryption. The title is "Master Essbase with MaxL Automation".
    You will need to join ODTUG to download the presentation, but there is a junior membership that is free.
    Regards,
    Cameron Lackpour
    P.S. ODTUG Kaleidoscope 2010 is coming up in two weeks, starting on 27 June 2010 -- for those of you still on the fence, it is an awesome conference and I urge you all to come. The content this year will be fantastic.

  • Hide oracle password on Unix command line call?

    Does anyone know whether you can hide the password for a command line call to rwrun60 under Unix? For other Oracle products like sqlplus you can hide the password by supplying it using the redirection operator. i.e. sqlplus userid @script &lt;&lt;EOD and then put the password or password@sid on the next line and then EOD on the 3rd line to end the redirection. This virtually hides the password from anyone able to look at processes on the system. Can this also be done for rwrun60? If you just put the userid after userid= will reports prompt you for a password?

    Take a look at http://java.sun.com/features/2002/09/pword_mask.html.
    Hope this helps,

  • Hide password on command line

    Dear everybody,
    I would like to find a way to hide password on command line when user type password. There is a way that use another thread to output '\b*'. However, it has some bugs. And I can't use Console class which has a method to hide password. Because my JDK is 1.5 and I can't change it because of some reasons.
    Does anybody know a way to hide password on command line?
    Thanks very much!

    Because my JDK is 1.5 and I can't change it because of some reasons.Look how sweet Console is in 1.6:
    import java.io.Console;
    public class ConsoleExample {
        public static void main(String[] args) {
            Console console = System.console();
            char[] password = console.readPassword("Please enter password:");
            //don't do this: passwords shouldn't be stringified
            String s = new String(password);
            console.format("password =[%s]%n", s);
    }Find a way to install 1.6! We believe in you!

  • How to hide the command line arguments from solaris process

    Hi All,
    When I execute a JAR application from a java file using the Runtime.getRuntime, the command line arguments (user ID and Password details) which I passed for executing the application displayed on Solaris process (ps -ef).
    Could anybody please help me, how can I hide either the process or the command line arguments from the Solaris process?
    I cannot pass any asterix or any special character in place of password, because the executing application doesn't have any functionality to retreive the password which send as asterix characters.
    Please help me
    SumodeV

    Thanks for all the response.
    I have created a design and implement the functionality which executes the JAR application in Solaris environment without showing any details in the process details.
    I have used the Java Reflection method, which invokes the JAR application. I am sharing the details here for all those who looking for it.
    1, Inside the Customer application [Jar File is running for it], collect the necessary session details [Using System.get property method]
    2, Create an independent Java file, which should be used to invoke the JAR application
    3, Create the ProcessBuilder object and use a command - execute the Java file [a wrapper code] using normal Java command
    4, Pass the necessary session details to the ProcessBuilder using the environment() function.
    5. Collect the environment values in the independent Java file (Which was invoked by ProcessBuilder) and set details for its environment using System.setProperty.
    6, Use reflection technique to invoke the JAR plugin [which you want to run]. You can use the standard Java functionality to read the MANIFEST file of JAR and load the main class using URLClassLoader.
    7, Invoke the main method of the JAR file, which run the JAR application in Solaris window
    This solution will make sure that the process cannot display any session details in the Solaris Environment.
    Note: Use String[] array while create the command. Otherwise the JAR application cannot pop-up.
    Regards
    Sumode

  • How to login in command line by adding user/password in the same line

    is it possible in OSX to login in terminal by typing:
    +login username password+
    I tried many unix command and never find a command that can do that in one line, it always ask for the password in the second line.
    I need that to be used in Python application,
    or if there any possibility to write code in python to do that in OSX using python osx modules,
    while in windows it worked perfect by using win32API in Python.
    I hope Apple developers can help me with That
    Thanks

    This isn't possible because it would be a terrible security vulnerability--any process on the system can see a program's command line arguments. (Just type "perl -e 'sleep 5' & ps" in a terminal if you don't believe me.) If you want to log in like this, you'll have to open the "login" program in such a way that you can give it the password through its standard input.
    Also note, however, that "login" will not change the account your Python program is running as; it just starts a shell running as that account. If you want your program to run as a different user, you need to look into a set of commands and techniques called "setuid" or just "suid"; a Google search for "setuid python" should get you started. (I'm not a Python programmer, so I can't really tell you exactly how setuid works in Python.)

  • File format for username/password file for -vcusersfile command line option

    In what format do I specify username and password in a file that I can use for
    the -vcusersfile command line option?

    The text file should contain name/password pairs separated by an equal sign. Example:
    myname1=password1
    myname2=password2
    Hope that helps,
    Susan Doan

  • I want to set password security on a pdf from the command line

    I have a pdf file that is created and placed on a report server.  I would like to run a batch cmd to set the security for that pdf based on a saved security policy.  I will call the batch cmd file from a batch application.  Can Acrobat XI handle this operation or do I need a third party tool.  The pdf is created by BI Publisher (Peoplesoft).
    Thanks,
    Jay

    You need to invoke your cmd manually, don't you? So, instead of opening the Terminal application, enter the command and press "Enter" you open Acrobat and click a button. It's a different manual step to start the process, but you need a manual step to start the process anyway. I do realize that you may have a bash/perl/python script that does more than just apply encryption but that's the capability that Acrobat has.
    Regretfully, Acrobat JavaScript API does not provide functionality to encrypt with password. You can use JS to encrypt with certificates but [for unknown to me reason] not with passwords. Otherwise it could've written a JS script that encrypts, embed this JS in a separate PDF, open that PDF from a command line with your JS script executing on Open and have this LS script do all the work you need. Well, you can do that for certificate encryption but not for password encryption. I don't know why. And you cannot invoke an action from  a JS either. Oh, well...

  • How can hide the command line of a t.code in the portal

    Dear Experts.
    I have the following doubt:
    How can hide the Command Line of a Report that is called with a T.Code in the portal?
    Attach Image:
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line  using
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
    But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
    The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
    In this moment I have used the two options:
    1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
    RESULT:
    SAP Web Application Server
             500 Connection timed out
            Error: -5
           Version: 7000
           Component: ICM
           Date/Time: Sat Jun 12 20:26:39 2010 
           Module: icxxthr_mt.c
           Line: 2698
           Server: xyxab...
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    2)  created an Iview Transaction  in the portal and  call my transaction.
    RESULT.
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    But not can hide the field Command Line and other buttons.
    I think that the command :
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    Only can be used if I create a service using the T.Code SICF .
    Best Regards
    Carmen.

    Hi Carmen,
    The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
    You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
    ~okcode=/nSU01
    And you can pass parameters in the same way:
    ~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
    By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
    Regards, Rory

  • Command Line to change all the users passwords

    Hello there,
    I run Tiger Server. I want to change the password for 300 students from the command line to 1234 as a password for all the students. Is there any easy way to change all the password at once.
    Thanks,

    I changed it from WM. No terminal.

  • Password from command line

    I have some password protected pdf documents. I would like to specify the password on the command line when I open them in Adobe Reader. Is there a command line option for this? (If it makes a difference, I have Windows Reader v. 8.1.2. running on Vista.) Thank you in advance.

    This has been requested so often that I can only assume that Adobe
    aren't doing this for a strong reason: perhaps a security related one.
    Aandi Inston

  • Command line password parameter

    Hi,
    Is there a way to open an encrypted pdf file and give the password to Adobe Reader via the command line? I know this has been asked a couple of times before but all the answers I could find were at least three years old. If this cannot be done using the command line, are there any other options to call Adobe Reader while providing the password somehow?
    Thanks in advance

    any other way to programaticaly type in the password and clicking 'ok'?
    the idea is to restrict access to a pdf if certain conditions arent fulfilled.

  • Masking password on command line

    anyone know how to mask password from command line input
    before version 1.4 ?
    thx

    In his java section, there is a way here:
    http://www.rgagnon.com/bigindex.html

  • Rpass - Secure, simple, and pluggable command-line password management

    WARNING: this program requires a python version greater than or equal to 3.
    EDIT: Fixed a bunch of bugs that made this unusable, please update!
    EDIT: Added a default configuration file.
    Hi there!
    rpass is a command-line password manager that encrypts any and all credentials you would like to store using gpg's algorithms.
    Gnome and Mac OS both have a universal credential solution, but to my knowledge there is no such generic linux application. Gnome's keyring code is long and personally, I don't trust it as much as the simple system I have in place in rpass - it is transparent and easy to understand, and any possible security holes would be blatantly visible.
    rpass can be used directly from the commandline, typing your master password (gpg passphrase) in every time, but it really shines when gpg-agent and xclip are installed. gpg-agent saves your passphrase for an interval of time, so you only have to authenticate yourself occaisonally, and the powerful search capabilities of rpass (regex-enabled) allow simple and quick account selection.
    Furthermore, with xclip installed passwords NEVER have to be printed onscreen - the first matching entry's password is automatically copied to the clipboard if a search is done with rpass. You can even run rpass from applications like 'dmenu', and although there will be no visible output, if you enter a search term after rpass you will have the password you wanted copied to your clipboard.
    Finally, it can also be easily integrated in other applications -- I use it for my email (mutt) and any script I write that requires a password.
    AUR Link: http://aur.archlinux.org/packages.php?ID=44788
    More detailed documentation and explanation can be found at: https://github.com/rscare/rpass/blob/ma … E.asciidoc (scroll down)
    or with
    $ man rpass
    after installation.
    git repository: git://github.com/rscare/rpass.git
    Please comment on the software and the documentation. Thank you very much for taking the time to try my software.
    Last edited by RedScare (2010-12-27 07:04:44)

    I'm very interested in this. However... on the initial run, pressing enter causes a crash:
    $ rpass
    Need to first create gpg key pair.
    Choose a secure passphrase -- this is going to be your master password.
    Rerun program after key creation.
    WARNING: DO NOT pick a sign-only key type.
    Press [ENTER] when ready.
    Traceback (most recent call last):
    File "/usr/bin/rpass_py_interface", line 80, in <module>
    input("Press [ENTER] when ready.")
    File "<string>", line 0
    ^
    SyntaxError: unexpected EOF while parsing
    I got around this by entering junk and I made my key. After rerunning rpass with the key generated:
    $ rpass
    Traceback (most recent call last):
    File "/usr/bin/rpass_py_interface", line 84, in <module>
    if not(IsRunning(gpg-agent)):
    File "/usr/lib/python2.7/site-packages/rpass.py", line 24, in IsRunning
    plist = [re.match(ppatt, p.strip()).groups()[0] for p in str(proc.communicate()[0], encoding=utf-8).split(n)[1:-1]]
    TypeError: str() takes at most 1 argument (2 given)
    Looks like rpass expects the gpg-agent to be running when it starts.
    edit: rather, it expects the gpg-agent to be running with the key loaded. gpg-agent was already loaded thanks to keychain but without my newly created key known to it.
    Last edited by falconindy (2010-12-26 03:42:28)

Maybe you are looking for