What I read about ftppwd is that return a password. You should be able to run that command in other unix, and create then an script that does the same output.
Can you share some example output of that command running on a Unix machine? ftppwd id dqpwd Alvaro On Wed, Nov 4, 2015 at 4:44 AM, Gayathri Balakumar <[email protected]> wrote: > I will try my level best to explain the situation here, > > Step1: > - I have set up my VM > > My welcome screen: > Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) > * Documentation: https://help.ubuntu.com/ > New release '14.04.3 LTS' available. > Run 'do-release-upgrade' to upgrade to it. > Welcome to your Vagrant-built virtual machine. > Last login: Tue Nov 3 15:27:37 2015 from 10.0.2.2 > vagrant:~$ > > Step 2: > > I am trying to run a KSH within my VM. > KSH in turn calls a JAR. JAR has the below code written, > > String command = "ftppwd” + id + " dqpwd"; > Process p = Runtime.getRuntime().exec(command); > > Step 3: > > Since the FTPPWD unix utility is not installed on my UBUNTU machine, my KSH > exits saying that program does not exist. > > Step 4: > > Attempting to install FTPPWD utility; Some kind of scripted installation > procedure required from what I understood. No direct apt-get process present. > > Please let me know if this info helps. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in violation of > those guidelines may result in your removal from this mailing list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/eaf1eae7-2fab-4902-8c72-784caeb48128%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezRu-c3h4PTG--Ui09pJg24aZ6R3iNaji-MrCU_RccNVA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
